On Fri, 24 Aug 2018 at 18:16, TE Dukes <tdukes at palmettoshopper.com>
wrote:>
>
>
> > -----Original Message-----
> > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of
Stephen
> > John Smoogen
> > Sent: Friday, August 24, 2018 3:58 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Mail has quit working
> >
> > On Fri, 24 Aug 2018 at 14:15, TE Dukes <tdukes at
palmettoshopper.com>
> > wrote:
> > >
> >
> > > #hosts: db files nisplus nis dns
> > > hosts: dns files myhostname
> > >
> >
> > ^^^ that's probably broke also.
> > hosts: files dns
> >
> > That should be it. Putting dns first works if you can guarentee that
> > DNS works fine all the time but if your DNS caches that localhost
> > doesn't exist then /etc/hosts isn't used.
> >
> > > aliases: files nisplus
> >
> > since you are doing email
> >
> > aliases: files
> >
> >
> >
> > --
> > Stephen J Smoogen.
> Hello,
>
> Made those changes and rebooted. No change. Still times out.
>
OK in that case something is really taking your system for a ride. I
would check to see if that 71.28.79.87 is your 'public' ip address
with
curl -4 icanhazip.com
if it is then something from named or some other utility is
translating localhost for you. host -v localhost might give you more
information on what is giving lookups crazy answers
[smooge at linode01 ~]$ host -v localhost
Trying "localhost.members.linode.com"
Trying "localhost.smoogespace.com"
Trying "localhost"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10855
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;localhost. IN A
;; ANSWER SECTION:
localhost. 10800 IN A 127.0.0.1
Received 55 bytes from 66.228.53.5#53 in 0 ms
Trying "localhost"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2461
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;localhost. IN MX
;; AUTHORITY SECTION:
localhost. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800
--
Stephen J Smoogen.