A network administrator is troubleshooting DNS name resolution in an enterprise network. A client host issues a standard DNS query to an internal recursive DNS server. However, the DNS response payload exceeds 512 bytes because the zone lookup returns a large list of resource records. How does DNS handle transport layer communication when standard UDP responses exceed this size threshold?
- The DNS server responds over UDP with the Truncation (TC) flag bit set to 1, signaling the client to re-query the server using TCP port 53.Answer
- BThe DNS client automatically fragments the UDP payload into multiple smaller 512-byte UDP segments at Layer 4 to avoid TCP overhead.
- CThe DNS server automatically elevates the packet priority by switching the destination service port to UDP port 7.
- DThe client encapsulates the DNS lookup in TACACS+ frames on port 49 to handle large administrative queries.
Answer
The DNS server responds over UDP with the Truncation (TC) flag bit set to 1, signaling the client to re-query the server using TCP port 53.
Standard DNS operations utilize UDP port 53 for fast, lightweight name resolution queries. When a DNS response message exceeds the traditional 512-byte limit (without EDNS0 extended mechanisms), the DNS server returns a truncated UDP packet with the Truncation (TC) bit set in the DNS header. Receiving this flag prompts the DNS client host to retry the request using a TCP connection on port 53 to successfully receive the complete response.
Step-by-Step Solution
Key Concept
DNS Transport Layer Mechanics (UDP vs TCP Port 53 and Truncation)