High-performance authoritative DNS server. Please support the development https://donations.nic.cz/donate/?project=knot-dns
resp = ctl.receive_block()
is needed for the synchronization.
ctl = libknot.control.KnotCtl()
ctl.connect(conf.knot_socket[system])
ctl.set_timeout(60)
try:
ctl.send_block(cmd="zone-retransfer", zone=domain_name, flags="B")
ctl.receive_block()
except libknot.control.KnotCtlError as e:
print(e)
finally:
ctl.send(libknot.control.KnotCtlType.END)
ctl.close()
Hi Daniel! I just noticed a small thing with catalags:
add('2.zones.catz. PTR klaus.testet.') -> klaus.testet. added to catalog
add('3.zones.catz. PTR klaus.testet.') -> klaus.testet. added to catz zone, but ignored by catalog as already existent
delete('2.zones.catz.') -> klaus.testet. removed from catalog (although still present in catz zone)
restart knotd -> klaus.testet. readded to catalog
I wonder if this should be addressed or ignored.