[Dnsmasq-discuss] DNSSEC slow query / TCP/ truncated issue

Dominic Preston lzqhwo at gmail.com
Sun Aug 11 21:01:08 BST 2019


I have a fresh installation of Ubuntu 18.04 on Google Cloud Platform.
I have compiled the latest version of dnsmasq with the following


I stop systemd-resolved, run dnsmasq and issue the following command:

dig @ pir.org

After that there's a long pause, and the result comes back with the
following line at the top of dig:

;; Truncated, retrying in TCP mode.

dnsmasq log says:

dnsmasq: reducing DNS packet size for nameserver to 1280

If I run this, dig comes back immediately with no pause and no TCP mode:

dig @ pir.org

Any ideas why the first dig command has problems and the second dig
command is fine?

Thanks in advance.

More information about the Dnsmasq-discuss mailing list