# getdns を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt でインストール

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

## インストール

```sh
sudo av install brew:getdns
```

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

### macOS

- Homebrew (100%):

```sh
brew install getdns
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install getdns
```

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

### Linux

- apk (92%):

```sh
sudo apk add getdns
```

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

- dnf (92%):

```sh
sudo dnf install getdns
```

  証拠: Fedora Rawhide package metadata: getdns from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#getdns
```

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

- pacman (92%):

```sh
sudo pacman -S getdns
```

  証拠: Arch Linux sync databases: getdns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install getdns-utils
```

  証拠: Debian stable package indexes: getdns-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:getdns
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/getdns>
- **バージョン:** 1.7.3
- **ソース概要:** Modern asynchronous DNS API
- **ホームページ:** <https://getdnsapi.net>
- **リポジトリ:** <https://github.com/getdnsapi/getdns>
- **上流ドキュメント:** <https://getdnsapi.net>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://getdnsapi.net/releases/getdns-1-7-3/getdns-1.7.3.tar.gz>
- **最終更新:** 2026-08-02T20:52:04+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- getdns_query (cli)
- getdns_server_mon (cli)
- getdns_query (エイリアス)
- getdns_server_mon (エイリアス)

## 依存関係

- libev
- libevent
- libidn2
- libuv
- openssl@3
- unbound

## ビルド依存関係

- cmake

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.7.3
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://getdnsapi.net
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

getdns is a C implementation of a modern asynchronous DNS API. It was designed to expose DNS data, DNSSEC validation, event-loop integration, and DNS privacy features to application developers who do not want to hand-code low-level resolver behavior.

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

The API specification was originally edited by Paul Hoffman, and the open source C implementation has been developed with NLnet Labs, Sinodun, and No Mountain Software. The GitHub repository dates to 2014 and the release history shows a 1.x line that added DNS privacy work, CMake builds, platform fixes, and Stubby integration.

### 採用の歴史

getdns occupies a specialized layer in the DNS ecosystem: lower-level than application frameworks but higher-level than raw resolver libraries. Its distribution through Homebrew and major Unix-like package managers reflects use by DNS engineers, resolver-tool authors, and privacy-focused networking users.

### 使われ方

Practitioners use libgetdns in C programs that need asynchronous DNS lookups, DNSSEC status, IDNA handling, event-loop adapters, or DNS-over-TLS behavior. The package also installs `getdns_query` for command-line testing and `getdns_server_mon` for server capability checks.

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

For package maintainers, getdns is important because optional features map directly to dependency choices: OpenSSL, libunbound, libidn2, event-loop libraries, and Stubby support all affect the build. Its packaging footprint therefore records how each platform chooses resolver, DNSSEC, and DNS privacy tradeoffs.

### タイムライン

- 2014: The public GitHub repository for getdns was created.
- 2019: The 1.6.0 beta moved the build system to CMake.
- 2020: Version 1.6.0 was released.
- 2021: Version 1.7.0 added transport and DNS behavior fixes.
- 2022: Version 1.7.3 shipped as a quickfix release with Stubby 0.4.3.

### Related projects

- getdns is closely related to Stubby, Unbound, libidn2, OpenSSL, and event-loop libraries such as libevent, libuv, and libev.

### ソース

- <https://api.github.com/repos/getdnsapi/getdns>
- <https://getdnsapi.net/>
- <https://getdnsapi.net/documentation/spec/>
- <https://getdnsapi.net/releases/>
- <https://github.com/getdnsapi/getdns>
- <https://raw.githubusercontent.com/getdnsapi/getdns/develop/ChangeLog>
- <https://raw.githubusercontent.com/getdnsapi/getdns/develop/README.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - getdns-utils - 1.6.0-3.2: normalized package name match | Debian stable package indexes: getdns-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | modern asynchronous DNS API (utils) | https://getdnsapi.net/
- Debian apt - libgetdns-dev - 1.6.0-3.2: normalized package name match | Debian stable package indexes: libgetdns-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | modern asynchronous DNS API (development) | https://getdnsapi.net/
- Debian apt - libgetdns10t64 - 1.6.0-3.2: normalized package name match | Debian stable package indexes: libgetdns10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | modern asynchronous DNS API (shared library) | https://getdnsapi.net/
- Debian apt - stubby - 1.6.0-3.2: normalized package name match | Debian stable package indexes: stubby from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | modern asynchronous DNS API (stub resolver) | https://getdnsapi.net/
- Nix - getdns: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/getdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - getdns-utils - 1.6.0-3.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: getdns-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | modern asynchronous DNS API (utils) | https://getdnsapi.net/
- Ubuntu apt - libgetdns-dev - 1.6.0-3.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgetdns-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | modern asynchronous DNS API (development) | https://getdnsapi.net/
- Ubuntu apt - libgetdns10t64 - 1.6.0-3.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgetdns10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | modern asynchronous DNS API (shared library) | https://getdnsapi.net/
- Ubuntu apt - stubby - 1.6.0-3.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: stubby from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | modern asynchronous DNS API (stub resolver) | https://getdnsapi.net/
- apk - getdns - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: getdns from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Modern asynchronous DNS API | https://getdnsapi.net
- apk - getdns-dev - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: getdns-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Modern asynchronous DNS API (development files) | https://getdnsapi.net
- apk - getdns-doc - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: getdns-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Modern asynchronous DNS API (documentation) | https://getdnsapi.net
- apk - getdns-libs - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: getdns-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Modern asynchronous DNS API (libraries) | https://getdnsapi.net
- dnf - getdns - 1.7.3-10.fc44: normalized package name match | Fedora Rawhide package metadata: getdns from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Modern asynchronous API to the DNS | http://www.getdnsapi.net
- dnf - getdns-devel - 1.7.3-10.fc44: normalized package name match | Fedora Rawhide package metadata: getdns-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development package that includes getdns header files | http://www.getdnsapi.net
- dnf - getdns-utils - 1.7.3-10.fc44: normalized package name match | Fedora Rawhide package metadata: getdns-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | getdns utilities | http://www.getdnsapi.net


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [unbound](https://pkg.so/ja/brew/unbound/) - Runtime dependency declared by Homebrew.
- [libevent](https://pkg.so/ja/brew/libevent/) - Runtime dependency declared by Homebrew.
- [libidn2](https://pkg.so/ja/brew/libidn2/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [stubby](https://pkg.so/ja/brew/stubby/) - Popular package that depends on this formula.
- [ldns](https://pkg.so/ja/brew/ldns/) - Shares pkgdb curated category or tags: c-library, cli, dns, dnssec, networking.
- [adns](https://pkg.so/ja/brew/adns/) - Shares pkgdb curated category or tags: c-library, cli, dns, networking, resolver.
- [knot-resolver](https://pkg.so/ja/brew/knot-resolver/) - Shares pkgdb curated category or tags: cli, dns, dnssec, networking, resolver.
- [c-ares](https://pkg.so/ja/brew/c-ares/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [bind](https://pkg.so/ja/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, dnssec, networking.
- [knot](https://pkg.so/ja/brew/knot/) - Shares pkgdb curated category or tags: cli, dns, dnssec, networking.
- [nextdns](https://pkg.so/ja/brew/nextdns/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [dnsviz](https://pkg.so/ja/brew/dnsviz/) - Local package facts share a topical domain. Shared terms: cli, dns, dnssec, networking, openssl.

## Combined YAML source

View the package source record on GitHub. [combined/getdns.yml](https://github.com/mxcl/pkgdb/blob/main/combined/getdns.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
