]> 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 10:57:03 +0000 (12:57 +0200)
commitff7015a0f89366e77d104da1aab561482e9ddc06
tree580ec69bcbbb3de9eb5b69f0dd26a62ed58b9360
parentf3b5550c2c31a54fc4de3d384e80ea7fb7e69d54
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 75c0d85fc48de8a456d47dd03b7355eac55db1f0)
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