Maintains a list of IPv4 DNS servers by verifying them against baseline servers, and ensuring accurate responses.
Argument | Description |
---|---|
(stdin) | Pipe target lists from another application to verify. |
-t | Specify a target DNS server to verify. |
-tL | Specify a list of targets or a URL to a list of targets |
-e | Specify a target exclusion. |
-eL | Specify a list of targets or a URL to a list of targets to exclude. |
-r | Specify a root domain to compare to. Must be non-geolocated or most resolvers will fail. |
-q | Specify a resolver query to use (default:dnsvalidator) |
-threads | Specify the maximum number of threads to run at any one time (DEFAULT:5) |
-timeout | Specify a timeout value in seconds for any single thread (DEFAULT:600) |
-o | Specify an output file to write successful output to. |
--no-color | If set then any foreground or background colours will be stripped out |
--silent | If set then only successfully resolved servers will be displayed and banners and other information will be redacted. |
-v | If set then verbose output will be displayed in the terminal. |
Install using:
$ pip3 install -r requiremets.txt
$ python3 dnsvalidator.py -tL https://public-dns.info/nameservers.txt -threads 20 -o resolvers.txt