# dnscontrol を Homebrew, apk, MacPorts, Nix, winget でインストール

dnscontrol のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:dnscontrol
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dnscontrol
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dnscontrol
```

  証拠: MacPorts ports tree: sysutils/dnscontrol/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dnscontrol
```

  証拠: Alpine Linux edge package indexes: dnscontrol from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#dnscontrol
```

  証拠: nixpkgs package indexes: pkgs/by-name/dn/dnscontrol/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id StackExchange.DNSControl -e
```

  証拠: Windows Package Manager source index: StackExchange.DNSControl from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:dnscontrol
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.45.0
- **ソース概要:** Synchronize your DNS to multiple providers from a simple DSL
- **ホームページ:** <https://dnscontrol.org/>
- **リポジトリ:** <https://github.com/DNSControl/dnscontrol>
- **最終更新:** 2026-08-01T20:41:14Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dnscontrol (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.45.0
## プロジェクトの歴史と使われ方

DNSControl is an infrastructure-as-code tool for managing DNS records across multiple registrars and DNS providers. It uses a JavaScript-like DSL in dnsconfig.js, provider credentials in creds.json, and commands such as preview and push to turn repository-managed DNS intent into provider changes.

### プロジェクトの歴史

Stack Overflow introduced DNSControl publicly in 2017 as the system it built to manage DNS with a describe-once, use-anywhere model. The project grew from Stack Exchange's operational needs into an open-source tool with provider plugins, a compiler-like intermediate representation, and a documentation site for the DSL and provider ecosystem.

### 採用の歴史

DNSControl's adoption story is unusually package-nerdy because its own README cites Stack Overflow using it for hundreds of domains and subdomains. That production pedigree, plus support for many providers, made it attractive to teams that wanted DNS changes reviewed, tested, and applied like code.

### 使われ方

A typical workflow is to keep dnsconfig.js, creds.json, and optional zone files in a Git repository, run dnscontrol preview to inspect changes, and run dnscontrol push to apply them. The getting-started guide explicitly walks users through creating a config directory, dnsconfig.js, creds.json, and a zones directory for local testing.

### パッケージ好きにとっての重要性

DNSControl matters to package and ops people because it turns DNS into a reproducible artifact with reviewable diffs. It also represents the CLI packaging sweet spot: a Go binary, strong docs, release automation, Docker support, Homebrew availability, and enough provider plugins to justify distro packaging.

### タイムライン

- 2017: Stack Overflow introduces DNSControl as DNS as code.
- 2024: v4.x releases continue the provider-plugin and DNS compiler model.
- 2026: The project documents 64 supported DNS providers and registrars in its README.

### Related projects

- Terraform DNS providers solve adjacent infrastructure-as-code problems with a different state model.
- BIND zone files are a common input, output, or migration target for DNSControl workflows.

### ソース

- <https://blog.serverfault.com/2017/04/11/introducing-dnscontrol-dns-as-code-has-arrived/>
- <https://github.com/DNSControl/dnscontrol>
- <https://docs.dnscontrol.org/>
- <https://docs.dnscontrol.org/getting-started/getting-started>
- <https://docs.dnscontrol.org/commands/creds-json>


## セキュリティノート

dnscontrol に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./dnsconfig.js

## Credential files

- Unix: ./creds.json
## 他のパッケージマネージャ記録

- Nix - dnscontrol: normalized package name match | nixpkgs package indexes: pkgs/by-name/dn/dnscontrol/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dnscontrol - 4.45.0-r0: normalized package name match | Alpine Linux edge package indexes: dnscontrol from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Synchronize your DNS to multiple providers from a simple DSL | https://dnscontrol.org/
- apk - dnscontrol-doc - 4.45.0-r0: normalized package name match | Alpine Linux edge package indexes: dnscontrol-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Synchronize your DNS to multiple providers from a simple DSL (documentation) | https://dnscontrol.org/
- MacPorts - dnscontrol: normalized package name match | MacPorts ports tree: sysutils/dnscontrol/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - StackExchange.DNSControl: normalized package name match | Windows Package Manager source index: StackExchange.DNSControl from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/dnscontrol.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dnscontrol.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
