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

False error in DNSSEC10 on a zone with a wildcard below apex #1253

Open
matsduf opened this issue Jul 10, 2023 · 0 comments
Open

False error in DNSSEC10 on a zone with a wildcard below apex #1253

matsduf opened this issue Jul 10, 2023 · 0 comments
Labels
T-Bug Type: Bug in software or error in test case description
Milestone

Comments

@matsduf
Copy link
Contributor

matsduf commented Jul 10, 2023

When testing personeelsrecht.nu an error is reported in DNSSEC10, but the error does not match the behavior of the zone. The implementation should not returned DS10_MISSING_NSEC_NSEC3 in this case.

There is another issue on DNSSEC10, but on the specification (zonemaster/zonemaster#1153). They are related in so far as the both hit zones with wildcard below apex.

This issue should wait for the specification to be adjusted.

$ zonemaster-cli --show-testcase --test dnssec/dnssec10 personeelsrecht.nu
Seconds Level    Testcase       Message
======= ======== ============== =======
   4.67 ERROR    DNSSEC10       NSEC or NSEC3 is expected but is missing. Fetched from the nameservers with IP addresses "13.248.156.209;188.212.124.37;192.99.182.47;2607:5300:201:3100::1670;2a05:d018:c40:8e01:7cab:9b94:f853:3736;2a0c:b9c0:f:44c3::1".

$ zonemaster-cli --show-testcase --test dnssec/dnssec10 personeelsrecht.nu --raw
   4.50 ERROR    DNSSEC10       DS10_MISSING_NSEC_NSEC3   ns_ip_list=188.212.124.37;192.99.182.47;2607:5300:201:3100::1670;2a05:d018:c40:8e01:7cab:9b94:f853:3736;2a0c:b9c0:f:44c3::1

personeelsrecht.nu has a wildcard below apex:

; <<>> DiG 9.10.6 <<>> *.personeelsrecht.nu +dnssec +mult
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9223
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 3072
;; QUESTION SECTION:
;*.personeelsrecht.nu.	IN A

;; ANSWER SECTION:
*.personeelsrecht.nu.	784 IN A 185.103.16.152
*.personeelsrecht.nu.	784 IN RRSIG A 13 2 901 (
				20230720000000 20230629000000 540 personeelsrecht.nu.
				f60CsPSOOPUhoaHx50iqHiubYqClt23e8tZx0xVSvdHV
				ymuAaAD6h5o3uikmGH+/Dz4QImruIafeJpZNdGfFDQ== )

;; AUTHORITY SECTION:
j2vf88arbbu8dhktpodbdm2bmrhcvbc8.personeelsrecht.nu. 784 IN NSEC3 1 0 10 C0FFEE (
				3IP1IA6ACI7506U9P09EMPAG3PI70O0C
				A NS SOA MX TXT RRSIG DNSKEY NSEC3PARAM )
j2vf88arbbu8dhktpodbdm2bmrhcvbc8.personeelsrecht.nu. 784 IN RRSIG NSEC3 13 3 901 (
				20230720000000 20230629000000 540 personeelsrecht.nu.
				NPMzWYrTQQNjkAdr6CAyiHLcue/XT/Gs0+iXuukt67Is
				3nLAI3U1FTtMJTgkQn1GI+nkCL75n6NGWtUj4vDH7w== )

;; Query time: 56 msec
;; SERVER: 10.30.7.2#53(10.30.7.2)
;; WHEN: Mon Jul 10 14:49:47 CEST 2023
;; MSG SIZE  rcvd: 376

When testing a non-existing domain, the following is returned, which is the query that zonemaster sends. Note that an NSEC3 record is included in the authority section.

; <<>> DiG 9.10.6 <<>> xx--oplk4f3fgh9lksdfhu7h--xx.personeelsrecht.nu +dnssec +mult
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51278
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 3072
;; QUESTION SECTION:
;xx--oplk4f3fgh9lksdfhu7h--xx.personeelsrecht.nu. IN A

;; ANSWER SECTION:
xx--oplk4f3fgh9lksdfhu7h--xx.personeelsrecht.nu. 901 IN	A 185.103.16.152
xx--oplk4f3fgh9lksdfhu7h--xx.personeelsrecht.nu. 901 IN	RRSIG A 13 2 901 (
				20230720000000 20230629000000 540 personeelsrecht.nu.
				f60CsPSOOPUhoaHx50iqHiubYqClt23e8tZx0xVSvdHV
				ymuAaAD6h5o3uikmGH+/Dz4QImruIafeJpZNdGfFDQ== )

;; AUTHORITY SECTION:
3ip1ia6aci7506u9p09empag3pi70o0c.personeelsrecht.nu. 901 IN NSEC3 1 0 10 C0FFEE (
				J2VF88ARBBU8DHKTPODBDM2BMRHCVBC8
				A RRSIG )
3ip1ia6aci7506u9p09empag3pi70o0c.personeelsrecht.nu. 901 IN RRSIG NSEC3 13 3 901 (
				20230720000000 20230629000000 540 personeelsrecht.nu.
				y9yvBckFWBDDs7Fl/xov4ssqhfEX1WY3lJUTTUGUD0tb
				7qQfG0GwoLfAcDWQVPI7PfK2BhISxvNEOFW1krb1pw== )

;; Query time: 323 msec
;; SERVER: 10.30.7.2#53(10.30.7.2)
;; WHEN: Mon Jul 10 15:24:00 CEST 2023
;; MSG SIZE  rcvd: 402

DNSviz sees no issue with the zone:

image
@matsduf matsduf added the T-Bug Type: Bug in software or error in test case description label Jul 10, 2023
@matsduf matsduf added this to the v2023.2 milestone Jul 10, 2023
@matsduf matsduf modified the milestones: v2023.2, v2024.1 Mar 19, 2024
@matsduf matsduf modified the milestones: v2024.1, v2024.2 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Bug Type: Bug in software or error in test case description
Projects
None yet
Development

No branches or pull requests

1 participant