A network engineer is troubleshooting name resolution issues on a client workstation attempting to resolve a large DNSSEC-signed resource record hosted on an internal DNS server (192.168.10.5). The engineer runs `dig` and receives the following output:
text
$ dig @192.168.10.5 api.internal.corp +dnssec
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41052
;; flags: qr aa tc rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; Truncation occurred.
;; COMMUNICATIONS ERROR: cannot reach server over TCP (192.168.10.5:53)
Which of the following represents the most likely root cause of this failure?
- An intermediate firewall rule is dropping TCP port 53 traffic between the client workstation and the DNS server, preventing query retry after UDP truncation.Answer
- BThe DNS server is misconfigured to require TCP transport for initial query processing rather than standard UDP transport.
- CThe authoritative DNS server lacks a valid CNAME record mapping for the requested hostname, causing an empty truncated answer block.
- DThe utility output indicates the DNS server is operating in non-recursive mode, requiring the workstation to query root hint servers directly.
Answer
An intermediate firewall rule dropping TCP port 53 traffic between the client workstation and the DNS server, preventing query fallback after UDP payload truncation.
DNS relies on UDP port 53 for fast, low-overhead name resolution. However, when response data (such as large DNSSEC records) exceeds UDP length limits, the server truncates the response and sets the TC (Truncation) flag in the DNS header. By RFC standard, the client resolver must immediately retry the query over TCP port 53. The error message `cannot reach server over TCP` explicitly indicates that while initial UDP queries reach the server, network security filters (firewall/ACL) are blocking TCP port 53 traffic required for the fallback query.
Step-by-Step Solution
Key Concept
DNS Transport Protocols and TCP Fallback upon Response Truncation (TC Flag)