Set aggregator zones back to SLAVE
This commit is contained in:
parent
7542296e8c
commit
5740df3a04
|
@ -103,7 +103,7 @@ class DNSAggregatorInstance(object):
|
||||||
|
|
||||||
if write_domain:
|
if write_domain:
|
||||||
sql_curs.execute(
|
sql_curs.execute(
|
||||||
'insert into domains (name, master, type, account) values (?, ?, "MASTER", "internal")',
|
'insert into domains (name, master, type, account) values (?, ?, "SLAVE", "internal")',
|
||||||
(network_domain, network_gateway)
|
(network_domain, network_gateway)
|
||||||
)
|
)
|
||||||
sql_conn.commit()
|
sql_conn.commit()
|
||||||
|
|
Loading…
Reference in New Issue