talira

ExternalDNS

Configure external DNS servers dynamically from Kubernetes resources

open sourceApache-2.0self-hostablefree

ExternalDNS is a controller that runs in a Kubernetes cluster and keeps records at a DNS provider in sync with the Services, Ingresses and other resources the cluster exposes. Annotate a Service with the hostname you want, and ExternalDNS creates the record pointing at its load balancer, updates it when the address changes and, with the sync policy, deletes it when the Service goes. It is not a DNS server itself. In-tree providers include AWS Route 53, AWS Cloud Map, Google Cloud DNS, Azure DNS, Cloudflare, Alibaba Cloud DNS, Oracle Cloud, OVHcloud, DNSimple, GoDaddy, NS1, Scaleway, Civo, Exoscale, CoreDNS, PowerDNS, Pi-hole and RFC2136, and other providers plug in through webhooks. Sources include Services, Ingresses, Nodes, Pods, Gateway API routes, Istio, Contour, Traefik, OpenShift routes and a DNSEndpoint custom resource. TXT ownership records keep it from touching records it did not create. It is a Kubernetes SIG Network project.

Problems it solves

  • create DNS records automatically for my Kubernetes services
  • point my domain at a Kubernetes load balancer without editing DNS by hand
  • keep Route 53 records in sync with my cluster ingresses

Features

  • DNS records from Service and Ingress annotations
  • Gateway API, Istio, Contour and Traefik sources
  • AWS Route 53, Google Cloud DNS, Azure DNS and Cloudflare providers
  • webhook providers
  • TXT ownership registry
  • sync or upsert-only policies
  • dry-run mode
  • Helm chart

Alternatives

The same job

These do what ExternalDNS does.

  1. octoDNS DNS as code: manage DNS records across multiple providers from config in a repository

Compare ExternalDNS with the top 3