• Miek Gieben's avatar
    plugin/sign: fix signing of authoritative data (#3479) · a53321d9
    Miek Gieben authored
    Don't sign data we are not authoritative for. This adds an AuthWalk
    which skips names we should not authoritative for. Adds a few tests to
    check this is the case. Generates zones have been compared to
    dnssec-signzone.
    
    A number of changes have been made:
    
    * don't add DS records to the apex
    * NSEC TTL is the SOA's minttl value (copying bind9)
    * Various cleanups
    * signer struct was cleaned up: doesn't need ttl, nor expiration or
      inception.
    * plugin/sign: remove apex stuff from names()
      This is never used because we will always have other types in the
      apex, because we *ADD* them ourselves, before we sign (DNSKEY, CDS and
      CDNSKEY).
    Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
    Co-Authored-By: default avatarChris O'Haver <cohaver@infoblox.com>
    a53321d9
README.md 6.68 KB