Skip to content

Conversation

xtrime-ru
Copy link
Contributor

@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.

@xtrime-ru xtrime-ru force-pushed the 2.x branch 2 times, most recently from 2a70849 to 795f48d Compare May 14, 2024 17:00
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.

2 participants