[systemd-devel] resolved: wrong address w/ cache off, wo/ querying DNS server

Lennart Poettering lennart at poettering.net
Thu Apr 22 07:52:39 UTC 2021


On Do, 22.04.21 01:42, Dénes Türei (turei.denes at gmail.com) wrote:

> Dear Systemd Developers,
>
> I got stuck with investigating an issue and I would be very grateful
> for some advice.
> Briefly, systemd-resolved keeps returning a wrong answer to a query,
> despite the cache is disabled. The debug log doesn't show the origin
> of the answer. Systemd-resolved doesn't query the configured DNS
> server when answering this query. If I query the DNS server directly,
> it returns the correct answer. I described the issue in this thread:
> https://bbs.archlinux.org/viewtopic.php?pid=1968888#p1968888 -- please
> ignore the starting comment, the last 3 are the most relevant. See
> some system info below the mail.

Maybe your local hostname or an /etc/hosts entry exist that match the
domain name you are looking up?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list