-
Notifications
You must be signed in to change notification settings - Fork 501
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
Docker embedded DNS server #219
Comments
Hello, what do you have in /etc/resolv.conf? dnspython asks directly DNS servers listed there, could you please check first with using dig command if Socket uses configuration from /etc/nsswitch.conf, i.e. host files, dns, myhostname, etc.. |
Hi
The workaround I was able to implement was to add |
That's the normal desired behavior when there is a search list. |
I'm having issue with docker container name resolution when using dnspython. Issue seems to be only there when
search
is set in/etc/resolv.conf
Docker embedded DNS server allows unlinked containers to be resolved just by their name.
I've created gist that can be used to reproduce the problem:
https://gist.github.com/kooba/c464f7e33056cb0ad37edcbe43bb0da0
This can be run with
docker-compose up
Expected results in stdout are:
getting:
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: