Skip to content

Improve error handling for DNS timeouts and clean terminal output#50

Open
mrvcode wants to merge 1 commit intovortexau:masterfrom
mrvcode:master
Open

Improve error handling for DNS timeouts and clean terminal output#50
mrvcode wants to merge 1 commit intovortexau:masterfrom
mrvcode:master

Conversation

@mrvcode
Copy link

@mrvcode mrvcode commented Feb 4, 2026

​"Hi! I've noticed that when a nameserver fails to respond (e.g., due to a firewall or connection timeout), the tool sometimes masks the error or displays a generic poisoning message.
​I have updated dnsvalidator.py to:
​Capture specific connection errors: It now displays the actual exception (like 'Resolution lifetime expired') instead of just failing.
​Clean up output: Removed redundant strings from the dnspython exceptions to keep the terminal logs readable.
​This change helps security researchers distinguish between a truly malicious DNS response and simple network connectivity issues during large scans."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments