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:
parent
324990739e
commit
7380f45b1b
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue