# 使用 Homebrew, Nix 安装 octodns

查看 octodns 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:octodns
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install octodns
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#octodns
```

  证据: nixpkgs package indexes: pkgs/by-name/oc/octodns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:octodns
- **软件包管理器:** Homebrew
- **版本:** 1.21.1
- **来源摘要:** Tools for managing DNS across multiple providers
- **主页:** <https://github.com/octodns/octodns>
- **仓库:** <https://github.com/octodns/octodns>
- **最后更新:** 2026-08-02T22:08:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- octodns-compare (别名)
- octodns-dump (别名)
- octodns-report (别名)
- octodns-schema (别名)
- octodns-sync (别名)
- octodns-validate (别名)
- octodns-versions (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.21.1
## 项目历史与用法

octoDNS is a Python "DNS as code" toolchain for representing DNS zones in version-controlled configuration and synchronizing them to one or more DNS providers. Its package-nerd identity is unusually clear: it turns mutable provider control panels into reviewable, repeatable infrastructure artifacts.

### 项目历史

The public GitHub repository was created on 2017-03-14, and the README credits Ross McFarland and Joe Williams as the project designers and authors. GitHub announced OctoDNS on 2017-04-27 in a post about split-authority DNS, explaining that GitHub wanted one system to manage internal and external DNS records and keep zones synchronized across multiple providers.

The project evolved around pluggable providers and a CLI workflow: zone files are read from sources, compared with provider state, and then applied by commands such as octodns-sync after review.

### 采用历史

GitHub's own 2017 writeup is the strongest early adoption signal: it described dozens of zones and thousands of records being managed through GitHub Flow, dry-run previews, and deployment tooling. Homebrew and Nix packaging later made the CLI available as a normal developer workstation package.

### 使用方式

Operators use octoDNS by storing YAML zone data and a provider mapping in a repository, running comparison or validation commands, reviewing the plan, and applying changes to targets such as Route53 or Dyn. The same workflow also supports split-authority DNS, where identical records must be maintained across more than one authoritative provider.

### 为什么软件包爱好者会关心

octoDNS matters because it treats DNS records like source code without requiring teams to standardize on a single DNS vendor. For package indexers it is a clean example of an operations tool whose executables, provider plugins, and configuration model are the product.

### 时间线

- 2017-03-14: public GitHub repository created.
- 2017-04-27: GitHub published its split-authority DNS article announcing OctoDNS and describing its internal DNS workflow.
- 2026-07-01: GitHub API metadata showed the repository under the octodns organization, MIT licensed, with Python as the primary language.

### Related projects

- The project has provider packages for DNS services such as Cloudflare and Azure, and it fits the same infrastructure-as-code family as Terraform-style DNS management while keeping a DNS-specific comparison and synchronization model.

### 来源

- <https://api.github.com/repos/octodns/octodns>
- <https://formulae.brew.sh/formula/octodns>
- <https://github.blog/engineering/infrastructure/enabling-split-authority-dns-with-octodns/>
- <https://github.com/octodns/octodns>
- <https://octodns.readthedocs.io/>
- <https://raw.githubusercontent.com/octodns/octodns/main/README.md>


## 安全说明

没有找到 octodns 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - octodns: normalized package name match | nixpkgs package indexes: pkgs/by-name/oc/octodns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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