Question

droplet ipv6 PTR

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted Answer

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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