Improve dnsmasq interface handling

listen-address is enough; adding interface too causes weird issues where
dnsmasq is listening on an IPv6 global wildcard too which conflicts with
the PowerDNS instance.
This commit is contained in:
Joshua Boniface 2019-07-31 10:02:32 -04:00
parent 324990739e
commit 7380f45b1b
1 changed files with 0 additions and 2 deletions

View File

@ -609,8 +609,6 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
'--dhcp-script={}/pvcd/dnsmasq-zookeeper-leases.py'.format(os.getcwd()), '--dhcp-script={}/pvcd/dnsmasq-zookeeper-leases.py'.format(os.getcwd()),
'--dhcp-hostsdir={}'.format(self.dnsmasq_hostsdir), '--dhcp-hostsdir={}'.format(self.dnsmasq_hostsdir),
'--bind-interfaces', '--bind-interfaces',
'--interface={}'.format(self.bridge_nic),
'--except-interface=lo',
] ]
dhcp_configuration_v4 = [ dhcp_configuration_v4 = [
'--listen-address={}'.format(self.ip4_gateway), '--listen-address={}'.format(self.ip4_gateway),