diff --git a/README.md b/README.md index 7f70486..a241a1e 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Dependencies will then be installed and DNS Validator will be added to your path ## CLI: ```bash -$ dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 20 -o resolvers.txt +$ dnsvalidator -tL https://publicdns.info/nameservers.txt -threads 20 -o resolvers.txt ``` ## Docker: @@ -59,7 +59,7 @@ $ docker build -t dnsvalidator . Run: ```bash -$ docker run -v $(pwd):/dnsvalidator/output -t dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 20 -o /dnsvalidator/output/resolvers.txt +$ docker run -v $(pwd):/dnsvalidator/output -t dnsvalidator -tL https://publicdns.info/nameservers.txt -threads 20 -o /dnsvalidator/output/resolvers.txt ``` # Caveats diff --git a/dnsvalidator/lib/core/input.py b/dnsvalidator/lib/core/input.py index 4e512c3..ced70ad 100644 --- a/dnsvalidator/lib/core/input.py +++ b/dnsvalidator/lib/core/input.py @@ -114,7 +114,7 @@ def setup_parser(): '-tL', dest='target_list', required=False, help='Specify a list of target DNS servers to try to resolve. ' 'May be a file, or URL to listing', - default="https://public-dns.info/nameservers.txt", + default="https://publicdns.info/nameservers.txt", type=lambda x: InputHelper.process_targets(parser, x) )