Closed miztiik closed 8 years ago
DNS name resolution from weave is failing from docker host in new version of docker
v1.10.1
and weave1.4.4
.
Does it work for you with older versions of Docker (or weave)?
Probably related to these two issues docker/docker#20026 & #1266
Yes. Though note that docker's DNS is not in use in your example - it only gets enabled when using docker's network commands to attach containers to custom networks. So really this just looks like #1266...
The resolution to #1266 was that we issue warnings on weave launch
when detecting iptable rules that break weaveDNS. Did you get that warning on weave launch
?
No, there was no warning message from weave launch
After a very long time attempting something with weave, so I am not sure if it worked before.
Probably that is the expected behaviour, But earlier i didn't have to disable firewalld
WARNING: bridge-nf-call-iptables is disabled
That is suspicious.
Anyway, it turns out I completely misread your problem report...
Ping works from docker host with container IP and not with host name
That is expected. Making this work requires changing the host's name resolution, which is a far too intrusive step for weave to perform.
In that case, I guess we can close this issue.
DNS name resolution from weave is failing from docker host in new version of docker
v1.10.1
and weave1.4.4
.Probably related to these two issues https://github.com/docker/docker/issues/20026 & https://github.com/weaveworks/weave/issues/1266
Docker Info
Docker Version
Docker Host
Weave Status
Firewalld is disabled and selinux is set to enforcing
How to reproduce
Ping works from docker host with container IP and not with host name
Ping works from inside container with hostname