Dockerd failed to query external DNS server i/o timeout" question=";example.com

Hi Everyone,

I’m seeing i/o timeout error for docker , below are my details, i have tried with below steps but still seeing issue, can anyone please suggest , also need help on dnsmasq for docker

  1. Updated daemon.json by adding DNS server entries

  2. Started app containers in the host mode but cluster are running with network mode.

  3. docker network prune done and created fresh container network bridge.

Docker version 26.1.4, build 5650f9b

containerd --version –> containerd GitHub - containerd/containerd: An open and reliable container runtime v1.7.3 7880925980b188f4c97b462f709d0db8e8962aff

Docker Compose version v2.21.0

docker logs below:

Sep 3 11:44:13 ln0032 dockerd: time=“2025-09-03T11:44:13.658490178-05:00” level=error msg=“[resolver] failed to query external DNS server” client-addr=“udp:172.16.4.69:60002” dns-server=“udp:10.106.x.x:53” error=“read udp 172.16.4.69:60002->10.106.x.x:53: i/o timeout” question=“;example.com.\tIN\t A” spanID=6c42ed84435c2927 traceID=719ae60d0c96087b59db394995f27517

We usually need the following information to understand the issue:

  1. What platform are you using? Windows, Linux or macOS? Which version of the operating systems? In case of Linux, which distribution?

  2. How did you install Docker? Sharing the platform almost answers it, but only almost. Direct links to the followed guide can be useful.

  3. On debian based Linux, the following commands can give us some idea and recognize incorrectly installed Docker:

    docker info
    docker version
    

    Review the output before sharing and remove confidential data if any appears (public IP for example)

    dpkg -l 'docker*' | grep '^ii'
    snap list docker
    

    When you share the outputs, always format your posts according to the following guide: How to format your forum posts

    This guide is compatible and written for the MarkDown editor, so I recommend switching to that in the message composer (top left) as it is more stable at the moment.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.