Question

droplet ipv6 PTR

Posted April 17, 2019 2.4k views
DigitalOceanNetworkingDNSIPv6Debian 9

Hi. I’m in my droplet enabled IPV6. It’s work perfect, but i need to set PTR record for IPV6 address, how i can do that? With IPv4 address PTR record work correctly and for IPv6 i don’t get resolve

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
4 answers

Hello, all

The support for PTR records for IPv6 addresses was actually added a while back. By default, the each Droplet with IPv6 enabled will be configured with a single IPv6 address. This is the address that will be used for any PTR records that will be generated for domains pointing at your server. Like with IPv4, if the hostname given to the Droplet is a FQDN, the PTR record will be generated automatically.

If you’re looking for more control over PTR records more generally, there is an open request for allowing users to manually set PTR records. Please vote for it on UserVoice if that’s something you’d like to see:

https://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/4108036-allow-ptr-records-to-be-set-separately-from-the-ho

Hope that this helps!
Regards,
Alex

  • The suggestion URL no longer works. Is there another link to visit to support it?

    • Hello there,

      Thanks for reaching out! You can visit our ideas.digitalocean.com board and search for PTR or other existing ideas:

      https://ideas.digitalocean.com/ideas/search?utf8=%E2%9C%93&query=PTR+

      Hope that this helps!
      Regards,
      Alex

    • I have spent the better part of a week trying to deal with DO support on this matter. There is a bug in their system, and if you add IPv6 support AFTER you created your droplet, then you must follow these steps to be able to initiate an update in the PTR record for that new IPv6 address:

      All you need to do is temporarily change the name (Domain) of your droplet to something other than what it was set to when you enabled IPv6.

      Then wait 1 minute, and change it back to the Domain Name you originally set it to before adding IPv6.

      For example:

      My domain was set to ser1.example.com.
      I enabled IPv6.
      I would change the domain to temp.example.com.
      Wait 1 minute.
      Then Change the domain back to ser1.example.com.

      I hope that this finally resolves your issue.

      Sincerely,
      Adam

Greetings!

As we do not support /64 subnets per customer at this time, we currently block all SMTP traffic over IPv6. As a result of that block, we do not implement PTR records on IPv6 at this time (as SMTP is the only significant use case requiring a PTR record).

Jarland

i see, thanks

To set the PTR for the IPv6 address:

All you need to do is temporarily change the name (Domain) of your droplet to something other than what it was set to when you enabled IPv6.

Then wait 1 minute, and change it back to the Domain Name you originally set it to before adding IPv6.

For example:

My domain was set to ser1.example.com.
I enabled IPv6.
I would change the domain to temp.example.com.
Wait 1 minute.
Then Change the domain back to ser1.example.com.

I hope that this finally resolves your issue.

Sincerely,
Adam