Skip to content
Discussion options

You must be logged in to vote

If no suitable nameserver is found then podman will default to the google ones. There is extra logic to detect ipv4 only and not add ipv6 servers in such case but there is no such check for ipv6 only so that is definitely something that can be improved.

I am not sure why it would add nameservers when there are already some added. That looks like a bug, it should only add them if no servers are found. What podman version is this?

If you want full control over the dns use the --dns option. Or set the dns servers in containers.conf.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ravi5802
Comment options

@sriram241294
Comment options

Answer selected by sriram241294
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants