for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker 17.12.0.-ce-rc2 dns suffix not propagated anymore

Open JohannesBeranek opened this issue 8 years ago • 7 comments

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.

JohannesBeranek avatar Dec 15 '17 11:12 JohannesBeranek

Thanks for the report @JohannesBeranek . We did a fix for the next edge release.

ebriney avatar Dec 19 '17 16:12 ebriney

@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.

JohannesBeranek avatar Dec 22 '17 09:12 JohannesBeranek

Edge is fixed, I will investigate on stable but I don't think the code has moved. Can you push a diag?

ebriney avatar Dec 22 '17 09:12 ebriney

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.

mishkaexe avatar Feb 05 '18 15:02 mishkaexe

Happens on 18.02.0-ce-rc2-win51 (15631) as well.

mishkaexe avatar Feb 05 '18 17:02 mishkaexe

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

docker-robott avatar May 09 '18 07:05 docker-robott

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

docker-robott avatar Jun 25 '20 03:06 docker-robott