A fast and accurate DNS resolver written in Rust.
Fast DNS resolver written in Rust. Works on Linux, Windows, macOS, Android, Aarch64, ARM and possibly in your oven.
Offer the community an efficient host resolution tool.
Rusolver is very resource friendly, you can use up to 1000 threads in an single core machine and this will work without any problem, the bottleneck for this tool is your network speed. By default, Rusolver is able to perform resolution for ~1532 hosts per second in good network conditions (tested in an AWS machine). Additionally the tool does a double-check by default for resolved hosts against Cloudflare, Google, Quad9, OpenDNS, Verisign, UncensoredDNS and dns.watch DNS, with that algoritm the possibility to get an false-positive is null.
The files used in the demo are here. hosts.txt is the list of hosts to perform resolution and the resolved.txt are the ones that Rusolver found as active.
Download the asset from the releases page according to your platform.
cargo build --release../target/release/rusolver or add it to your system PATH to use from anywhere.Optionally you can just use cargo install rusolver
rusolver can be installed from available AUR packages using an AUR helper. For example,
yay -S rusolverIf you prefer, you can clone the AUR packages and then compile them with makepkg. For example,
git clone https://aur.archlinux.org/rusolver.git && cd rusolver && makepkg -sicat hosts.txt | rusolvercat hosts.txt | rusolver -icat hosts.txt | rusolver -i --ip-version v6
cat hosts.txt | rusolver -i --ip-version both# comments are
skipped, and an entry may carry its own port:1.1.1.1
8.8.8.8
127.0.0.1:5353-q/--quiet suppresses the progress commentary; the resolved hosts are still
printed. You can tune the --timeout and -t/--threads options according to
your needs. See rusolver --help
No open issues yet, or sync has not completed.