Rust reimplementation of https://github.com/sniner/adnix for educational purposes
Find a file
renovate[bot] 2b175a6906
Some checks failed
Check Rust code / check (push) Has been cancelled
Web / Build and deploy site and docs (push) Has been cancelled
chore(deps): lock file maintenance
2025-09-02 00:45:25 +00:00
.github chore: apply Renovate config migration 2024-12-09 19:30:27 +05:30
.idea Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
src fix(rust): upgrade to Rust 1.88.0 2025-06-27 12:22:49 +05:30
test_data adnix: rudimentary tests for config parser 2020-04-29 02:46:06 +05:30
wix chore: refresh cargo-dist setup 2024-04-10 23:08:09 +05:30
.envrc chore: add .envrc 2024-11-02 17:07:04 +05:30
.git-blame-ignore-revs chore: add reformat to git-blame-ignore-revs 2024-12-16 18:34:33 +05:30
.gitignore chore: upgrade to cargo-dist 0.18.0 2024-07-28 01:50:06 +05:30
Cargo.lock chore(deps): lock file maintenance 2025-09-02 00:45:25 +00:00
Cargo.toml fix(deps): update rust crate ureq to v3 2025-01-28 15:41:09 +05:30
default.nix chore: reformat all files with nixfmt-rfc-style 2024-12-16 18:33:24 +05:30
flake.lock Update flake.lock (nixpkgs: dd9049b → 0e0395e) 2025-08-31 00:49:39 +00:00
flake.nix fix(rust): upgrade to Rust 1.88.0 2025-06-27 12:22:49 +05:30
LICENSE-APACHE fix: dual-license under MIT and Apache 2.0 2023-10-17 14:03:35 +05:30
LICENSE-MIT fix: dual-license under MIT and Apache 2.0 2023-10-17 14:03:35 +05:30
oranda.json chore: update oranda setup 2024-04-16 22:54:12 +05:30
README.md Revert "feat(ci): disable GHA workflow" 2024-09-12 10:02:12 +05:30
rust-toolchain.toml fix(rust): upgrade to Rust 1.88.0 2025-06-27 12:22:49 +05:30
shell.nix chore: reformat all files with nixfmt-rfc-style 2024-12-16 18:33:24 +05:30

adnix-rs Version info No Maintenance Intended

Rust reimplementation of sniner/adnix for educational purposes.

Installation

adnix is available on crates.io and you can install it through cargo.

cargo install adnix

Usage

USAGE:
    adnix [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --formatter <STRING>       Formatter [default: dnsmasq]  [possible values: dnsmasq, dnsmasq-server, unbound]
        --address <ADDRESS>        IPv4 address [default: 127.0.0.1]
        --v6address <ADDRESS>      IPv6 address [default: ::1]
    -o, --output <OUTPUT>          Output file
    -s, --sources_file <STRING>    File to read "name|source url" mappings from

Sample sources file for use with adnix.

Yoyo|http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext
Malware Domain List|http://www.malwaredomainlist.com/hostslist/hosts.txt