Giter Club home page Giter Club logo

dnslookup's Introduction

DNS Records Fetcher

Overview

DNS Records Fetcher is a Python script designed to retrieve DNS records for a given domain. This tool supports fetching specific types of DNS records such as A, AAAA, MX, NS, TXT, CNAME, and SOA or all available records at once.

Features

  • Fetch Specific Record Type: Allows the user to specify a particular DNS record type to fetch, such as A, MX, etc.
  • Fetch All Records: A convenient option to retrieve all supported types of DNS records for a domain with a single command.

Requirements

  • Python 3.x
  • dnspython library

Installation

To use this script, ensure you have Python installed on your system. If not, you can download it from python.org. You will also need the dnspython library, which can be installed via pip. Here’s how to set up your environment:

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

Show help To show command help and see available options, use the command:

python main.py -h

Fetch a Specific Type of DNS Record To fetch a specific type of DNS record for a domain, use the following command:

python main.py example.com A

Here is how you might retrieve the MX records for example.com:

python main.py example.com MX

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

dnslookup's People

Contributors

bourneash avatar

Watchers

Jesse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.