A simple Python script to perform DNS lookups for various record types.
- Looks up multiple DNS record types: A, AAAA, MX, CNAME, TXT, SOA
- Handles domain validation
- Clean output formatting
- Command-line and interactive modes
- Python 3.x
dnspython
library
pip install dnspython
python dns_lookup.py
Then enter the domain when prompted.