Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

number of NS RR's allowed in a zone file?

Status
Not open for further replies.

Soopa

MIS
Aug 27, 2004
14
US
The only thing I can find is here:
which states the limit is thirteen due to UDP limitations.
But that isn't a "legit" company.
I looked in FRFC1035 and some others and can't find this. I also have a Bind book and looked at all the NS records listed in the index. Nothing there.
Thanks
Paul
 
The only thing I can say regarding a limit is that based upon practical experience I have seen problems associated with oversize DNS (UDP) packets. For example, Qmail has a problem with larger DNS entries as it chomps the packet at 512 bytes and may miss critical information, such as the MX record.
 
In my experience, there isn't a 'hard' limit as such (ie X RRs); it is based entirely on the SOA packet size. If you bust the 512 bit UDP limit your BIND DNS server with either start to truncate (drop out the A glue records) or possibly switch to TCP (depending on version and configuration).

To keep the packet size as small as possible, have your NS records in the same domain (eg ns1.mydomain.com, ns2.mydomain.com etc and not ns1.mydomain.com and ns2.someotherdomain.com) as a flag is used to identify the domain where the same is used multiple times. Also, the shorter your domain name and NS names, the smaller the packet size.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top