14 stable releases

1.13.0 Oct 29, 2024
1.12.1 Aug 1, 2024
1.11.0 May 30, 2024
1.10.0 Jan 24, 2024
1.0.4-dev Jul 4, 2022

#208 in Network programming

Download history 61/week @ 2024-08-23 175/week @ 2024-08-30 104/week @ 2024-09-06 66/week @ 2024-09-13 71/week @ 2024-09-20 62/week @ 2024-09-27 64/week @ 2024-10-04 81/week @ 2024-10-11 51/week @ 2024-10-18 150/week @ 2024-10-25 110/week @ 2024-11-01 83/week @ 2024-11-08 99/week @ 2024-11-15 109/week @ 2024-11-22 92/week @ 2024-11-29 71/week @ 2024-12-06

381 downloads per month

Apache-2.0

125KB
2.5K SLoC

Rust 2K SLoC // 0.1% comments BASH 351 SLoC // 0.3% comments Shell 234 SLoC // 0.3% comments RPM Specfile 73 SLoC // 0.2% comments Bitbake 12 SLoC Python 4 SLoC

aardvark-dns

Aardvark-dns is an authoritative dns server for A/AAAA container records. It can forward other requests to configured resolvers.

Read more about configuration in src/backend/mod.rs. It is mostly intended to be used with Netavark which will launch it automatically if both are installed.

aardvark-dns 0.1.0

USAGE:
    aardvark-dns [OPTIONS] <SUBCOMMAND>

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

OPTIONS:
    -c, --config <CONFIG>    Path to configuration directory
    -p, --port <PORT>        Host port for aardvark servers, defaults to 5533

SUBCOMMANDS:
    help    Print this message or the help of the given subcommand(s)
    run     Runs the aardvark dns server with the specified configuration directory

MSRV (Minimum Supported Rust Version)

v1.76

We test that Netavark can be build on this Rust version and on some newer versions. All newer versions should also build, and if they do not, the issue should be reported and will be fixed. Older versions are not guaranteed to build and issues will not be fixed.

Build

make

Run Example

RUST_LOG=trace ./bin/aardvark-dns --config src/test/config/podman/ --port 5533 run

Configuration file format

Dependencies

~13–41MB
~627K SLoC