Kubernetes PTR Records

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?

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.

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.

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 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:

Hope this helps.

Regards, Alex