From f99cd4a3f12eb5312d9e49c4feed9895d030af43 Mon Sep 17 00:00:00 2001 From: Rian Kelly Date: Sun, 22 Mar 2026 00:30:13 +0000 Subject: [PATCH] Update default DNS source from public-dns.info to publicdns.info public-dns.info has become stale and is no longer actively maintained. publicdns.info provides a larger, continuously-validated resolver list (8,500+ servers, re-verified every 72 hours) and is a direct drop-in replacement. The nameservers.txt endpoint format is identical, so no other changes are required. --- README.md | 4 ++-- dnsvalidator/lib/core/input.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) )