/LightDNS-Checker

LightDNS Checker is a Python script for checking a domain's DNS records and their DNS zone provider using dnspython library. Ideal for system administrators, network engineers, and security analysts.

Primary LanguagePythonMIT LicenseMIT

LightDNS Checker

alt text

A Python script for checking a domain's DNS records and their DNS Zone provider.

Usage

  1. Clone the repository:

    git clone https://github.com/emenmousavi/lightdns-checker.git
    cd lightdns-checker
  2. Install the required packages:

    pip install dnspython
  3. 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

  1. The program will print out the DNS records for the specified domain, as well as the DNS Zone provider.

alt text

Options

  • -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)

License

This project is licensed under the MIT License.