Skip to content
MtrXTools

;; Truncated, retrying in TCP mode.

The answer was too big for UDP, so dig retried over TCP

Seen in dig

This is informational: the server set the truncated (TC) flag because the response did not fit in UDP, and dig repeated the query over TCP.

Common causes

  • Large responses such as many TXT records, big DNSSEC answers or many A records exceed the UDP size limit.
  • If dig then times out, TCP port 53 is blocked between you and the server, which will also break real clients.

How to fix it

  1. Nothing to fix if an answer follows.
  2. Make sure TCP port 53 is open to and from the DNS servers; DNS requires TCP as well as UDP.
  3. Trim oversized record sets, for example remove stale TXT verification records.
Look up the record

Got a different message? Paste it into the error explainer.

Related errors

All 22 DNS errors