On 4 Apr 2014, at 11:22, bob wrote:
> Hi Bill, thanks for your reply. See below inline:
>
>
> On 4/4/2014 11:09 AM, Bill Cole wrote:
>> On 4 Apr 2014, at 9:28, Bob wrote:
>>
>>> Hello.
>>>
>>> Im running 5.3.13 on windows, 32 bit. Every once in a while I check
>>> my server against mxtoolbox, an today I found SMTP reverse DNS
>>> mismatch. My WAN IPV4 address is correct under settings/network
>>> showing my correct external ip address. Do I need to change
>>> something else?
>>>
>>> Everything seems to work, just pretty slowly (more on that later) :)
>>>
>>> Thanks for any tips.
>>
>> I don't track all of the details of MXToolbox's tests, but a few
>> things seem likely to be causing trouble for
maxboostracing.com:
>>
>> 1. 2 MX records pointing to different names that resolve to the same
>> IP is odd and pointless.
>
> If I do an nslookup on my domain I do see the address be resolved
> correctly. I also see it time out 3 times first though, But I might
> blame local resolvers for that?
Almost certainly. If you were not using Windows, I'd say that was the
result of 3 non-functional nameservers listed in /etc/resolv.conf ahead
of a working resolver and/or unwise timeout & retry settings. On
Windows, I have no idea what the equivalents would be except that it is
somewhere in your DNS settings.
> Where do you see that issue?
I *was* seeing it in the MX records for
maxboostracing.com which pointed
to
mx1.maxboostracing.com and
mx2.maxboostracing.com, both of which had
A records pointing to the same IP. Those have vanished now (with a SOA
serial that has incremented by 4) and there's just an A record for
maxboostracing.com, which should work but would be problematic if you
wanted to split your web and mail servers to different IP's. Some people
might warn you against reliance on the fallback to the A record in the
absence of an MX, but it should not be a major issue.
>> 2. Using DynDNS isn't necessarily unwise for a domain that handles
>> email, but if your address is actually dynamic, it's going to create
>> problems, especially given (1) and the potential for DNS caches with
>> operationally stale but unexpired A records.
>
> The IP address is static, so I dont have to worry about that I would
> assume.
Right. If your address actually changed often you'd be stuck between
keeping your DNS accurate and spam detection tools that see short TTL's
as shady.
>
>> 3. Putting any machine engaging in any form of SMTP behind a device
>> that performs malicious attacks on basic SMTP functionality (such as
>> Cisco's PIX/ASA assault on SMTP that they ridiculously refer to as
>> "fixup") is always a bad idea.
>
> This is behind a Cisco ASA. Hmmm.. I definitely have the inspect
> statement there. You saying i should remove the ESMTP line?
Yes. I suspected the ASA because I did manual SMTP connections to your
server and saw that it had a delayed & mangled banner and mangled
response to EHLO. The fact that Cisco still offers this horrible
misfeature despite a decade of grotesque failures calls into question
their competence to proxy *ANY* higher-layer protocol. Aside from the
mostly trivial banner issues, the EHLO reply mangling makes secure
transport of mail into your server impossible because there's no
"STARTTLS" announcement there. Everything is sent in unencrypted.
>> 4. If you run a mail server using a public IP whose PTR resolves to a
>> name in a domain that you don't control and is obviously
>> constructed from the IP address you will have chronic delivery
>> problems, some of them silent.
>
> From what I can see, the PTR record points directly at my outside IP
> address, on the domain I do control. Im pretty sure that is correct
> but then again Im not sure of much when it comes to dns stuff :)
A PTR record isn't for a domain, it's for an IP address. That's why it
is often referred to as "Reverse DNS". Having a PTR for your domain is
useless. The PTR that counts is for the IP, which is resolved by
reversing the octets and tacking on 'in-addr.arpa' (which "dig does for
me with a "-x" here):
$ dig -x 68.15.54.108
; <<>> DiG 9.9.4-P2 <<>> -x 68.15.54.108
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22972
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;108.54.15.68.in-addr.arpa. IN PTR
;; ANSWER SECTION:
108.54.15.68.in-addr.arpa. 77523 IN
PTR
wsip-68-15-54-108.ri.ri.cox.net.
;; AUTHORITY SECTION:
54.15.68.in-addr.arpa. 77522 IN NS
ns1.coxmail.com.
54.15.68.in-addr.arpa. 77522 IN NS
ns2.coxmail.com.
;; ADDITIONAL SECTION:
ns1.coxmail.com. 77523 IN A 68.1.16.109
ns2.coxmail.com. 77523 IN A 68.111.106.70
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 04 13:14:38 EDT 2014
;; MSG SIZE rcvd: 178
Having forward (A) and reverse (PTR) DNS that is perfectly symmetrical
is not mandatory and is often a poor fit for how an address is actually
used, but having a PTR name that makes you look like "Just Another
Random Anonymous Cox Customer" makes many mail systems very dubious of
your mail's legitimacy. Any random spammer can set up forward DNS
pointing to any IP, but only entities with formally allocated IP space
(or their customers to whom they delegate zones under .in-addr.arpa) can
make the PTR for an IP address resolve to an expressive name.
Incoherence between the name claimed in SMTP by the user of an IP
address (you) and the name assigned to it by the IP's registered owner
(Cox) is a strong hint that the machine using that IP has been hijacked
by a spambot. That's obviously not a perfect test, but the correlation
is so strong that many people are perfectly willing to handle the
exceptions on a special-case basis.
Simple bottom line: talk to Cox about getting that PTR fixed to point to
a name of your choosing (probably
maxboostracing.com). You can't fix it
without their help.