DNSYO is a little tool I built to help me keep track of DNS propagation.
In short, it's
nslookup queried over 1500 servers and collated their results.
Here's what it does
$ dnsyo -t 100 -q ALL example.com Status: Queried 1804 of 1804 servers, duration: 0:00:09.334441 - RESULTS I asked 1804 servers for A records related to example.com, 1771 responded with records and 33 gave errors Here are the results; 1738 servers responded with; 18.104.22.168 26 servers responded with; 127.0.0.1 1 servers responded with; 22.214.171.124 1 servers responded with; 126.96.36.199 1 servers responded with; 188.8.131.52 1 servers responded with; 184.108.40.206 2 servers responded with; 220.127.116.11 1 servers responded with; 18.104.22.168 And here are the errors; 8 servers responded with; No Nameservers 4 servers responded with; No Answer 21 servers responded with; Server Timeout
DNSYO requires Python 2.6 or later. The easiest way to install is by running
pip install dnsyo --upgrade
You should probably install it within a virtualenv.
If all goes well, you should be clear to start querying stuff
To test, try running
It will query 500 random DNS servers in the database, and give you the results.
For more information on the flags run
DNSYO has 3 output modes;
- standard - Will display all the results and errors from querying
- extended - Same as standard but includes the names and addresses of the servers it queried
- simple - Simple output mode which is useful for UNIX scripting
To change output mode, pass ether
--simple to DNSYO.
DNSYO periodically updates it's internal resolver database from this repo. The first time you run it, and once every 2 weeks, it will try to download the
resolver-list.yml file and store it to
~/.dnsyo-resovers-list.yaml directory. If you know of any more open DNS resolvers feel free to add them to the list.
By default, DNSYO will pick 500 servers at random from it's list to query. You can change this with the
-q flag. If you want DNSYO to query all the servers just pass
dig, you can pass the record type as the second positional argument to DNSYO, so to get Google's MX records just do
dnsyo google.com MX
DNSYO is released under the MIT licence, see
LICENCE.txt for more info