Hi,
I've noticed that since some time ago the queries for non-existent .com, .net
and .org domains no longer validate (no AD flag, libunbound marks them as
insecure).
However the validation works fine for existing domains. I haven't seen something
similar in other TLDs.
I've tested it with latest unbound 1.4.19 and older 1.4.16, as well as RHEL's
bind 32:9.8.2-0.10.rc1.el6_3.6, always with identical result.
Example (default resolver is unbound on localhost) :
Following queries validate fine :
dig +dnssec dnsviz.net #existing domain
dig +dnssec lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.cz #non-existent domain
dig +dnssec lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.se #non-existent domain
Following NXDOMAIN queries do not validate (no AD flag) :
dig +dnssec lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.net
dig +dnssec lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.net @217.31.204.130
Strangely enough, I've found one ODVR that validates the .com, .net, .org proofs
of non-existence (fpdns says it's Raiden DNSD):
dig +dnssec lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.net @193.29.206.206
I've looked at the NSEC3 records and RRSIG timestamps, keytags, algorithms, but
can't figure out what makes the difference between proofs for existent and
non-existent .net domains.
For instance RRSIG for DS record of dnsviz.net has the same keytag as RRSIG for
NSEC3 of the sample non-existent lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.net,
algorithm in RRSIG records is the same, signer is also identical. See the
attached list of parsed RRSIG, NSEC3 and NSEC records corresponding to the
domains in question.
Currently I'm out of ideas what could cause this, I've also tried refreshing
root trust anchor using the 'unbound-anchor' utility, but the result did not change.
If I'm reading the dig's output correctly, the NSEC3 opt-out bit is set in the
responses for lkjfdshsldkjhgsldkfhglkcxvbxclks-sdf.net - though that'd make the
one response with AD bit set even stranger.
Thanks,
Ondrej
(attachments)
com_net_org_proofs-of-nonexistence.nsec3_records (17.8 KB)
com_net_org_proofs-of-nonexistence.nsec_records (3.4 KB)
com_net_org_proofs-of-nonexistence.rrsig_records (61.1 KB)
com_net_org_proofs-of-nonexistence.dig (1.98 KB)