Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnssec-signzone was not removing unnecessary rrsigs from zone #54

Open
stirnim opened this issue Apr 2, 2016 · 0 comments
Open

dnssec-signzone was not removing unnecessary rrsigs from zone #54

stirnim opened this issue Apr 2, 2016 · 0 comments

Comments

@stirnim
Copy link

stirnim commented Apr 2, 2016

dnssec-signzone from BIND 9.10.3-P4 or BIND 9.9.8-P4 and earlier have a bug which does not remove unnecessary rrsigs from zone. It is fixed for upcoming releases:

  1. [bug] dnssec-signzone was not removing unnecessary rrsigs
    from the zone's apex. [RT #41483]

Specifically, it was fixed on the 28th Jan 2016:
https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=832ab79d1f8bc4edf638780b306888da30ac3a1e

validns will detect these signatures. e.g.:

validns 8.example.com.signed
8.example.com.signed:47: 8.example.com. RRSIG exists for non-existing type A

Note that both ldns-verify-zone or dnssec-verify ignore these rrsigs:

ldns-verify-zone 8.example.com.signed
Checking: 8.example.com.
Checking: www.8.example.com.
Zone is verified and complete

dnssec-verify -x -o 8.example.com. 8.example.com.signed
Loading zone '8.example.com.' from file '8.example.com.signed'
Verifying the zone using the following algorithms: RSASHA256.
Zone fully signed:
Algorithm: RSASHA256: KSKs: 1 active, 0 stand-by, 0 revoked
ZSKs: 0 active, 0 present, 0 revoked

Instead of permanently ignore unnecessary rrsigs I think a policy check for this explicit case is appropriate.

stirnim added a commit to stirnim/validns that referenced this issue Apr 2, 2016
rrsigs by dnssec-signzone (bug 4305). This fixes
issue tobez#54
stirnim added a commit to stirnim/validns that referenced this issue Apr 7, 2016
Some rrsigs are not removed by dnssec-signzone
when re-signing a zone (bug 4305). This fixes
issue tobez#54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant