Report this

What is the reason for this report?

Kubernetes PTR Records

Posted on November 9, 2019

Hello, does DigitalOcean support PTR records for services hosted within DigitalOcean Kubernetes (behind a k8s Ingress)? If so, how are they configured?

Follow-up question - if I need multiple PTR records for multiple domain names of services hosted within the same k8s cluster, can I create multiple Ingresses and trust that DO will allocate an IP address and PTR record for each Ingress?



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!

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.

The Reverse DNS is configured automatically from our end based on the droplet’s hostname.

The PTR should be automatically adjusted in few hours due to DNS cache. If this is still not working after several hours, you can contact our support team as well.

For managing DNS records from DigitalOcean Kubernetes Using ExternalDNS you can check this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-automatically-manage-dns-records-from-digitalocean-kubernetes-using-externaldns

Hope this helps.

Regards, Alex

For any future lurkers here. Digital Ocean does NOT support reverse PTR records on Kubernetes node pool nodes.

This means running any kind of functional email relay / server within Digital Ocean managed Kubernetes clusters is not possible.

  • Google supports this via private k8s clusters behind a Cloud NAT
  • AWS supports this via private k8s clusters behind a NAT gateway

DO support recommended paying for an external mail relay service because “running a mail server is hard”.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.