Skip to content

Python script that takes a list of ips and will preform reverse lookup to resolve hostnames.

Notifications You must be signed in to change notification settings

mzarglis/DNS-Audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

DNS-Audit

Python script that takes a list of ips and will perform reverse lookup to resolve hostnames.

Wrote this to audit all our networked devices have correct reverse lookups populated in DNS

--Future--
-Integrate w/ HPNA (pull list of active devices)
-Ping hosts with no reverse records to see if alive
-Check for forward DNS records aswell
-email nicely formatted output on completion so i can make a cron job to run this monthly

##USAGE##

DNS-Audit.py [iplist] [nameserver ip]

iplist should be a file with IPs (1 per line) depends on dnspython package (pip install dnspython)

About

Python script that takes a list of ips and will preform reverse lookup to resolve hostnames.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages