Question

setup PTR for multiple hostname

  • Posted April 13, 2022
  • DNS

Dear Support

i have two dns hostname on 1 vm droplet, the primary one have setting PRT base on hostname droplet and second one is not setup yet, do i setting PTR for secondary hostname ?

Thank You

Subscribe
Share

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

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.

Hello,

There should be no need to have 2 PTR records. Recently I had a discussion about the same thing here.

Basically, as per this comment here, you can set the Droplet’s hostname (which would update the PTR record along with it) to e.g. mail.yourdomain.com where yourdomain.com is one of the domains on that droplet, and then add an A record for mail.yourdomain.com that points to your droplet.

This way it will be a valid PTR <=> FQDN setup and it will work fine for all of the domains on that Droplet.

As a side note, I could also suggest checking this discussion here on why adding multiple PTR records is not recommended:

https://serverfault.com/questions/618700/why-multiple-ptr-records-in-dns-is-not-recommended

Best,

Bobby

Hello there,

There is no particular need to do that. Are you looking into sending emails using both domain names from your droplet?

Hope that this helps!