Skip to content

zbisch/AsyncReverseDns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

asyncRevDNS - Asynchronous Reverse DNS lookups

WARNING
=======
This can quickly slam your DNS server pretty hard (default simultaneous requests is 1000).
This works for me in environment I use, but could have issues.

Zachary Bischof 2012

HOW TO USE
==========
To run, direct a list of IPs to stdin of script.

E.g.
Using echo: `echo "123.45.67.89\n98.76.54.32" | python reverseDnsAsync.py`

Using cat: `cat ips.txt | python reverseDnsAsync.py`

In the latter case, the file 'ips.txt' is a file with a single IP address on each line.

After completing, the script will print out the IPs and hostnames for each IP address it found in the form of '<IP address>,<hostname>'.

Any IPs not printed could not be found (e.g. due to timeout, NXDomain, etc)

Required libraries (not normally installed): twisted, IPy

About

Asynchronous reverse DNS lookups using Twisted (deferreds). Written in python and much faster than sequential lookups.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages