A Python script for checking a domain's DNS records and their DNS Zone provider.
-
Clone the repository:
git clone https://github.com/emenmousavi/lightdns-checker.git cd lightdns-checker
-
Install the required packages:
pip install dnspython
-
Run the script:
python lightdns-checker.py example.com
Note: Replace "example.com" with the domain that you want to check. You can also use the -t and -n options to retrieve specific DNS records by type and name. For example:
sh python lightdns-checker.py example.com -t MX
sh python lightdns-checker.py example.com -n www
- The program will print out the DNS records for the specified domain, as well as the DNS Zone provider.
-t <record type>
: Only show records of the specified type (e.g.-t A
)-n <record name>
: Only show records with the specified name (e.g.-n www
)
This project is licensed under the MIT License.