dns icon indicating copy to clipboard operation
dns copied to clipboard

Fix: support for docker 26+

Open xtrime-ru opened this issue 1 year ago • 0 comments

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 avatar May 14 '24 16:05 xtrime-ru