NLnetLabs / dnsi

A tool to investigate the DNS.
BSD 3-Clause "New" or "Revised" License
43 stars 4 forks source link

Invalid hostname causes a crash #30

Open AlexanderBand opened 1 week ago

AlexanderBand commented 1 week ago

I entered dns9.quad9.org instead of dns9.quad9.net and caused dnsi to panic.

# dnsi query --tls --server dns9.quad9.org nlnetlabs.nl --format friendly
thread 'main' panicked at src/client.rs:84:9:
internal error: entered unreachable code
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace