[CentOS] Mail has quit working
tdukes at palmettoshopper.com
Sun Aug 26 18:37:57 UTC 2018
> -----Original Message-----
> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Gordon
> Sent: Sunday, August 26, 2018 12:35 PM
> To: centos at centos.org
> Subject: Re: [CentOS] Mail has quit working
> On 08/26/2018 06:25 AM, TE Dukes wrote:
> > Made the change above in nsswitch, rebooted, ran dig @localhost localhost
> > Got: dig: couldn't get address for 'localhost': failure
> That's a secondary issue. A properly configured DNS server *should*
> answer correctly for "localhost". Yours doesn't. It's broken. Red Hat
> ships ISC Bind with a working configuration (/etc/named.rfc1912.zones).
> I'm not sure whether you're using something else, or if you've removed
> the RFC1912 zones. Fix that later.
I have all the files shipped with CentOS. I created 2 zone files, domain and reverse from the example in RHEL Documentation https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-BIND#example-bind-zone-examples-basic
I did find one typo in the domain zone but correcting that didn't help
> "host" and "dig" are both DNS tools, and won't tell you if your files
> are being used properly. While you're troubleshooting the libc name
> resolution system, use "getent". "getent hosts localhost" and "getent
> hosts 127.0.0.1" should return something that looks vaguely like the
> data in /etc/hosts. You can also verify that it works in practice using
> "telnet localhost 25" to verify that you can reach services running on
> the local system.
Getent hosts localhost and getent hosts 127.0.0.1 returned no info.
More information about the CentOS