Skip to content

docs: note Google DNS fallback when host has no public resolvers - #25793

Open
locker95 wants to merge 2 commits into
docker:mainfrom
locker95:docs/dns-fallback-google
Open

docs: note Google DNS fallback when host has no public resolvers#25793
locker95 wants to merge 2 commits into
docker:mainfrom
locker95:docs/dns-fallback-google

Conversation

@locker95

Copy link
Copy Markdown
Contributor

If the host only has localhost nameservers in resolv.conf, the engine falls back to Google Public DNS (8.8.8.8 / 8.8.4.4) and logs that in the daemon. That's easy to miss on air-gapped machines where lookups then hang on unreachable public resolvers.

Documented the behavior and pointed at --dns / daemon dns as the override.

Fixes #22945

Document that dockerd falls back to 8.8.8.8/8.8.4.4 when resolv.conf
has only localhost nameservers, and that air-gapped hosts should set
--dns or daemon dns instead.

Fixes docker#22945

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from dvdksn as a code owner August 11, 2026 16:41
@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit e984954
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7b6a702ab22b000714d876
😎 Deploy Preview https://deploy-preview-25793--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/networking Relates to anything around networking labels Aug 11, 2026
Signed-off-by: Dean Chen <862469039@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon area/networking Relates to anything around networking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing documentation of Google DNS fallback 8.8.8.8 and 8.8.4.4

1 participant