dig-improved

Branches

develop (2020-06-11 21:31:10 +0100)
master (2020-06-11 21:31:22 +0100)

Files

Name
.gitignore
LICENCE
README.md
dig-improved.png
diga.sh
# Dig Improved

This script takes the output from `dig` and colourises and sorts it to make it easier to read

Example output showing DNS records for amazon.co.uk

## Example

Return all DNS records for exampledomain.co.uk:

    ./diga.sh exampledomain.co.uk

Return just A records for exampledomain.co.uk:

    ./diga.sh exampledomain.co.uk -r A

Return all DNS records for exampledomain.co.uk as reported by the 1.1.1.1 nameserver:

    ./diga.sh exampledomain.co.uk -n 1.1.1.1

## Parameters

The following optional parameters are available
The parameter defaults are in the []:

    -r|--record         The record type to look for [ANY]
    -n|--name-server	The nameserver to query [system NS]