How to get the systemd resolver to resolve local (i.e. unqalified) names?
Tom H
tomh0665 at gmail.com
Sun Jun 4 10:45:32 UTC 2017
On Sun, Jun 4, 2017 at 5:38 AM, Chris Green <cl at isbd.net> wrote:
> On Sun, Jun 04, 2017 at 11:24:52AM +0200, Xen wrote:
>>
>> getent hosts
>
> root at t470:/etc/systemd# getent hosts esprimo
> 192.168.1.3 esprimo.zbmc.eu
>
> I.e. using getent works as I want! However:-
>
> root at t470:/etc/systemd# host esprimo
> Host esprimo not found: 2(SERVFAIL)
IIRC, you have
hosts: files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
1) if you use
hosts: files dns
does "getent ..." still work?
1) if you use
hosts: files resolve dns
does "host ..." work?
More information about the ubuntu-users
mailing list