I apparently cannot successfully configure reverse DNS (BIND 9.10.2) for our mail server. This became a problem after converting from our legacy AT&T DSL service to AT&T's U-verse. Now, attempts to send eMail to (for example) a sbcglobal.net recipient fails with the following messages: (FYI, no problem mailing to a non-DNS aware server.)
My question is: How do I "Fix reverse DNS " for my domain(s)?
Just yesterday, 29 SEP 2015, AT&T's tech help admitted that they had some errors in their configuration regarding delegation of our IP 29/block to our servers, and implemented changes on their side. Additionally, they suggested that I should add a PTR RR configured as follows:
(To wit, see the PTR RR in the /var/namedb/zonefiles/db.233.202.162.rev file.)
Unfortunately, this just does not resolve and
Why does dig return an answer with a CNAME?
Where did the CNAME come from?
For that matter, shouldn't a Canonical Name point to a FQDN (domain name)?
EDIT - 20151103: Actually it does. See https://forums.freebsd.org/threads/reverse-dns-not-resolving.53410/#post-302936 (this forum)
Also, the queried server is pointing to one of AT&T's name servers (68.94.156.9).
I just don't understand why rDNS will not resolve.
The zone files:
The original message was received at Fri, 25 Sep 2015 10:41:33 ‑0500 (CDT)
from [192.168.1.75]
‑‑‑‑‑ The following addresses had permanent fatal errors ‑‑‑‑‑
<john.doe@sbcglobal.net>
(reason: 550 5.7.1 Connections not accepted from servers without a valid sender domain.alph144 Fix reverse DNS for 162.202.233.81)
‑‑‑‑‑ Transcript of session follows ‑‑‑‑‑
... while talking to al‑ip4‑mx‑vip1.prodigy.net.:
>>> MAIL From:<Ron.Wingfield@Archaxis.net>
<<< 550 5.7.1 Connections not accepted from servers without a valid sender domain.alph144
Fix reverse DNS for 162.202.233.81
554 5.0.0 Service unavailable
My question is: How do I "Fix reverse DNS " for my domain(s)?
Just yesterday, 29 SEP 2015, AT&T's tech help admitted that they had some errors in their configuration regarding delegation of our IP 29/block to our servers, and implemented changes on their side. Additionally, they suggested that I should add a PTR RR configured as follows:
Code:
81.233.202.162.IN-ADDS.ARPA IN PTR alpha.archaxis.net.
Unfortunately, this just does not resolve and
dig
returns the following information: # dig -t ptr 81.233.202.162.in-addr.arpa
Code:
; <<>> DiG 9.10.2 <<>> -t ptr 81.233.202.162.in-addr.arpa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26799
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.233.202.162.in-addr.arpa. IN PTR
;; ANSWER SECTION:
81.233.202.162.in-addr.arpa. 7200 IN CNAME 81.233.202.162.in-addr.arpa.
;; Query time: 34 msec
;; SERVER: 68.94.156.9#53(68.94.156.9)
;; WHEN: Wed Sep 30 11:28:42 CDT 2015
;; MSG SIZE rcvd: 70
Why does dig return an answer with a CNAME?
Where did the CNAME come from?
For that matter, shouldn't a Canonical Name point to a FQDN (domain name)?
EDIT - 20151103: Actually it does. See https://forums.freebsd.org/threads/reverse-dns-not-resolving.53410/#post-302936 (this forum)
Also, the queried server is pointing to one of AT&T's name servers (68.94.156.9).
I just don't understand why rDNS will not resolve.
The zone files:
Code:
; /var/namedb/zonefiles/db.233.202.162.rev
$ORIGIN 81.233.202.162.in-addr.arpa.
$TTL 3h
@ IN SOA archaxis.net. rtwingfield.archaxis.net. (
2015093007 ; Serial
3h ; Refresh
1h ; Retry
3w ; Expire
1h ) ; Negative cashing TTL
IN NS ns1.archaxis.net.
IN NS ns2.archaxis.net.
IN PTR alpha.archaxis.net.
Code:
; /var/named/zonefiles/db.archaxis.net
$ORIGIN archaxis.net.
$TTL 3h
@ IN SOA archaxis.net. rtwingfield.archaxis.net. (
2015093006 ; Serial number
3h ; Refresh
1h ; Retry
3w ; Expire
1h ) ; Negative caching TTL
; Name Server & Mail Server defination list:
IN NS ns1.archaxis.net.
IN NS ns2.archaxis.net.
IN MX 10 archaxis.net.
IN MX 20 alpha.archaxis.net.
IN MX 30 bravo.archaxis.net.
IN TXT "v=spf1 a include:_spf.google.com ~all"
; Localhost defination:
localhost IN A 127.0.0.1
; Hosts in this zone:
@ IN A 162.202.233.81 ; without '@', no A record generated! Why?
ns1 IN A 162.202.233.81
ns2 IN A 162.202.233.81 ; If bravo running DNS, point to 82.
alpha IN A 162.202.233.81
bravo IN A 162.202.233.82
www IN A 162.202.233.81
loghost IN A 162.202.233.81
Last edited: