Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: support for docker 26+ #118

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open

Fix: support for docker 26+ #118

wants to merge 1 commit into from

Conversation

xtrime-ru
Copy link

@xtrime-ru xtrime-ru commented May 14, 2024

In docker 26 /etc/resolv.conf in containers with bridge network was updated.

docker v25:

nameserver 127.0.0.11
options edns0 trust-ad ndots:0

in docker 26+:

# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.

nameserver 127.0.0.11
search .
options edns0 trust-ad ndots:0

# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [1.1.1.1 127.0.0.1]

# Overrides: [nameservers]
# Option ndots from: internal

Additional line search . was added.
This causes internal docker domains like "mysql" to resolve like "mysql..." in amp/dns, which is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant