dns-checker

Crates.iodns-checker
lib.rsdns-checker
version0.1.0
created_at2026-01-04 17:35:22.034146+00
updated_at2026-01-04 17:35:22.034146+00
descriptionCheck domain liveness via DNS lookups
homepagehttps://github.com/RustedBytes/dns-checker
repositoryhttps://github.com/RustedBytes/dns-checker
max_upload_size
id2022249
size62,672
dev-team (github:iron:dev-team)

documentation

https://docs.rs/dns-checker

README

dns-checker

CLI tool to check domain liveness via DNS lookups and emit JSON results.

Usage

cargo run -- --input urls.txt --output results.json

Options

  • --backend DNS resolver backend (hickory default, gnu-c Linux only).
  • --concurrency Maximum concurrent DNS checks (default: 100).

Python bindings

Python 3.10+ bindings for the Rust library using PyO3.

Build (maturin)

maturin develop --release --features "python gnu-c"
# or
maturin build --release --features "python gnu-c"

Backends

  • hickory (default)
  • gnu-c (Linux only): build with --features "python gnu-c"

Usage

import dns_checker

dns_checker.run("links.txt", "results.json", backend="hickory", concurrency=100)

# or using the gnu-c backend (Linux only)
dns_checker.run("links.txt", "results.json", backend="gnu-c", concurrency=100)
Commit count: 0

cargo fmt