]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/validate: scrubbed extra rrs in NS were checked
authorMarek Vavrusa <marek@vavrusa.com>
Mon, 8 Feb 2016 01:36:48 +0000 (01:36 +0000)
committerMarek Vavrusa <marek@vavrusa.com>
Mon, 8 Feb 2016 01:36:48 +0000 (01:36 +0000)
commit78cb3f079c3d779bcf447a1668e87635a1584420
tree4d888c1dacdc12e3ce7f0f281012b84dc2887879
parentaecaf1f292a4a9e35e82f9991486d7c34228d5d8
lib/validate: scrubbed extra rrs in NS were checked

the validator module should ignore any data that
will be scrubbed, that includes non-authoritative
data outside current bailiwick. previously,
validator attempted to ignore these records only
for answer section and had a special case for NS
records.

cache: non-authoritative NS records are always
unchecked and must be treated as insecure

affected: www.iana.org trying to provide
delegation information for CNAME target, which is
moot with CNAME target explicit-fetch policy unless
the the resolver already knows DNSKEY with which
is could verify the records
lib/layer/rrcache.c
lib/layer/validate.c
tests/deckard