resolved: when configuring 127.0.0.1 as per-interface DNS server, contact it via...
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2022 15:52:06 +0000 (16:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2022 15:54:46 +0000 (16:54 +0100)
commit6e32414a66ff8dbcef233981a7066684d903ee9f
treedae286d4facae5589e2a302189fb42528a2bf37f
parent5faaed5b62d5ed88d8df2802c5ab4d3ab2eb755a
resolved: when configuring 127.0.0.1 as per-interface DNS server, contact it via "lo" always

ussually if you specify a DNS server on some interface then we'll use
that interface to talk to it. Let's override this for localhost
addresses, as they only really make sense on "lo".

Fixes: #25397
src/resolve/resolved-dns-server.c