Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 3:36 pm 
Offline
Senior Newbie

Joined: Sun Jun 10, 2012 2:44 pm
Posts: 14
Today, Comcast started rejecting my emails for not having a reverse DNS entry. I set up a reverse DNS entry when my Linode was created months ago. In the rejection email from Comcast, they give my IPv6 IP address as the offending IP address.

> 554 imta05.emeryville.ca.mail.comcast.net comcast 2600:3c03::f03c:91ff:feae:a9fc Comcast requires that all mail servers must have a PTR record
> with a valid Reverse DNS entry. Currently your mail server does not fill that requirement. For more information, refer to:
> http://postmaster.comcast.net/smtp-error-codes.php#554

I have to assume that in the last couple of days they switched to IPv6 and are now complaining about my IPv6 address. Is that a reasonable assumption?

Is there a way to set the ipv6 reverse DNS?


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 3:48 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
hvgriggs wrote:
Today, Comcast started rejecting my emails for not having a reverse DNS entry. I set up a reverse DNS entry when my Linode was created months ago. In the rejection email from Comcast, they give my IPv6 IP address as the offending IP address.

> 554 imta05.emeryville.ca.mail.comcast.net comcast 2600:3c03::f03c:91ff:feae:a9fc Comcast requires that all mail servers must have a PTR record
> with a valid Reverse DNS entry. Currently your mail server does not fill that requirement. For more information, refer to:
> http://postmaster.comcast.net/smtp-error-codes.php#554

I have to assume that in the last couple of days they switched to IPv6 and are now complaining about my IPv6 address. Is that a reasonable assumption?

Is there a way to set the ipv6 reverse DNS?


For your Linode IP addresses the process is the same when adding reverse entries whether it's for v4 or v6. Make sure you have the AAAA record (in the case of ipv6) in place for the name you want to use, then proceed to the Remote Access tab, reverse dns, enter the hostname and select whether you want to use it as the reverse name for the address it resolved to.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 3:59 pm 
Offline
Senior Newbie

Joined: Sun Jun 10, 2012 2:44 pm
Posts: 14
My DNS is hosted on namesecure.com where I have my domains registered. They do not appear to allow IPv6 DNS entries. So I cannot set up an AAAA record. And that means I cannot set up IPv6 reverse DNS. Is that right?

So I probably need to move my DNS to where I can set up IPv6 AAAA entries.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 4:03 pm 
Offline
Senior Member

Joined: Sun Apr 26, 2009 3:37 am
Posts: 72
Website: http://wiggenhorn.org/
Without an AAAA record, how is Comcast finding your IPv6 address?


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 4:08 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
hvgriggs wrote:
My DNS is hosted on namesecure.com where I have my domains registered. They do not appear to allow IPv6 DNS entries. So I cannot set up an AAAA record. And that means I cannot set up IPv6 reverse DNS. Is that right?

So I probably need to move my DNS to where I can set up IPv6 AAAA entries.


If they really don't allow you to add AAAA records you would have to do something like that.


dcraig wrote:
Without an AAAA record, how is Comcast finding your IPv6 address?


I presume he is connecting to the Comcast server over ipv6?


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 4:12 pm 
Offline
Senior Newbie

Joined: Sun Jun 10, 2012 2:44 pm
Posts: 14
I have emailed NameSecure and asked them about IPv6. I'll see what they say.

Alternatively, could I force my Linode back to IPv4 only?


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 4:21 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
hvgriggs wrote:
Alternatively, could I force my Linode back to IPv4 only?


You could, either for the whole system or just your mail server software. However, that sounds like the wrong solution.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Fri Sep 14, 2012 4:26 pm 
Offline
Senior Newbie

Joined: Sun Jun 10, 2012 2:44 pm
Posts: 14
I understand it is the wrong solution, but right now, my prime concern is to get Comcast to accept my emails. I have to be pragmatic about this.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Sat Sep 15, 2012 5:33 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
You didn't say what MTA you're using; the following main.cf settings would apply for Postfix.

When a destination domain has both IPv6 and IPv4 addresses with equal MX preference, smtp_address_preference = ipv4 will cause Postfix to try the v4 address first. Since mx1.comcast.net and mx2.comcast.net have both v4 and v6 addresses, this should solve the problem (for Comcast, anyway).

inet_protocols = ipv4 is a brute-force solution that will tell Postfix to use IPv4 only for all purposes. It means you will be unable to send or receive mail from any IPv6-only domains.

Alternatively, you could set up a firewall rule blocking outgoing traffic to 2001:558:fe14:70::22 and 2001:558:fe2d:70::22. This would prevent IPv6 connections to Comcast's (current) mailservers. I think Postfix would then try connecting via IPv4, but you should test first.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Sun Sep 16, 2012 2:45 pm 
Offline
Senior Newbie

Joined: Sun Jun 10, 2012 2:44 pm
Posts: 14
Using sendmail.

As a temporary measure, I have stopped IPv6 on Slackware on my Linode, and now my emails to Comcast are going through.

I will persevere with my DNS requests with Namesecure. If they cannot help me, I will move my DNS hosting. Eventually I will get DNS set up with AAAA records, and then I will turn IPv6 back on in my Linode.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Sun Jul 21, 2013 2:07 pm 
Offline
Newbie

Joined: Sun Jul 21, 2013 2:05 pm
Posts: 2
"Remote Access tab, reverse dns, enter the hostname and select whether you want to use it as the reverse name for the address it resolved to."

When I click "reverse dns" The only IP I can change is my ipv4 address, I need to change the ipv6 address, thanks.


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Sun Jul 21, 2013 3:43 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
katsklaw wrote:
"Remote Access tab, reverse dns, enter the hostname and select whether you want to use it as the reverse name for the address it resolved to."

When I click "reverse dns" The only IP I can change is my ipv4 address, I need to change the ipv6 address, thanks.

The manager does a forward lookup on the name you give it and then offers to change one or both of the v4 or v6 address depending on what forward information is in DNS. (E.g., it verifies that the reverse entry will match a forward entry if added).

So to support v6, and as mentioned up-thread, you need to have an appropriate AAAA record for the name you give that maps to your v6 address.

(If you've just added such a record to your DNS provider and its not Linode itself, it may not have propagated yet. If through Linode, you may have to wait for the next 15-minute refresh)

-- David


Top
   
 Post subject: Re: Reverse DNS for IPv6
PostPosted: Sun Jul 21, 2013 5:47 pm 
Offline
Newbie

Joined: Sun Jul 21, 2013 2:05 pm
Posts: 2
Ahh, I mist have missed that part. Solved.

thanks db3l. 8)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group