Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

weave container is not picking nameserver from host's resolv.conf #1993

Closed
sunilganatra opened this issue Feb 24, 2016 · 5 comments
Closed

Comments

@sunilganatra
Copy link

kernel version :
uname -a
Linux 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

weave version:
[root@hostname]# weave version
weave script 1.3.1
weave router 1.3.1
weave proxy 1.3.1

docker --version
Docker version 1.9.1, build a34a1d5

OS version centos 7

On host following are the entries
[root@hostname]# cat /etc/resolv.conf
nameserver 10.0.80.11
nameserver 10.0.80.12
options single-request

On container it is not picking entries of host's /etc/resolv.conf
[root@test-contaiiner /]
nameserver 172.17.0.1
options single-request

Facing this issue while creating container in weave network.

@rade
Copy link
Member

rade commented Feb 24, 2016

This is the expected behaviour. The 172.17.0.1 is weaveDNS. That in turn will relay requests to the nameservers configured in the host.

Is this behaviour causing you problems somehow?

@sunilganatra
Copy link
Author

I am facing issue in particular environment where it isn't able to resolve nameservers. is there any way to confirm what all nameservers weaveDNS is resolving. any log?

@rade rade changed the title weave container is not picking namesever from host's resolve.conf weave container is not picking nameserver from host's resolv.conf Feb 25, 2016
@rade
Copy link
Member

rade commented Feb 25, 2016

is there any way to confirm what all nameservers weaveDNS is resolving. any log?

See the weaveDNS troubleshooting docs.

@bboreham
Copy link
Contributor

@sunilganatra did you find anything out from the logs?

@bboreham
Copy link
Contributor

Please re-open if there is more information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants