DNS as code: manage DNS records across multiple providers from config in a repository
open sourceMITself-hostablefree
octoDNS applies infrastructure-as-code to DNS: you describe your zones and records in YAML config that lives in a repository, review changes like any other code, and octoDNS syncs them to one or more DNS providers, showing a plan before it applies. Providers are pluggable modules maintained separately, covering Amazon Route 53, Cloudflare, Google Cloud DNS, Azure DNS, NS1, DigitalOcean, Hetzner, BIND and dozens more, so you can mirror records across providers or move between them. It supports dynamic (geo and weighted) records, automatic PTR generation, YAML includes and dynamic zone config. Written in Python; created at GitHub. MIT.
Problems it solves
- manage DNS records as code in Git with review instead of clicking in a provider's console
- keep DNS records in sync across Route 53 and Cloudflare for redundancy
- migrate DNS zones from one DNS provider to another
- see a plan of DNS changes before applying them
Features
- zones and records in YAML config kept in a repository
- plan then apply changes
- sync to multiple DNS providers at once
- pluggable provider modules: Route 53, Cloudflare, Google Cloud DNS, Azure DNS, NS1, BIND and many more
- dynamic (geo and weighted) records
- automatic PTR generation
- YAML !include and dynamic zone config
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what octoDNS does.
- ExternalDNS Configure external DNS servers dynamically from Kubernetes resources
