Failed to query external DNS server

Hi Everyone,

i’m seeing below error in docker logs , please suggest fix as i have implemented dnsmasq also but still seeing below DNS failure

Aug 4 05:55:28 lnx534 dockerd: time=“2026-08-04T05:55:28.805606600-05:00” level=error msg=“[resolver] failed to query external DNS server” client-addr=“tcp:172.18.8.78:32769” dns-server=“tcp:172.18.0.1:53” error=“read tcp 172.18.8.78:32769->172.18.0.1:53: i/o timeout” question=“;test.example.com.\tIN\t A” spanID=1476661c17cac8067 traceID=32e72d699338b3acd06a24aaef66de56

Is this for a lab or a playground, or is this for a personal install of docker server? A bit of context would be helpful here.

we are seeing this issue in docker server

What docker server is that? In a lab? Then a link to the lab is useful. In KodeKloud Engineer? The full name of the lab. A playground? Your own server? A bit more information please.

enterprise prod server , docker version - 26.1.4 , containerd v1.7.3