# DNSControl/dnscontrol

Infrastructure as code for DNS!

Repository: https://github.com/DNSControl/dnscontrol
Canonical: https://ross.abutalabs.com/products/dnscontrol
Homepage: https://dnscontrol.org/
Language: Go
License: MIT
License Family: permissive
Topics: go, dns, infrastructure-as-code, dnscontrol
Last push: 2026-08-26T18:55:34+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3655, "days_push": 7, "days_rel": 7, "gap_med": 10, "n_releases_24m": 50}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3917, forks 527 (observed 2026-08-28T04:08:28.955836+00:00)

## What it is
DNSControl is an infrastructure-as-code tool for managing DNS zones and registrars via a JavaScript-compatible DSL. It pushes DNS records to 65+ providers (Route 53, Cloudflare, Azure, BIND, etc.) with preview/push commands, multi-provider sync, and CI/CD-friendly workflows.

## Use cases
- manage dns records as code
- sync dns zones across multiple providers
- migrate dns from one provider to another
- apply gitops to dns configuration
- avoid dns vendor lock-in
- run dual dns providers for redundancy
- optimize spf records and flatten includes

## When to choose
- you manage many domains across multiple DNS providers or registrars
- you want version-controlled, reviewable DNS changes via Git and CI/CD
- you need to switch or run multiple DNS providers without vendor lock-in
- you want a declarative DSL with macros, variables, and TypeScript type checking

## When to avoid
- you need a GUI or one-off manual DNS edits
- your DNS provider is not among the supported provider plugins
- you only manage a single small zone and a web console suffices

## Facets
- artifact type: cli-tool
- maturity: active
- function: infrastructure-as-code, cli, configuration-management, ci-cd, plugin-system
- domain: networking, infrastructure-as-code, self-hosted
- platform: windows, go, cli, cross-platform
- tags: dns, dns-providers, registrar, gitops, zone-management, spf-optimizer, javascript-dsl, devops, automation, linux, macos, docker

## Member repositories
- DNSControl/dnscontrol (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:28.955836+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:02.044368+00:00, confidence not recorded.
  - readme: https://github.com/DNSControl/dnscontrol (fetched 2026-08-28T04:08:28.955836+00:00, sha b454f81a7f46)
  - homepage: https://dnscontrol.org/ (fetched 2026-08-29T09:19:02.221281+00:00, sha 5c7167ed57f9)
  - site_page: https://docs.dnscontrol.org/getting-started/getting-started (fetched 2026-08-29T09:19:02.231288+00:00, sha 6a4e237836cd)
  - site_page: https://docs.dnscontrol.org/getting-started/migrating (fetched 2026-08-29T09:19:02.235354+00:00, sha 382642bfdf0e)
  - site_page: https://docs.dnscontrol.org/getting-started/examples (fetched 2026-08-29T09:19:02.237306+00:00, sha d44327153076)
  - site_page: https://docs.dnscontrol.org/getting-started/typescript (fetched 2026-08-29T09:19:02.239127+00:00, sha 7f7660efa06c)
  - site_page: https://docs.dnscontrol.org/advanced-features/notifications (fetched 2026-08-29T09:19:02.240809+00:00, sha 3cafea93306b)
  - site_page: https://docs.dnscontrol.org/advanced-features/code-tricks (fetched 2026-08-29T09:19:02.242481+00:00, sha d40735ee48be)
  - site_page: https://docs.dnscontrol.org/advanced-features/cli-variables (fetched 2026-08-29T09:19:02.244157+00:00, sha 60f6a5b90b02)
  - site_page: http://dnscontrol.org/ (fetched 2026-08-29T09:19:02.233483+00:00, sha 5c7167ed57f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
