How to get the systemd resolver to resolve local (i.e. unqalified) names?
Xen
list at xenhideout.nl
Sun Jun 4 10:00:54 UTC 2017
Chris Green schreef op 04-06-2017 11:38:
> It would seem than anything that *doesn't* use the /etc/resolv.conf
> configuration set up by systemd works OK but anything that goes to
> 127.0.0.53 fails with SERVFAIL.
This is the thing that was mentioned in that email:
- It uses nsswitch to basically take over gethostbyname*() and
getaddrinfo(). This means any software using a DNS library like
ldns,
unbound, bind, knot, etc bypasses this system and gets an
inconsistent
DNS view from the rest of the system. It explictely does not support
those kind of applications. Due to its issues below, this is a
problem
for applications insisting on DNSSEC answers (eg postfix). It does
not
supply a "local DNS server" that those dns libraries could use to
get
a consistent view.
Apparently at this point there *is* a local "dns server" but I'm not
sure (the .53 address you've given).
I can only say: at least TRY to see if the search directive makes a
difference, so you know more.
More information about the ubuntu-users
mailing list