]> git.ipfire.org Git - thirdparty/bind9.git/commit
Define a default master server list for the root zone
authorMichał Kępień <michal@isc.org>
Tue, 9 Oct 2018 08:54:51 +0000 (10:54 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 24 Oct 2018 18:32:55 +0000 (20:32 +0200)
commit2c69734bcf00feef18eb61fbf48324a4688296c5
tree07023b18153525329d12a628acbde52956fec13a
parent34dc674fed76ec87217fab5bf4d7f575e8b572d0
Define a default master server list for the root zone

To minimize the effort required to set up IANA root zone mirroring,
define a default master server list for the root zone and use it when
that zone is to be mirrored and no master server list was explicitly
specified.  Contents of that list are taken from RFC 7706 and are
subject to change in future releases.

Since the static get_masters_def() function in bin/named/config.c does
exactly what named_zone_configure() in bin/named/zoneconf.c needs to do,
make the former non-static and use it in the latter to prevent code
duplication.
bin/named/config.c
bin/named/include/named/config.h
bin/named/zoneconf.c
bin/tests/system/checkconf/bad-mirror-explicit-notify-yes.conf
bin/tests/system/checkconf/bad-mirror-non-root-zone-without-masters.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-mirror-recursion-no.conf
bin/tests/system/checkconf/good-mirror-inherited-notify-yes.conf
bin/tests/system/checkconf/good-mirror-root-zone-without-masters.conf [new file with mode: 0644]
lib/bind9/check.c
util/copyrights