Internal network DNS fails to resolve #47822
Labels
area/networking/dns
area/networking
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
version/25.0
version/26.0
version/26.1
Description
Moby version 25 and higher under Linux fail to correctly perform DNS resolution on internal networks using the bridge driver and DNS container option.
Reproduce
docker-compose.yaml
Corefile
docker compose up
curl: (6) Could not resolve host: webserver.internal.net
or using dind
Failing Test:
Passing Test
Expected behavior
Internal DNS resolution should function identically to version 24 of Moby.
docker version
Client: Cloud integration: v1.0.35+desktop.13 Version: 26.0.0 API version: 1.45 Go version: go1.21.8 Git commit: 2ae903e Built: Wed Mar 20 15:16:45 2024 OS/Arch: linux/amd64 Context: default Server: Docker Desktop Engine: Version: 26.0.0 API version: 1.45 (minimum version 1.24) Go version: go1.21.8 Git commit: 8b79278 Built: Wed Mar 20 15:18:01 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
Independently verified in issue docker/for-win#14049
The text was updated successfully, but these errors were encountered: