Description
ExternalDNS is a controller for Kubernetes that keeps DNS records in sync with your cluster. It watches Services of type LoadBalancer and Ingresses, and it writes matching records to DNS providers such as AWS Route 53 and Google Cloud DNS. It is not a DNS server itself. Instead, it configures existing DNS providers so that resources become reachable by name. You choose which zones it manages with a domain filter, and you can set a unique TXT owner ID so that it only changes records it created. A dry-run mode shows the changes it would make without calling the provider API. Each resource can be given a DNS name with an annotation, and the record TTL can be customized the same way. The project maintains a list of built-in providers and webhook providers, and it can also be run locally to test a configuration. It is part of Kubernetes SIGs, the special interest groups that maintain Kubernetes-related projects.…
Highlights
- Syncs Services and Ingresses to DNS records
- Works with providers such as Route 53 and Google Cloud DNS
- Domain filters and TXT owner IDs limit changes
- Dry-run mode previews DNS changes
- Records and TTLs set with Kubernetes annotations
Ratings & Reviews
No ratings yet
Be the first to rate External DNS.
People also visit
External DNS FAQ
What does ExternalDNS do?
It reads Services and Ingresses from the Kubernetes API and creates or updates matching DNS records with your DNS provider.
Is it a DNS server?
No. It does not answer DNS queries. It configures other DNS providers such as AWS Route 53 or Google Cloud DNS.
Which DNS providers are supported?
The project lists in-tree providers in a table, where each row links to a tutorial, and webhook-based providers for others.
How do I keep it from changing records it did not create?
Set --txt-owner-id to a value that stays the same for the life of your cluster, and use --domain-filter to limit the zones it manages.
Can I test it before it changes anything?
Yes. Run it with --dry-run to see the changes it would submit to your DNS provider.
How do I set a DNS name?
Annotate the Service or Ingress with the name you want. The TTL can be set with the external-dns.kubernetes.io/ttl annotation.
Can it run outside a cluster?
Yes. It can be run locally to test a configuration, though it normally runs as a controller in the cluster.
What are the best External DNS alternatives?
Popular alternatives to External DNS include Octodns, Dnscontrol and Ddns Updater. See all External DNS alternatives

