This Python script performs DNS enumeration for a specified domain, retrieving various types of DNS records.
- Enumerates multiple DNS record types: A, AAAA, NS, MX, PTR, SOA.
- Handles common errors and exceptions during DNS resolution.
- Command-line usage with syntax checking.
-
Clone the repository:
git clone https://github.com/yourusername/subdomain-enumeration.git cd DNS-Enumeration_Tool
-
Install dependencies:
pip install dnspython
-
Run the script:
python3 dns_enum.py example.com
Replace
example.com
with the target domain. -
The script will display information about the specified domain, including various DNS records.
- dnspython: A DNS toolkit for Python.
Feel free to contribute to the project by opening issues or pull requests. Your feedback and improvements are welcome!
This project is inspired by the YouTube tutorial series Subdomain Enumeration for Hackers .