Connected: An Internet Encyclopedia
4.2.1. UDP usage

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1035
Up: 4. MESSAGES
Up: 4.2. Transport
Prev: 4.2. Transport
Next: 4.2.2. TCP usage

4.2.1. UDP usage

4.2.1. UDP usage

Messages sent using UDP user server port 53 (decimal).

Messages carried by UDP are restricted to 512 bytes (not counting the IP or UDP headers). Longer messages are truncated and the TC bit is set in the header.

UDP is not acceptable for zone transfers, but is the recommended method for standard queries in the Internet. Queries sent using UDP may be lost, and hence a retransmission strategy is required. Queries or their responses may be reordered by the network, or by processing in name servers, so resolvers should not depend on them being returned in order.

The optimal UDP retransmission policy will vary with performance of the Internet and the needs of the client, but the following are recommended:

More suggestions on server selection and retransmission policy can be found in the resolver section of this memo.


Next: 4.2.2. TCP usage

Connected: An Internet Encyclopedia
4.2.1. UDP usage