]> git.ipfire.org Git - people/ms/dnsmasq.git/commit - src/forward.c
Return INSECURE, rather than BOGUS when DS proved not to exist.
authorSimon Kelley <simon@thekelleys.org.uk>
Fri, 3 Apr 2015 20:25:05 +0000 (21:25 +0100)
committerSimon Kelley <simon@thekelleys.org.uk>
Fri, 3 Apr 2015 20:25:05 +0000 (21:25 +0100)
commitfe3992f9fa69fa975ea31919c53933b5f6a63527
treed01bfd57c6e3d83334b620d800d5a2e95593c65b
parent7aa970e2c7043201663d86a4b5d8cd5c592cef39
Return INSECURE, rather than BOGUS when DS proved not to exist.

Return INSECURE when validating DNS replies which have RRSIGs, but
when a needed DS record in the trust chain is proved not to exist.
It's allowed for a zone to set up DNSKEY and RRSIG records first, then
add a DS later, completing the chain of trust.

Also, since we don't have the infrastructure to track that these
non-validated replies have RRSIGS, don't cache them, so we don't
provide answers with missing RRSIGS from the cache.
src/dnsmasq.h
src/dnssec.c
src/forward.c