> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Gordon > Messmer > Sent: Saturday, August 25, 2018 12:28 PM > To: centos at centos.org > Subject: Re: [CentOS] Mail has quit working > > 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? > Link to pastebin: https://paste.fedoraproject.org/paste/97keKuhV4lMoLZ8DIrYT8w > Are you running nscd, nslcd, or sssd? If so, you may need to stop them > or flush their cache. > None of the above are running > 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. ; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7 <<>> @localhost localhost +short ; (1 server found) ;; global options: +cmd ;; connection timed out; no servers could be reached > > Do you get any output from "echo $HOSTALIASES"? No output from the above > Thanks!!