# 使用 Homebrew 安装 hostdb

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

## 安装

```sh
sudo av install brew:hostdb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hostdb
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:hostdb
- **软件包管理器:** Homebrew
- **版本:** 1.004
- **来源摘要:** Generate DNS zones and DHCP configuration from hostlist.txt
- **主页:** <https://code.google.com/archive/p/hostdb/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- Example_comparezones (别名)
- NIdhcpupdate (别名)
- canonzone (别名)
- catif (别名)
- checkrootcache (别名)
- copy-if-change (别名)
- genrange (别名)
- mergeiplists (别名)
- mkdestinations (别名)
- mknamedconf (别名)
- mkzones (别名)
- sortbyip (别名)
- zone2hostdb (别名)
- zone2hostdbhelper (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

HostDB is a DNS and DHCP generation system built around a plain-text host database. The project predates modern infrastructure-as-code branding but follows the same practical idea: keep host data in a readable source file, generate BIND zone files and ISC DHCP configuration, and deploy generated artifacts repeatably.

### 项目历史

The archived project and bundled documentation identify HostDB as a complete system rather than a single script. The source archive includes generators such as `mkzones`, `mknamedconf`, `zone2hostdb`, `genrange`, comparison helpers, example configurations, and a `hostdb.txt` data model.

The LISA 2005 paper by Thomas Limoncelli describes HostDB as a system for generating DNS zone files, BIND configurations, and ISC DHCP server configurations. It emphasizes simplicity: no SQL database or web server, just text input, generation scripts, and deployable output.

### 采用历史

HostDB's adoption appears to be mostly historical and system-administrator oriented. Its Google Code archive and Homebrew formula preserve it for users who want the original toolchain or need to inspect an older text-driven network-configuration workflow.

### 使用方式

A HostDB workflow starts from a host database text file and supporting zone/destination configuration. The packaged executables generate zones, named configuration, DHCP output, root-cache checks, and conversion helpers, with examples included in the source archive.

The package is most relevant in environments where DNS/DHCP data should be generated from source-controlled text, but where running a database-backed IPAM system would be excessive.

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

HostDB is a preserved sysadmin artifact: small scripts, text files, and generated network configuration. For package nerds, it marks an older branch of infrastructure automation that sits between hand-edited zone files and heavyweight IPAM/configuration-management systems.

### 时间线

- 2005: HostDB is presented in a LISA paper focused on host-to-DNS/DHCP generation.
- 2016: Google Code archive source snapshot preserves README, docs, scripts, examples, and the LISA paper.
- Homebrew era: A formula packages HostDB as a command-line DNS/DHCP generation tool.

### Related projects

- BIND/named and ISC DHCP are the generated configuration targets.
- IPAM and configuration-management tools are related by problem domain, although HostDB deliberately uses a simpler text-file model.
- Google Code Archive is related as the preservation surface for the project.

### 来源

- Google Code Archive and source archive: project files, README, docs, examples, and executables.
- Homebrew input metadata: package description and executable list.
- USENIX LISA 2005 paper: original system description and design rationale.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: hostlist.txt

## Combined YAML source

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


## 来源

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