Question

  Asked: Mar 12 2008   8:51 PM GMT
  Asked by: NetworkingATE


What happens when the DNS names exceed the maximum UDP packet size?


Network diagnostics and measurements, DNS, UDP, Internet protocol addresses, Packet Design

A DNS uses UDP packet to resolve IP addresses. What happens when the DNS names to be looked up exceeds 576 bytes (the maximum UDP packet size)? Can it be sent in two packets?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



So I looked up the specifications and it seems it will work just will take a little longer. IPV6 was built with this in mind though. So it will not delay DNS resolution in the future - now it might take a few extra seconds!


The Domain name system defaults to using UDP for queries and replies
with a DNS payload limit of 512 bytes. Larger replies cause an
initial truncation indication leading to a subsequent handling via
TCP with substantially higher overhead. A upward compatible
extension to DNS requests is specified which frequently permits
larger UDP responses reducing the need for use of TCP.


Read the full spec here circa 1997.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Networking.

Looking for relevant Networking Whitepapers? Visit the SearchNetworking.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register