]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-transaction.c
resolved: in DNSSEC permissive mode, check if DO bit wasn't copied from request to...
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2020 16:33:08 +0000 (17:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Feb 2021 18:25:13 +0000 (19:25 +0100)
commitd96275d8eb627fa0bcaa1023d6d6610426311ace
tree9eb9ac52e14f5be79a7795a686c17281fe786c58
parent0761da386a6cb0ced3721f2dee123fd983c71178
resolved: in DNSSEC permissive mode, check if DO bit wasn't copied from request to response

If the server doesn't copy the DO bit from request to response, this is
a very early and easy indication that it doesn#t support DNSSEC
properly. Hence, let's immediately downgrade to non-DNSSEC mode if we
see this – if permissive mode is on and this is allowed.
src/resolve/resolved-dns-server.c
src/resolve/resolved-dns-server.h
src/resolve/resolved-dns-transaction.c