Solved

DNS header length question

Posted on 2006-06-08
3
496 Views
Last Modified: 2008-01-09
My CISCO PIX firewall's default setting includes this:
fixup protocol dns maximum-length 512, which I've increased to 530 to accomodate a URL that I couldn't reach due to this error:
Dropped UDP DNS reply from outside:1.2.3.4/53 to inside:5.6.7.8/79; packet length 520 bytes exceeds configured limit of 512 bytes.
I still get this kind of error, and occasionally I lose DNS resolution altogether, even though comms are still up (I get ICMP replies from external IPs). I could remove the maximum-length entry or increase it until the error goes away, but I'd prefer to know what the standard is.  My ISP uses Microsoft, and I'm hosting DNS servers on Linux systems.  Are there different standards for DNS header length for MS and Unix/Linux servers, and what is the risk of increasing the DNS maximum length above 512 on the PIX?


0
Comment
Question by:klukac
3 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 300 total points
ID: 16867191
MS and Unix/Linux don't matter.   What matters is the length of the FDQN and either how many IP addresses may be defined for that host, or the length of the host if this is a CNAME instead of a A.

I beleive we have ours coded at 1024 and I have never looked to see what the RFC may say.
0
 
LVL 43

Assisted Solution

by:ravenpl
ravenpl earned 200 total points
ID: 16867992
RFC says that in case of UDP dns packet is to grow over 512 bytes, that TCP should be used.
Unfortunatelly not all resovers/servers care about it.
pump it to 1024 as giltjr suggested.
0
 

Author Comment

by:klukac
ID: 16924370
Sorry for my delay, was out this past week...corrected to 1024 bytes - and now I have a general idea why :)
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba mount a Windows share command syntax??? 2 64
Open BDS Pf 3 50
linux 2 101
Linux Networking : What is of bond interface & when it will be useful 18 99
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question