Adding nameserver entries from NetworkManager connections #23309
Replies: 1 comment 1 reply
-
127.0.0.1 cannot be used by your containers obviously so podman tries to look into common configs, it doesn't query NetworkManager but it does check if some files exists This allows for dns to work without default to google servers in this case. If you want to specify your own you can use |
Beta Was this translation helpful? Give feedback.
-
When I run
podman run
it seems to be pulling DNS resolver information from the connections that are active in NetworkManager. I.e.:My hosts
/etc/resolv.conf
:But those other 4 (non-
169.254.0.1
)nameserver
entries are from the VPN connection and the local network connections on my machine. The only place those resolvers' information would be known about would be in NetworkManager. Ispodman
querying NM to add these? How can I disable this if it is? While they shouldn't necessarily be used since the169.254.0.1
nameserver should answer all queries, it would be a cleaner (and less confusing) looking/etc/resolv.conf
without that noise in it.Beta Was this translation helpful? Give feedback.
All reactions