Thanks to: @covuworie for the feedback and improvement suggestions!
I set up an scheduled task in Google Cloud that automatically launches https://github.com/teknogeek/fresh.py https://github.com/vortexau/dnsvalidator https://github.com/frost19k/DNSValidator.git on a Github action every 24h 48h posts the updated resolvers.txt list to this repository.
I'm currently pulling and running through dnsvalidator the following lists (open to add more :D):
- https://public-dns.info/nameservers-all.txt
- https://raw.githubusercontent.com/blechschmidt/massdns/master/lists/resolvers.txt
So if nothing goes wrong, we are supposed to get a list of reliable DNS servers in this repo.
So you could so something like:
./bin/massdns -r <(curl -s https://raw.githubusercontent.com/BBerastegui/fresh-dns-servers/master/resolvers.txt) ...
Or
cat domains.txt \
| zdns ANY \
--name-servers <(curl -s https://raw.githubusercontent.com/BBerastegui/fresh-dns-servers/master/resolvers.csv | sed -e 's/,/:53,/g' | sed -e 's/$/:53/')
Or whatever you want.
Disclaimer: I know that the .csv file is not a "proper" csv, but it fits the zdns format :)
Let's see if this works!