Kubernetes PTR Records

November 9, 2019 113 views
DigitalOcean Managed Kubernetes

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?

1 Answer

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

by Savic
ExternalDNS automatically manages external DNS records from within a Kubernetes cluster. Once deployed, ExternalDNS works in the background and requires almost no additional configuration. Whenever a Service or Ingress is created or changed, ExternalDNS will update the records right away. In this tutorial, you will install ExternalDNS to your DigitalOcean Kubernetes cluster via Helm and configure to use DigitalOcean as your DNS provider.
Have another answer? Share your knowledge.