On 08/25/2018 03:35 AM, TE Dukes wrote:
Can't say that's what I expected. What about "getent hosts 127.0.0.1"?
127.0.0.1 localhost
OK. /etc/hosts isn't being used. You indicated earlier that you had
more hostnames in that file. They should show up there.
Let's go back to pastebin. What are the contents of /etc/nsswitch.conf
and /etc/hosts, now?
Are you running nscd, nslcd, or sssd? If so, you may need to stop them
or flush their cache.
What do you get if you "dig @localhost localhost +short". If that
doesn't return a "localhost" address, then the name server that you're
running has a broken configuration.
Do you get any output from "echo $HOSTALIASES"?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos