[arch-general] Cannot no longer resolve local hostname with the new nsswitch.conf
Damjan Georgievski
gdamjan at gmail.com
Tue Nov 8 17:01:32 UTC 2016
> $ getent -s resolve hosts $(hostname)
this should fail since you don't have the resolved service running.
but, when using `hosts: files mymachines resolve [!UNAVAIL=return] dns
myhostname` standard resolving should then go to the dns source, and
then to the myhostname source.
what does
getent -s dns hosts $(hostname)
getent -s myhostname hosts $(hostname)
return ?
also are you up-to-date with systemd 232?
--
damjan
More information about the arch-general
mailing list