LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   invalid DNS PTR record.... (https://www.linuxquestions.org/questions/linux-newbie-8/invalid-dns-ptr-record-4175462907/)

HP_Pants 05-21-2013 01:58 PM

invalid DNS PTR record....
 
So I thought I added a PTR record via direct admin, but my emails are getting flagged quite a bit as spam.

Code:

SMTP error from remote mail server after initial connection:
    host mx00.gmx.net [213.165.67.114]: 554-gmx.net (mxgmx011) Nemesis ESMTP Service not available
    554-No SMTP service
    554 invalid DNS PTR resource record

In direct admin, I have

Code:

Name        Type        Value        Select
ftp        A        204.12.208.82       
hpturbo.com.        A        204.12.208.82       
localhost        A        127.0.0.1       
mail        A        204.12.208.82       
ns1.hpturbo.com.        A        204.12.208.82       
ns2.hpturbo.com.        A        204.12.208.82       
pop        A        204.12.208.82       
smtp        A        204.12.208.82       
www        A        204.12.208.82       
hpturbo.com.        NS        ns1.hpturbo.com.       
hpturbo.com.        NS        ns2.hpturbo.com.       
mail        MX        10       
28.802.21.402.in-addre.arpa        PTR        www.hpturbo.com.       
38.802.21.402.in-addre.arpa        PTR        www.hpturbo.com.       
hpturbo.com.        TXT        "v=spf1 a mx ip4:204.12.208.82 ~all"       
localhost        AAAA        ::1

What am I doing wrong? Yes, I searched before I asked

acid_kewpie 05-22-2013 02:30 AM

I've never heard of "direct admin" so don't know how it would map these records to the DNS service, but the zone file excerpt you've posted very clearly doesn't contain a PTR record for that IP address.

and the PTR's you have are illegal. whilst the IP is backwards, the numbers themselves are not. 28.802.21.402.in-addre.arpa would be 82.208.12.204.in-addre.arpa

HP_Pants 05-28-2013 12:50 PM

Quote:

Originally Posted by acid_kewpie (Post 4956322)
I've never heard of "direct admin" so don't know how it would map these records to the DNS service, but the zone file excerpt you've posted very clearly doesn't contain a PTR record for that IP address.

and the PTR's you have are illegal. whilst the IP is backwards, the numbers themselves are not. 28.802.21.402.in-addre.arpa would be 82.208.12.204.in-addre.arpa

Thanks for your reply. Thought I fixed things

Code:

ftp        A        204.12.208.82       
hpturbo.com.        A        204.12.208.82       
localhost        A        127.0.0.1       
mail        A        204.12.208.82       
ns1.hpturbo.com.        A        204.12.208.82       
ns2.hpturbo.com.        A        204.12.208.82       
pop        A        204.12.208.82       
smtp        A        204.12.208.82       
www        A        204.12.208.82       
hpturbo.com.        NS        ns1.hpturbo.com.       
hpturbo.com.        NS        ns2.hpturbo.com.       
mail        MX        10       
82.208.12.204.in-addre.arpa        PTR        hpturbo.com.       
hpturbo.com.        TXT        "v=spf1 a mx ip4:204.12.208.82 ~all"       
localhost        AAAA        ::1

Obviously, something is wrong

Code:

This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its
recipients after more than 24 hours on the queue on server.hpturbo.com.

The message identifier is:    1Uh05C-0002iq-MQ
The date of the message is:    Mon, 27 May 2013 10:15:45 -0600
The subject of the message is: Re: Enquiry from High Plains Turbo LLC Online!

The address to which the message has not yet been delivered is:

 XXXXX@att.net
    Delay reason: SMTP error from remote mail server after MAIL FROM:<help@hpturbo.com> SIZE=4010:
    host aln-mailrelay.att.net [12.102.252.75]: 450 service permits 2 unverifyable sending IPs - server.hpturbo.com is not 204.12.208.82

No action is required on your part. Delivery attempts will continue for
some time, and this warning may be repeated at intervals if the message
remains undelivered. Eventually the mail delivery software will give up,
and when that happens, the message will be returned to you.

I've decided to actually take some classes so I know what I am doing. In the meantime, any help is appreciated.

I hate not knowing what I am doing

jpollard 05-28-2013 08:04 PM

server.hpturbo.com isn't shown, so it seems that it hasn't got a consistent name.

Mail is minimally validated by using reverse lookups to verify that the forward lookup matches.

So a lookup of server.hpturbo.com should come up with some IP number (204.12.208.82), so the reverse lookup of 204.12.208.82 should come up with server.hpturbo.com... but doesn't. I would almost bet the reverse lookup is ns1.hpturbo.com.

Your MX record looks incomplete - there should be a host reference to use as well as the priority (10).

HP_Pants 06-11-2013 01:42 PM

Quote:

Originally Posted by jpollard (Post 4960937)
server.hpturbo.com isn't shown, so it seems that it hasn't got a consistent name.

Mail is minimally validated by using reverse lookups to verify that the forward lookup matches.

So a lookup of server.hpturbo.com should come up with some IP number (204.12.208.82), so the reverse lookup of 204.12.208.82 should come up with server.hpturbo.com... but doesn't. I would almost bet the reverse lookup is ns1.hpturbo.com.

I wish

Code:

; <<>> DiG 9.6.0-APPLE-P2 <<>> server.hpturbo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44724
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;server.hpturbo.com.                IN        A

;; AUTHORITY SECTION:
hpturbo.com.                10800        IN        SOA        ns2.hpturbo.com. hostmaster.hpturbo.com. 2013052201 14400 3600 1209600 86400

;; Query time: 46 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Tue Jun 11 12:40:38 2013
;; MSG SIZE  rcvd: 87


jpollard 06-11-2013 04:05 PM

Now look up the IP number instead of the name.

You did notice it did not report an IP number.


All times are GMT -5. The time now is 03:09 PM.