]> git.ipfire.org Git - thirdparty/bind9.git/commit
Create the new database for AXFR from the dns_zone API
authorOndřej Surý <ondrej@isc.org>
Tue, 28 May 2024 14:13:31 +0000 (16:13 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 29 May 2024 06:30:19 +0000 (08:30 +0200)
commit3310cac2b0b83e20a8ce2da67d3e5ede9bee4c5b
tree42abae7a3f973146831964f29b752899ee280124
parent37ae380e97546193e43d98cbd451378eed3e393d
Create the new database for AXFR from the dns_zone API

The `axfr_makedb()` didn't set the loop on the newly created database,
effectively killing delayed cleaning on such database.  Move the
database creation into dns_zone API that knows all the gory details of
creating new database suitable for the zone.
lib/dns/include/dns/zone.h
lib/dns/xfrin.c
lib/dns/zone.c