-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of Stephen John Smoogen Sent: Saturday, August 25, 2018 3:12 PM To: CentOS mailing list Subject: Re: [CentOS] Mail has quit working
On Fri, 24 Aug 2018 at 18:16, TE Dukes tdukes@palmettoshopper.com wrote:
-----Original Message----- From: CentOS [mailto:centos-bounces@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@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
My ip has changed since I ran telnet localhost 25 as I rebooted my router. But it is correctly reporting the IP.
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@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.
Results from host -v localhost:
Trying "localhost.palmettodomains.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12975 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;localhost.palmettodomains.com. IN A
;; ANSWER SECTION: localhost.palmettodomains.com. 60 IN A 162.40.201.5
Received 63 bytes from 166.102.165.13#53 in 35 ms Trying "localhost.palmettodomains.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60995 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION: ;localhost.palmettodomains.com. IN AAAA
;; AUTHORITY SECTION: palmettodomains.com. 628 IN SOA ns2.no-ip.com. hostmaster.no-ip.com. 2015063193 10800 1800 604800 1800
Received 104 bytes from 166.102.165.13#53 in 28 ms Trying "localhost.palmettodomains.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62881 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;localhost.palmettodomains.com. IN MX
;; ANSWER SECTION: localhost.palmettodomains.com. 1720 IN MX 5 mail.palmettodomains.com.
Received 68 bytes from 166.102.165.13#53 in 29 ms
Looks like my domainname has been appended unless you left your off.
Thanks!!