[lug] TCP port 53?

John Hernandez John.Hernandez at noaa.gov
Tue Jul 20 09:44:42 MDT 2004


>>>I know DNS uses UDP, but does it use TCP as well?
>>
>>Yes.  It will switch to TCP for any requests that are too large to fit 
>>in a UDP packet.
>>
> 
> as i understand it it uses udp for queries and tcp for zone xfers.  it
> has nothing to do with size.

Jeffrey is correct.  The query is first tried using UDP.  Then, if the 
response is longer than the allocated buffer, the resolver will retry 
using TCP.  Some implementations may not behave this way, however.

As Dan stated, zone transfers are also accomplished using TCP/53.

-- 

  |  John Hernandez - NOAA Boulder NOC - 303-497-6392
  |  Mailstop R/OM62. 325 Broadway, Boulder, CO 80305
  |  PGP Public Key ID: 586A7E23



More information about the LUG mailing list