mirror of
https://github.com/msfjarvis/adnix-rs
synced 2025-11-05 18:28:01 +05:30
Rust reimplementation of https://github.com/sniner/adnix for educational purposes
| .github | ||
| .idea | ||
| src | ||
| test_data | ||
| wix | ||
| .envrc | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| oranda.json | ||
| README.md | ||
| rust-toolchain.toml | ||
| shell.nix | ||
adnix-rs

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