yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76877
[Bug 1691047] Re: dhcp agent - multiple interfaces, last iface coming up overwrite resolv.conf
*** This bug is a duplicate of bug 1311040 ***
https://bugs.launchpad.net/bugs/1311040
** This bug has been marked a duplicate of bug 1311040
Subnet option to disable dns server
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1691047
Title:
dhcp agent - multiple interfaces, last iface coming up overwrite
resolv.conf
Status in neutron:
New
Bug description:
The resolv.conf gets populated with whatever the last interface that
came up over DHCP provided.
Even if the 2nd network/subnet in neutron doesn’t define DNS, it still
overwrites resolv.conf.
By default the dnsmasq agent will use itself, and it's pairs as DNS servers if no dns_servers are provided for the neutron subnet. Ref:
https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L877:L887
https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L970
This is not always desired. Is there a way to disable this behaviour,
and simply not offer any dns servers if there are none specified in
the neutron subnet?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1691047/+subscriptions
References