]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
when FORMERR comes, differentiate based on OPT
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 1 Feb 2021 09:09:16 +0000 (10:09 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 2 Feb 2021 18:22:08 +0000 (19:22 +0100)
commit2cdd2d234183ad1050e3e00559fc700a0435e8be
tree493ed6a43d456db0ac4590a57c080d42339249c6
parenta2de00222490a616657c30a5b2766623a9f01aa2
when FORMERR comes, differentiate based on OPT

In particular, non-support of EDNS is implied iff FORMERR without OPT
comes.  If OPT is there, one possibility is that there was something
wrong in the OPT that *we* sent, but it seems much more likely that
this particular server is just bad and we want to try another one.
https://tools.ietf.org/html/rfc6891#section-7
In particular, we would be in trouble if we dropped OPT in a zone
that is covered by DNSSEC.
lib/layer/iterate.c
lib/selection.c
lib/selection.h
tests/integration/deckard