# Installer smartdns avec Homebrew, apt, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de smartdns pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:smartdns
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install smartdns
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install smartdns
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#smartdns
```

  Preuve: nixpkgs package indexes: pkgs/by-name/sm/smartdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S smartdns
```

  Preuve: Arch Linux sync databases: smartdns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:smartdns
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/smartdns>
- **Version:** 0.13.1
- **Résumé source:** Rule-based DNS server for fast IP resolution, DoT/DoQ/DoH/DoH3 supported
- **Page d'accueil:** <https://github.com/mokeyish/smartdns-rs>
- **Dépôt:** <https://github.com/mokeyish/smartdns-rs>
- **Licence:** GPL-3.0-only
- **Archive source:** <https://github.com/mokeyish/smartdns-rs/archive/refs/tags/v0.13.1.tar.gz>
- **Dernière mise à jour:** 2026-06-27T19:43:42Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- smartdns (cli)
- smartdns (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Service: declared
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.13.1
- gestionnaire mis à jour: 2026-06-27
- données locales: OK
- dépôt amont: https://github.com/mokeyish/smartdns-rs
- dernière version détectée: v0.13.1 (à jour)
## Historique du projet et usages

SmartDNS-rs is a Rust implementation of the SmartDNS idea: a local DNS server that queries multiple upstream resolvers and returns the fastest result for the local network. In package-manager terms it sits in the same practical niche as dnsmasq-like local resolvers, but with modern encrypted DNS protocols and cross-platform packaging.

### Historique du projet

The upstream SmartDNS project documents the core design: accept local DNS queries, ask multiple upstream DNS servers, test or select the fastest reachable address, and return that result. SmartDNS-rs states that it was inspired by the C SmartDNS project and was written because the original was mainly Linux-oriented while the Rust version targets Windows, macOS, Linux, and Android Termux with compatible configuration.

### Historique d'adoption

SmartDNS-rs gained package-manager visibility through Homebrew as `smartdns`, with the README documenting `brew install smartdns` and service startup through Homebrew services. The supplied package metadata also records packages in Debian, Ubuntu, Arch, and Nix, which places it beyond a single-platform GitHub binary.

### Modes d'utilisation

Typical use is as a local DNS daemon, often listening on port 53, configured with upstream DoH, DoT, DoQ, or DoH3 resolvers and domain-specific rules. The README shows running it with `smartdns run -c ./smartdns.conf -v`, installing it as a service, and using `dig` CHAOS TXT diagnostics for server/client information.

### Pourquoi les passionnés de paquets s'y intéressent

Package maintainers care because SmartDNS-rs combines DNS daemon behavior, privileged port binding, service integration, cross-platform binaries, and Rust dependency management in one formula. It is also a small example of a C networking utility being reworked for broader package-manager portability.

### Chronologie

- 2022: First GitHub release of smartdns-rs, 0.1.3, was published.
- 2020s: README documents Homebrew installation and cross-platform service management.
- 2020s: The Rust version documents compatibility with the original C SmartDNS configuration model.

### Related projects

- The README names the original C SmartDNS project as inspiration and Hickory DNS as a dependency or code source. It also positions the tool near dnsmasq-like local DNS servers.

### Sources

- GitHub releases API for mokeyish/smartdns-rs: first published release 0.1.3 on 2022-12-04.
- <https://github.com/mokeyish/smartdns-rs README: description, C SmartDNS inspiration, cross-platform rationale, install and usage examples.>
- <https://pymumu.github.io/smartdns/en/: original SmartDNS design, fastest-IP behavior, platform and protocol support.>
- input source_facts.package-manager: Homebrew, Debian, Ubuntu, Nix, and Arch package names.


## Notes de sécurité

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## 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: ./smartdns.conf, ./etc/smartdns/smartdns.conf
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** smartdns
- **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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - smartdns - 46.1+dfsg-1.1~deb13u1: normalized package name match | Debian stable package indexes: smartdns from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | local DNS server to obtain the fastest IP for the best experience | https://github.com/pymumu/smartdns
- Nix - smartdns: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smartdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - smartdns - 45+dfsg-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: smartdns from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | local DNS server to obtain the fastest IP for the best experience | https://github.com/pymumu/smartdns
- pacman - smartdns - 48.3-1: normalized package name match | Arch Linux sync databases: smartdns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A local DNS server to obtain the fastest website IP for the best Internet experience | https://github.com/pymumu/smartdns


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [q](https://pkg.so/fr/brew/q/) - Shares pkgdb curated category or tags: cli, doh, doq, dot, networking.
- [sniffnet](https://pkg.so/fr/brew/sniffnet/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [bore-cli](https://pkg.so/fr/brew/bore-cli/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [miniserve](https://pkg.so/fr/brew/miniserve/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [gnirehtet](https://pkg.so/fr/brew/gnirehtet/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [nextdns](https://pkg.so/fr/brew/nextdns/) - Shares pkgdb curated category or tags: cli, doh, networking.
- [shadowsocks-rust](https://pkg.so/fr/brew/shadowsocks-rust/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [netscanner](https://pkg.so/fr/brew/netscanner/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [hickory-dns](https://pkg.so/fr/brew/hickory-dns/) - Both packages touch the same language runtime or ecosystem. Shared terms: based, cli, dns, networking, rust.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
