How to get the systemd resolver to resolve local (i.e. unqalified) names?
Chris Green
cl at isbd.net
Sun Jun 4 06:36:33 UTC 2017
On Sat, Jun 03, 2017 at 10:40:19PM +0200, Xen wrote:
> Chris Green schreef op 03-06-2017 22:32:
>
> > /etc/resolv.conf in 17.04 is:-
> >
> > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> > resolvconf(8)
> > # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
> > OVERWRITTEN
> > # 127.0.0.53 is the systemd-resolved stub resolver.
> > # run "systemd-resolve --status" to see details about the actual
> > nameservers.
> >
> > nameserver 127.0.0.53
>
> Does this mean that if you were to manually edit this file, you would have
> dns again?
>
I do have working DNS, it's just that unqualified names don't get
looked up, everything else works fine.
If I edited the above file it would simply get overwritten (as it
says) and nothing would change. I'm not quite sure how fast it would
get overwritten, just at reboot time or more often. I'm not aiming to
try as it seems pretty pointless.
--
Chris Green
More information about the ubuntu-users
mailing list