Docker 17.12.0.-ce-rc2 dns suffix not propagated anymore
Expected behavior
DNS Suffix is propagated from host to container when using internal network
Actual behavior
DNS Suffix is not propagated anymore
Information
Seems this got broken in the latest edge upgrade, as it was working for me before. Also, switching back to stable ( 17.09.1-ce-win42 (14687) ) fixed the issue for me. Tried other things without success:
- switch off experimental features
- change network to public in hyper-v
- removed and readded docker networks
- reboot (dozen of times actually)
- reinstall docker edge
- rebuild container (also dozen of times)
Steps to reproduce the behavior
Get a private network with a DNS Suffix and try nslookup/ping/... to a host with only the machine name part of the domain instead of a the full domain (FQDN still works, so it's definitely only DNS Suffix), e.g. "ping example.internal.network" works, "ping example" does not work.
On docker edge, /etc/resolv.conf is missing the "search ..." entry, docker stable has it.
Thanks for the report @JohannesBeranek . We did a fix for the next edge release.
@ebriney thanks, unfortunately I've got the same issue with the stable version since today (docker update was somewhere this week). Will try with nightly in the meantime as I guess your fix should be in there if it's to come in the next edge version.
Edge is fixed, I will investigate on stable but I don't think the code has moved. Can you push a diag?
Hello, @ebriney Same issue here on 17.12.0-ce-win47 (15139), I dont know in which version @JohannesBeranek ran into the problem. Can you guys tell me version that dns suffixes do propagate succesfully? Thanks.
Happens on 18.02.0-ce-rc2-win51 (15631) as well.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked