]> git.ipfire.org Git - thirdparty/bind9.git/commit
Treat records below a DNAME as out-of-zone data
authorMichał Kępień <michal@isc.org>
Wed, 13 Jun 2018 10:19:54 +0000 (12:19 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 13 Jun 2018 11:01:54 +0000 (13:01 +0200)
commit9a4145168ce80abd218d4ea46a380555d16d6de9
tree552f302b01c7608834db1c086fd744224f99c1ee
parentb56c3d3102da383da3e319298a43cc4073972943
Treat records below a DNAME as out-of-zone data

DNAME records indicate bottom of zone and thus no records below a DNAME
should be DNSSEC-signed or included in NSEC(3) chains.  Add a helper
function, has_dname(), for detecting DNAME records at a given node.
Prevent signing DNAME-obscured records.  Check that DNAME-obscured
records are not signed.

(cherry picked from commit 6d8a514ecbd72d1f8b2b12fbbbca5c5f87085abd)
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssectool.c
bin/dnssec/dnssectool.h
bin/tests/system/verify/tests.sh
bin/tests/system/verify/zones/genzones.sh