Skip to content

clarencesubia/dns_enumeration_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

DNS Enumeration Tool

Enumerate DNS records using Python. Run the script in powershell or command prompt.

Created by: Clarence Subia

Creation date: 01/29/2022

Usage:

Query all records for a single domain:

  • Record type: "A", "AAAA", "NS", "CNAME", "MX", "PTR", "SOA", "TXT"
  • python3 dnslookup.py -t youtube.com

Query a specific record for a single domain:

  • python3 dnslookup.py -t youtube.com -q A
  • python3 dnslookup.py -t youtube.com -q A MX

Query multiple targets from a txt file:

*python3 dnslookup.py -f targets.txt -q A

Reverse DNS Query:

  • python3 dnslookup.py -t 127.0.0.1 -q ptr
  • python3 dnslookup.py -f ip_lists.txt -q ptr

References:

DNS Python

Releases

No releases published

Packages

No packages published

Languages