]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: do DNS RR type based routing
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Mar 2024 08:48:35 +0000 (09:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Mar 2024 14:29:25 +0000 (15:29 +0100)
commit8841d1cef89116ba34738e58e8f035188fb68ecd
tree6038643c92a45e19723ea1d9572c0257a0b3c0e6
parentdf81adba8858eaad9786ad359341b6df3a16783b
resolved: do DNS RR type based routing

So far we only looked at the domain name when routing requests to
specific scopes. With this we'll also take the DNS RR type into account.
This takes benefit of the fact that lookups for RRs such as SOA or NS or
the various DNSSEC RR types never really make sense to be routed to
LLMNR or mDNS, since they don't have concepts there.

This hence refuses to route requests for those RR types to the
LLMNR/mDNS scopes, which hence means they'll likely be routed to classic
DNS instead.

This should improve behaviour of tools that assumes it speaks to classic
DNS only via 127.0.0.53, since it will now usually do that.
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-scope.h