How do I set the PTR for a Floating IP?

October 20, 2015 12.4k views
DNS

How do I set the PTR record for a Floating IP?

10 comments
  • Adding my voice to this - PTR records on floating IP addresses are important

  • +1, No PTR record for a Floating IP, this makes the Floating IP useless.

  • This is a serious issue. Without reverse IP its not possible to send email without using a third party relay. Even if the droplet is not used a mailserver, being able to send emails is often critical even if its just to get notifications from cron tasks.

    See the post here which gives an example of why PTR records are required:
    https://www.digitalocean.com/community/questions/i-can-not-send-emails-with-postfix

    As others have pointed out, without PTR records floating IP's in many cases are essentially useless.

  • +1 it would be nice to have this feature implemented

  • +1 I now have this issue too

  • +1 please userdefined PTR records or at least the option to set them to our floating IP

  • Hey, I know you guys are already very busy working your asses off to provide us this awesome service and I'm very thankful for that, but if it helps to somewhat prioritize your tasks a little bit more, then I would like to add my concerns to this issue as well :).

  • +1 having PTR for floating IP

    Using domain as droplet name the PTR is simply created and sending e-mails with postfix null client is easy. But with the - very cool - floating IP this PTR-creation is broken.

    However, since I have to send e-mails, my workaround is to use a 3rd party relay (in my case gandi) with user/password authentication at the relay. Found the steps in https://yousharedsite.wordpress.com/2017/03/19/how-to-configure-postfix-relay-in-centos-7/ (there for gmail). Just in case, the next reader have to sent emails too and is looking for a work-around.

  • Just rediculous this is not supported - just had to stop using my floating IP because of this after confirming Gmail does not accept email from my floating IP, but does accept email from the droplet IP with PTR record configured. Floating IP is now useless.

50 Answers

Come on, this can't be hard. Reverse lookup of a floating IP is important.

Where is Digital Ocean????
An ETA or a work around would be the least to do for something that is asked/needed so much.

+111 - We stopped receiving email. Why - cause we were blacklisted as our floating IP / DNS record did not match sending servers IP. Floating IP useless!

Really? SINCE FUCKING 2015 ASKING THIS!

+100

I really don't like obscenities in public conversations, but vagkaefer has a point.

+100

Just keeping this thread going in the hopes it it get picked up

+1

Hey friends!

Just wanted to weigh in on this a bit. Currently adding and removing a floating IP from your account is difficult for us to track. This means that allowing SMTP would benefit spammers greatly, further hurting the function for legitimate customers. That isn't your problem of course, but it is meant to show the depth of work that must be done around this before we could consider unblocking SMTP, which is the function that drives the need for a PTR record. Dealing with the use of our network by spammers continues to be a daily fight.

Please know that we do read your feedback and we do use it to inform our discussions around changes to the platform. While we make no promises, your feedback does serve a function and it is to advocate for the change that you request.

Always keep the feedback coming, we are continually thankful for it <3

Jarland

Unfortunately PTR records are not currently supported for Floating IPs.

  • Do you know when PTR record for floating ips are supported?

  • This question has apparently become stale. Is there any roadmap or expected general release date for floating IPs PTRs?

  • I would like to second that question.

  • Really want to see this added... very important when we're talking about using a 1:1 mapping between a droplet and a domain! Please let us know when this is going to be available.

  • +1 please add this feature.

  • +1, this is very necessary.

  • +1, this is very important

  • +1 I have a feeling it will be more likely to be identified as a spammer with my mail server droplet which is behind a floating IP....

    • I'm worried about this also. What if I put real ip for my mail server? Would this help?

      • Only if said IP has a good reputation. That's why I'm so interested, if you have a floating IP with a good rep you can keep using it when switching/upgrading servers.

  • +1
    please add support for PRT records on floating IPs!

  • Any updates on this? I signed up for digitalocean specifically to set up a small mail server.

    I'm looking for alternatives, but I'd love to give you guys a chance.

    • You can set setup PTRs on the regular IP assigned only to the machine by changing the machine's hostname to what the PTR record should be. The only difference is this IP is associated with that VM forever whereas a floating IP can be re-assigned.

  • How about now? 18 months later is there a plan to support PTR records for Floating IPs?

  • Is adding PTR records for floating IP's on a roadmap to be done? Where do we add feature requests? Floating IP's are useless if they break security measures such as reverse lookups.

  • Damn, just ran into this issue when migrating from Azure to DO. This isn't good. Any ETA on this? Seems to be radio silence.

I too would like to see this, as others have said having a reverse lookup of the IP is important, especially when sending emails.

+1

I'm running a couple of mail servers and I REALLY need this feature!

PTR Needed for floating IPs attached to a MX machine.

This is available from other cloud providers.

A bit of a problem for us that there isn't any way to do this with DO...

+1

It seems Gmail is no longer accepting emails from a server without a valid PTR, which you cannot get with a floating ip at DigitalOcean, so you either have a PTR or have the failback options offered by the floating ip, but not both. What a shame.

+1

digital ocean is not usable for my system without floating IPs, and floating IPs are not usable without PTR

Looks like this issue is open for a year and a half now, can anyone at Digital Ocean address it?

+1 When will this be available? This is an issue.

When will this be addressed, if at all? It's been almost two years since the only official response here. Can we please at least get someone from DO to respond here with whether or not this is even in the pipeline for implementation sometime?

+1 Need PTR for Floating IPs too. all the major MX servers are rejecting our emails from all our domains on more often, due to PTR not matching with our floating ip.

+1 Trying to use this for flexibility but PTR is a must for public domains.

I REALLY need this feature!!

+1

+1

This is a major overlook and a dissapointment, I require stable PTR records for mail services.

Hi Jarland,
Thank you for the reply and for finally giving a reasonable explanation on the rationale behind the decision to not allow PTR records.

Judging by the activity on this thread I'm sure you agree this is quite a serious issue for Digital Ocean's customers so I hope the DO team can implement the IP tracking required and enable PTR records as soon as possible so we can finally use this potentially great feature.

Please keep us up to date with the progress and hopefully the DO team wont leave it another 3 years before responding as this can be quite disconcerting for those of us that do like to provide feedback.

+1

I really need this feature. Half of my emails are being rejected because of it...

Have another answer? Share your knowledge.