Skip to content

Commit

Permalink
version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
markSmurphy committed Sep 21, 2019
1 parent f65b63b commit 391c675
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"MD013": false,
"MD033": false
"MD033": false,
"MD024": false
}
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@

![`ddig [domain]`](https://marksmurphy.github.io/img/ddig.single.domain.gif)

---

## Overview

Issues multiple DNS lookup requests across a multitude of DNS resolvers.
A utility which makes DNS lookup requests across multiple DNS resolvers and collates the results.

Useful for checking if a DNS record has been fully propagated, or for querying the origins behind an [AWS Route 53](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-types.html) / [Azure Traffic Manager](https://azure.microsoft.com/en-gb/services/traffic-manager/) record (*or any other DNS-based load balancing solution*).

---

## Installation

Installing globally is recommended:
Expand All @@ -27,12 +31,16 @@ Installing globally is recommended:
npm install -g distributed-dig
```

---

## Usage

```text
ddig domain [domain [domain] ...] [options]
```

---

## Options

The following options are available:
Expand Down Expand Up @@ -85,7 +93,7 @@ To create a custom config you can:

1. pipe **--list-defaults** to a new file: `ddig --list-defaults > custom.json`
2. Edit `custom.json`
3. Use the new configuration file: `ddig --config custom.json`
3. Use the new configuration file: `ddig --config [path]custom.json example.com`

### list-resolvers

Expand Down Expand Up @@ -129,6 +137,8 @@ Displays the help screen:

![`ddig --help`](https://marksmurphy.github.io/img/ddig.help.gif)

---

## Examples

### Lookup a single domain
Expand Down Expand Up @@ -161,6 +171,8 @@ ddig www.asos.com my.asos.com secure.asos.com --timeout 5000

![ddig www.asos.com my.asos.com secure.asos.com](https://marksmurphy.github.io/img/ddig.example.03.png)

---

## Features

### Unique IP Address Identifier
Expand All @@ -175,6 +187,8 @@ If you use the `--verbose` switch and have a terminal window that's narrower tha

![ddig column width warning](https://marksmurphy.github.io/img/ddig.width.warning.png)

---

## Configuration File

All Options and Resolvers are configured in `distributed-dig.json` file. This file can exist in any of the following locations:
Expand Down Expand Up @@ -225,6 +239,8 @@ Resolvers are configured in an array with each resolver having a `nameServer` el

You can find a list of public DNS servers [here](https://public-dns.info/) and tailor the configured list for your own requirements.

---

## Debugging

`distributed-dig` uses the npm package [debug](https://www.npmjs.com/package/debug "www.npmjs.com"). If you set the environment variable `debug` to `ddig` you'll see full debug output.
Expand All @@ -247,9 +263,18 @@ DEBUG=ddig
$env:debug="ddig"
```

---

## Changelog

### [1.1.0] - TBA
### [1.1.1] - September 21<sup>st</sup> 2019

#### Changed

* Fixed a problem when specifying a full path with the `--config` option.
* Fixed erroneous warnings when using `--config`.

### [1.1.0] - September 20<sup>th</sup> 2019

#### Added

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "distributed-dig",
"version": "1.1.0",
"version": "1.1.1",
"description": "A utility which makes DNS lookup requests across multiple DNS resolvers and collates the results.",
"main": "distributed-dig.js",
"scripts": {
Expand Down

0 comments on commit 391c675

Please sign in to comment.