[systemd-devel] resolved: wrong address w/ cache off, wo/ querying DNS server
Dénes Türei
turei.denes at gmail.com
Sat Apr 24 20:11:03 UTC 2021
El jue, 22 abr 2021 a las 9:52, Lennart Poettering
(<lennart at poettering.net>) escribió:
>
> 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?
Thanks Lennart, you are right. It surprised me very much, as this was
one of my first thoughts in the beginning, but I haven't even checked
because I thought it's impossible, why a webpage should be in the
hosts file...
Best,
Denes
>
> Lennart
>
> --
> Lennart Poettering, Berlin
More information about the systemd-devel
mailing list