CS FundamentalsHardGATE CS · Product company CS fundamentals

A DNS answer is too large for a 512-byte UDP response and EDNS(0) is not in use. What happens?

  1. A. The server fragments the answer into several UDP datagrams with sequence numbers
  2. B. The server sends a truncated response with the TC bit set, and the client retries the query over TCP
  3. C. The server silently drops the extra records
  4. D. The client sends the query again with a larger UDP port number

Correct answer: B. The server sends a truncated response with the TC bit set, and the client retries the query over TCP

Classic DNS limits UDP messages to 512 bytes; the TC (truncated) flag tells the client to repeat the query over TCP port 53. EDNS(0) lets clients advertise larger UDP buffers, which DNSSEC responses often need.

More Computer Networks questions

Exams that ask this topic