Tweaks to the dameon operation
This commit is contained in:
parent
c13a4e84af
commit
1b49f70b3c
|
@ -157,7 +157,6 @@ class DNSAggregatorInstance(object):
|
||||||
'--loglevel=3',
|
'--loglevel=3',
|
||||||
'--master=no',
|
'--master=no',
|
||||||
'--slave=yes',
|
'--slave=yes',
|
||||||
'--slave-cycle-interval=5',
|
|
||||||
'--version-string=powerdns',
|
'--version-string=powerdns',
|
||||||
'--socket-dir={}'.format(self.config['pdns_dynamic_directory']),
|
'--socket-dir={}'.format(self.config['pdns_dynamic_directory']),
|
||||||
'--launch=gsqlite3',
|
'--launch=gsqlite3',
|
||||||
|
@ -180,4 +179,6 @@ class DNSAggregatorInstance(object):
|
||||||
'Stopping PowerDNS zone aggregator',
|
'Stopping PowerDNS zone aggregator',
|
||||||
state='o'
|
state='o'
|
||||||
)
|
)
|
||||||
|
self.dns_server_daemon.signal('int')
|
||||||
|
time.sleep(0.2)
|
||||||
self.dns_server_daemon.signal('term')
|
self.dns_server_daemon.signal('term')
|
||||||
|
|
|
@ -333,6 +333,7 @@ add rule inet filter input meta iifname {bridgenic} counter drop
|
||||||
'--auth-zone={}'.format(self.domain),
|
'--auth-zone={}'.format(self.domain),
|
||||||
'--auth-peer=127.0.0.1,{}'.format(self.ip_gateway),
|
'--auth-peer=127.0.0.1,{}'.format(self.ip_gateway),
|
||||||
'--auth-sec-servers=127.0.0.1,[::1],{}'.format(self.ip_gateway),
|
'--auth-sec-servers=127.0.0.1,[::1],{}'.format(self.ip_gateway),
|
||||||
|
'--auth-soa=1,pvc@localhost,10,10',
|
||||||
'--listen-address={}'.format(self.ip_gateway),
|
'--listen-address={}'.format(self.ip_gateway),
|
||||||
'--bind-interfaces',
|
'--bind-interfaces',
|
||||||
'--leasefile-ro',
|
'--leasefile-ro',
|
||||||
|
@ -418,4 +419,6 @@ add rule inet filter input meta iifname {bridgenic} counter drop
|
||||||
prefix='VNI {}'.format(self.vni),
|
prefix='VNI {}'.format(self.vni),
|
||||||
state='o'
|
state='o'
|
||||||
)
|
)
|
||||||
|
self.dhcp_server_daemon.signal('int')
|
||||||
|
time.sleep(0.2)
|
||||||
self.dhcp_server_daemon.signal('term')
|
self.dhcp_server_daemon.signal('term')
|
||||||
|
|
Loading…
Reference in New Issue