Giter Site home page Giter Site logo

getdnsrecords's Introduction

GetDNSrecords

 DNSChecker 1.07
 ###############

Script to get the DNS A, RDNS, MX, NS and TXT records in a text or any file format you are providing.

USAGE :

     #./dns_checker.py --help

usage: DNSChecker [-h] [--output OUTPUT] [--version] [--mailserver MAILSERVER] [--arecord ARECORD] [--txt TXT] [--nameservers NAMESERVERS] [--allrecords ALLRECORDS]

optional arguments: -h, --help show this help message and exit --output OUTPUT, -o OUTPUT Location to which results are saved, /var/log/dnsresult.log if no location given --version, -v Version of DNSChecker --mailserver MAILSERVER, -m MAILSERVER To get only the Mail server informations of your domain --arecord ARECORD, -a ARECORD To get the A record of your domain only --txt TXT, -t TXT To get TXT and SPF of the domain only --nameservers NAMESERVERS, -ns NAMESERVERS List the name servers of the domain --allrecords ALLRECORDS, -all ALLRECORDS Get the DNS records of the domain - A, MX, PTR(RDNS), TXT & SPF

The default location of the output/results will be at โ€˜/var/log/dnsresult.logโ€™, you can choose the output location as the command line argument. The output log will be cleared each time when the script executed. Also the script will provide the results for valid/active domains only.

REQUIREMENTS:

This script will run on Python 3.x versions only.

Below are the additional modules you need to install to work this script.

dnspython
argparse
tldextract
re

Once you have installed Python 3.x version, you can install the modules using 'pip' - package management system used to install and manage software packages written in Python.

For example, if you are installed Python 3.6.5 version, then use the below commands to install the required modules for this script.

#pip3.6 install dnspython

#pip3.6 install argparse

#pip3.6 install tldextract

getdnsrecords's People

Contributors

jamesakm 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.