#configuration #host #unix #generate #unbound #educational #dns-masq

app adnix

Rust二进制程序,用于从UNIX主机文件生成DNSMasq和Unbound配置

15个版本

0.4.10 2024年4月10日
0.4.9 2023年10月17日
0.4.7 2023年8月24日
0.4.6 2023年7月24日
0.2.0 2019年11月6日

#255网络编程

Download history 1/week @ 2024-04-26 5/week @ 2024-05-17 4/week @ 2024-05-24 1/week @ 2024-06-07 1/week @ 2024-06-14 7/week @ 2024-07-05 75/week @ 2024-07-26 11/week @ 2024-08-02

每月 86 次下载

MIT/Apache

13KB
226

adnix-rs 版本信息 不打算维护 使用Garnix构建

Rust对sniner/adnix的教育性重构。

安装

adnix可在crates.io上找到,您可以通过Cargo安装它。

cargo install adnix

使用方法

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

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

依赖项

~8–11MB
~225K SLoC