]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
dhcp: Default to using local DNS resolution
authorKyle Mestery <mestery@mestery.com>
Wed, 17 Jun 2015 14:46:47 +0000 (14:46 +0000)
committerKyle Mestery <mestery@mestery.com>
Wed, 30 Dec 2015 18:06:16 +0000 (12:06 -0600)
commit0de1d8d4ca8f7bb51c3e39259d0e0f48039ba5d0
treec8476ac659e1682e6ea50f1624cfd407fbe0ac24
parenta6547e9cf0b7ce1dfc8b616c7c6521e31ba592c4
dhcp: Default to using local DNS resolution

It's pointless to not include default DNS resolution for Neutron.
This adds a new config option (dnsmasq_local_resolv) which defaults
to 'True' and will allow for DNS name resolution to work out of
the box. The caveat is that if the 'dnsmasq_dns_servers' is set it
will override the 'dnsmasq_local_resolv' setting, thus allowing
operators to explicitly set their own DNS servers.

DocImpact: Default to using local DNS resolution with the DHCP agent.

Change-Id: I17a884f467d307432a06f67a9dd93ed2fa6081a3
Closes-Bug: #1466117
Signed-off-by: Kyle Mestery <mestery@mestery.com>
neutron/agent/dhcp/config.py
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py
releasenotes/notes/default-local-dns-a1c3fa1451f228fa.yaml [new file with mode: 0644]