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?
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.
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.
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:
https://www.digitalocean.com/community/tutorials/how-to-automatically-manage-dns-records-from-digitalocean-kubernetes-using-externaldns
Hope this helps.
Regards, Alex