Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YoSmudge/dnsyo
Check your DNS against over 1000 global DNS servers
https://github.com/YoSmudge/dnsyo
Last synced: about 1 month ago
JSON representation
Check your DNS against over 1000 global DNS servers
- Host: GitHub
- URL: https://github.com/YoSmudge/dnsyo
- Owner: YoSmudge
- License: mit
- Archived: true
- Created: 2013-10-02T16:10:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T10:00:51.000Z (over 5 years ago)
- Last Synced: 2024-10-14T04:48:06.823Z (2 months ago)
- Language: Python
- Homepage: http://samarudge.github.io/dnsyo/
- Size: 371 KB
- Stars: 952
- Watchers: 50
- Forks: 98
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - YoSmudge/dnsyo - Check your DNS against over 1000 global DNS servers (Python)
- starred-awesome - dnsyo - Check your DNS against over 1000 global DNS servers (Python)
README
#DNSYO
##AALLLLL THE DNSDNSYO is a little tool I built to help me keep track of DNS propagation.
In short, it's `dig`, if `dig` queried over 1000 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;
93.184.216.11926 servers responded with;
127.0.0.11 servers responded with;
97.87.216.2101 servers responded with;
64.202.162.371 servers responded with;
68.87.91.1991 servers responded with;
216.8.179.232 servers responded with;
77.244.128.691 servers responded with;
1.1.1.12And here are the errors;
8 servers responded with;
No Nameservers4 servers responded with;
No Answer21 servers responded with;
Server Timeout##Installation
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
dnsyo google.com
It will query 500 random DNS servers in the database, and give you the results.
##Usage
For more information on the flags run `dnsyo -h`
###Output modes
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 scriptingTo change output mode, pass ether `--extended` or `--simple` to DNSYO.
###Resolver list
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-resolvers-list.yaml` directory. If you know of any more open DNS resolvers feel free to add them to the `resolver-list-source.yml` file. There's a job that runs every month to update the working list from the source and remove any dead or misfunctioning servers.
By default, DNSYO will pick 500 servers at random from it's list to query. You can change this with the `--servers` or `-q` flag. If you want DNSYO to query all the servers just pass `--servers=ALL` or `-q=ALL`.
###Record types
Just like `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
##Licence
DNSYO is released under the MIT licence, see `LICENCE.txt` for more info
##Documentation
Module documentation is available for dnsyo, you can view the module documentation as generated by [epydoc](https://www.codesam.co.uk/files/dnsyo/docs/epydoc/) or [docco](https://www.codesam.co.uk/files/dnsyo/docs/docco/dnsyo.html)