bind9/tests/libtest
Evan Hunt 60b129da25 Add zone "initial-file" option
When loading a primary zone for the first time, if the zonefile
does not exist but an "initial-file" option has been set, then a
new file will be copied into place from the path specified by
"initial-file".

This can be used to simplify the process of adding new zones. For
instance, a template zonefile could be used by running:

    $ rndc addzone example.com \
        '{ type primary; file "example.db"; initial-file "template.db"; };'
2025-06-03 12:03:07 -07:00
..
dns.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
isc.c Give every memory context a name 2025-05-29 05:46:46 +02:00
Makefile.am Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
ns.c Add zone "initial-file" option 2025-06-03 12:03:07 -07:00
qp.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00