# Install hesiod with Homebrew, apt

Library for the simple string lookup service built on top of DNS. Version 3.2.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:hesiod
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hesiod
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install hesiod
```

  Evidence: Debian stable package indexes: hesiod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:hesiod
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hesiod>
- **Version:** 3.2.1
- **Source summary:** Library for the simple string lookup service built on top of DNS
- **Homepage:** <https://github.com/achernya/hesiod>
- **Repository:** <https://github.com/achernya/hesiod>
- **Upstream docs:** <https://github.com/achernya/hesiod#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/achernya/hesiod/archive/refs/tags/hesiod-3.2.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hesinfo (cli)
- hesinfo (alias)

## Dependencies

- libidn

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2.1
- Local data: ok
- Upstream repository: https://github.com/achernya/hesiod
- Upstream latest detected: hesiod-3.2.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Hesiod is a DNS-based name service from MIT Project Athena, packaged today as a small C library and `hesinfo`-style lookup tooling. Its historical importance is much larger than the modern package size: it represents an early Unix campus-computing approach to distributing user, group, mail, printer, service, and locker metadata through DNS.

### Project history

MIT's Athena Technical Plan lists the Hesiod Name Service section as July 22, 1987, by Steven P. Dyer and Felix S. Hsu. RFC 1035's bibliography references an April 1987 Project Athena Hesiod name-service document and notes that it describes the fundamentals of the Hesiod name service.

The MIT Athena description explains Hesiod as a simple string lookup service on top of DNS: a client combines a name and type into a DNS name such as `name.type.ns.athena.mit.edu`, queries TXT records, and receives one or more result strings.

The maintained GitHub package identifies itself as release 3.2.1 of the Hesiod name service library, says Hesiod can provide general name service for many applications, and notes its basis in the Berkeley Internet Name Daemon. The repository was created on March 28, 2013, preserving the library in a conventional autotools-style source tree.

### Adoption history

Hesiod's first adoption context was Project Athena, MIT's distributed workstation environment. MIT's own Athena overview says Athena used Hesiod for user account information, locker information, post office box information, workstation cluster information, and printer information.

The DNS protocol itself records Hesiod's historical footprint: IANA's DNS parameters registry assigns DNS class 4 to Hesiod (HS), citing the Project Athena name-service work. The modern library later moved its wire protocol toward class IN for deployability, but the HS class remains part of DNS history.

In package-manager terms, Hesiod survived as a niche but instructive Unix networking library. It appears in Homebrew, Debian, and Ubuntu not because most sites deploy it broadly, but because old Athena-style environments, compatibility code, and network-service historians still need a maintained implementation.

### How it is used

The README documents client configuration through `hesiod.conf`, with `rhs` and `lhs` values that build the DNS lookup suffix. It notes `/usr/local/etc/hesiod.conf` as the default sysconfdir path in that build configuration and explains that `HES_DOMAIN` can override the right-hand side at run time.

Administrators publish Hesiod data by making name servers authoritative for a domain such as `ns.your.domain` and adding TXT and CNAME records for data types like groups, service locations, and IDs. Clients then use the library or utilities to translate `(name, type)` pairs into strings.

The library's NEWS file documents evolution from imake to Autoconf, reentrant interfaces, a context-based `hesiod_*` API, shared-library installation, Debian packaging, automake, pkg-config metadata, and relicensing MIT material under the 2-clause BSD license.

### Why package nerds care

Hesiod is package-nerd catnip because it is a tiny package with a deep systems lineage. It shows how DNS was once stretched into campus directory service, before LDAP, NSS modules, cloud identity providers, and configuration-management systems took over many of the same roles.

It also demonstrates a recurring packaging theme: old infrastructure survives when a clean library, man pages, and distribution packaging keep it buildable. The Homebrew package is therefore less about trendy usage and more about preserving a historically important network abstraction in a form modern Unix systems can compile.

### Timeline

- 1987-04: RFC 1035 bibliography references Dyer and Hsu's Project Athena Hesiod name-service document.
- 1987-07-22: MIT Athena Technical Plan lists the Hesiod Name Service section by Steven P. Dyer and Felix S. Hsu.
- 1987-11: RFC 1035 assigned DNS class HS value 4 for Hesiod.
- 2013-03-28: `achernya/hesiod` repository creation date recorded by GitHub.
- 2018: Hesiod 3.2.1 NEWS documented pkg-config support and 2-clause BSD relicensing work.

### Related projects

- Project Athena siblings include Kerberos for authentication, Zephyr for notification, Moira/SMS for service management, and Athena locker/file-service infrastructure.
- DNS and BIND are the underlying transport and server infrastructure. LDAP, NIS, and NSS occupy related directory and name-service territory in Unix environments.

### Sources

- GitHub README and NEWS for maintained library behavior, configuration, and release evolution.
- MIT Athena Technical Plan and Athena overview for origin and production usage context.
- RFC 1035 and IANA DNS parameters for protocol-level Hesiod class history.


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - hesiod - 3.2.1-5: normalized package name match | Debian stable package indexes: hesiod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Project Athena's DNS-based directory service - utilities
- Debian apt - libhesiod-dev - 3.2.1-5: normalized package name match | Debian stable package indexes: libhesiod-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Project Athena's DNS-based directory service - development files
- Debian apt - libhesiod0 - 3.2.1-5: normalized package name match | Debian stable package indexes: libhesiod0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Project Athena's DNS-based directory service - libraries
- Ubuntu apt - hesiod - 3.2.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: hesiod from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Project Athena's DNS-based directory service - utilities
- Ubuntu apt - libhesiod-dev - 3.2.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libhesiod-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Project Athena's DNS-based directory service - development files
- Ubuntu apt - libhesiod0 - 3.2.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libhesiod0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Project Athena's DNS-based directory service - libraries


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libidn](https://www.automicvault.com/pkg/brew/libidn/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [c-ares](https://www.automicvault.com/pkg/brew/c-ares/) - Shares av.db curated category or tags: c, cli, dns, library, networking.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, dns, library, networking.
- [chinadns-c](https://www.automicvault.com/pkg/brew/chinadns-c/) - Shares av.db curated category or tags: c, cli, dns, networking.
- [libidn2](https://www.automicvault.com/pkg/brew/libidn2/) - Shares av.db curated category or tags: cli, dns, library, networking.
- [aliddns](https://www.automicvault.com/pkg/brew/aliddns/) - Shares av.db curated category or tags: cli, dns, networking.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, dns, networking.
- [cdncheck](https://www.automicvault.com/pkg/brew/cdncheck/) - Shares av.db curated category or tags: cli, dns, networking.
- [checkdmarc](https://www.automicvault.com/pkg/brew/checkdmarc/) - Shares av.db curated category or tags: cli, dns, networking.
- [ddns-go](https://www.automicvault.com/pkg/brew/ddns-go/) - Local package facts share a topical domain. Shared terms: cli, dns, networking, simple.
- [whois](https://www.automicvault.com/pkg/brew/whois/) - Local package facts share a topical domain. Shared terms: cli, dns, lookup, networking.

## Combined YAML source

View the package source record on GitHub. [combined/hesiod.yml](https://github.com/automic-vault/db/blob/main/combined/hesiod.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
