# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/octodns>
- **版本:** 1.21.1
- **来源摘要:** Tools for managing DNS across multiple providers
- **主页:** <https://github.com/octodns/octodns>
- **仓库:** <https://github.com/octodns/octodns>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/cb/d5/b6f3068427c781533e59d22f4935f399b2a9138768acd99cf874d5fa9f12/octodns-1.21.1.tar.gz>
- **最后更新:** 2026-08-02T22:08:54Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- libyaml
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.21.1
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/octodns/octodns
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** octodns
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [lexicon](https://pkg.so/zh-hans/brew/lexicon/) - Shares pkgdb curated category or tags: automation, cli, dns, networking.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [libidn](https://pkg.so/zh-hans/brew/libidn/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsmasq](https://pkg.so/zh-hans/brew/dnsmasq/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [bind](https://pkg.so/zh-hans/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [doggo](https://pkg.so/zh-hans/brew/doggo/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnscrypt-proxy](https://pkg.so/zh-hans/brew/dnscrypt-proxy/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsviz](https://pkg.so/zh-hans/brew/dnsviz/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, dns, networking, python, python-3-14.
- [ctrld](https://pkg.so/zh-hans/brew/ctrld/) - Local package facts share a topical domain. Shared terms: cli, dns, multi, networking.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
