From 435e3b4c205b7ee557baf21fd4f57f16cb109929 Mon Sep 17 00:00:00 2001
From: markSmurphy <mark.murphy@techemail.com>
Date: Wed, 28 Jul 2021 15:38:34 +0100
Subject: [PATCH] v1.8.7 - Dependency and default config updates

---
 CHANGELOG.md         |  5 ++++-
 distributed-dig.json |  8 ++++----
 package-lock.json    | 33 ++++++++++++++++++---------------
 package.json         |  4 ++--
 4 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index dada343..464a096 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,13 @@
 # Changelog
 
-## [1.8.7] - MMM DD<sup>th</sup> 2021
+## [1.8.7] - July 28<sup>th</sup> 2021
 
 ### Changed
 
 * Updated dependency `debug` to version `4.3.2`.
+* Updated dependency `is-valid-domain` to version `0.1.2`.
+* Increased default timeout to `10000` milliseconds.
+* Updated DNS server IP addresses for **UK**, **Singapore** and **Mexico**.
 
 ---
 
diff --git a/distributed-dig.json b/distributed-dig.json
index 5e181e0..0209919 100644
--- a/distributed-dig.json
+++ b/distributed-dig.json
@@ -3,7 +3,7 @@
     "request": {
       "port": 53,
       "type": "udp",
-      "timeout": 3500,
+      "timeout": 10000,
       "try_edns": false,
       "cache": false
     },
@@ -69,7 +69,7 @@
       "provider": "Verisign DNS (Secondary)"
     },
     {
-      "nameServer": "172.104.49.100",
+      "nameServer": "118.189.211.221",
       "provider": "Singapore"
     },
     {
@@ -85,7 +85,7 @@
       "provider": "Netherlands"
     },
     {
-      "nameServer": "5.133.40.77",
+      "nameServer": "212.118.241.33",
       "provider": "United Kingdom"
     },
     {
@@ -105,7 +105,7 @@
       "provider": "Argentina"
     },
     {
-      "nameServer": "201.147.98.2",
+      "nameServer": "200.76.5.147",
       "provider": "Mexico"
     }
   ]
diff --git a/package-lock.json b/package-lock.json
index c6c7718..75144d7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,7 @@
         "columnify": "^1.5.4",
         "debug": "^4.3.2",
         "is-ip": "^3.1.0",
-        "is-valid-domain": "0.0.19",
+        "is-valid-domain": "^0.1.2",
         "native-dns-multisocket": "^0.7.0",
         "pretty-error": "^3.0.4",
         "supports-color": "^8.1.0",
@@ -381,11 +381,11 @@
       }
     },
     "node_modules/is-valid-domain": {
-      "version": "0.0.19",
-      "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.0.19.tgz",
-      "integrity": "sha512-NxuZbJABXdGlFNEVphG9bT0YOQE0B75Bv+emGsEjmRnAs9aMUVbdKUafj//yTxApThjqQqRKBd9MJDlnqx8Pmg==",
+      "version": "0.1.2",
+      "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.2.tgz",
+      "integrity": "sha512-vm/9Ynw80MusgfSMffjGRuMhO8hjk5MOxLoFL7nYWvWXTPCxTGQtACiCwO055UqHICG8xP6hIvRXK1iwnuU9GA==",
       "dependencies": {
-        "punycode": "^1.4.1"
+        "punycode": "^2.1.1"
       }
     },
     "node_modules/lodash": {
@@ -456,9 +456,12 @@
       }
     },
     "node_modules/punycode": {
-      "version": "1.4.1",
-      "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
-      "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+      "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+      "engines": {
+        "node": ">=6"
+      }
     },
     "node_modules/renderkid": {
       "version": "2.0.7",
@@ -889,11 +892,11 @@
       }
     },
     "is-valid-domain": {
-      "version": "0.0.19",
-      "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.0.19.tgz",
-      "integrity": "sha512-NxuZbJABXdGlFNEVphG9bT0YOQE0B75Bv+emGsEjmRnAs9aMUVbdKUafj//yTxApThjqQqRKBd9MJDlnqx8Pmg==",
+      "version": "0.1.2",
+      "resolved": "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.2.tgz",
+      "integrity": "sha512-vm/9Ynw80MusgfSMffjGRuMhO8hjk5MOxLoFL7nYWvWXTPCxTGQtACiCwO055UqHICG8xP6hIvRXK1iwnuU9GA==",
       "requires": {
-        "punycode": "^1.4.1"
+        "punycode": "^2.1.1"
       }
     },
     "lodash": {
@@ -952,9 +955,9 @@
       }
     },
     "punycode": {
-      "version": "1.4.1",
-      "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
-      "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+      "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
     },
     "renderkid": {
       "version": "2.0.7",
diff --git a/package.json b/package.json
index 72ac897..da8c06c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "distributed-dig",
-  "version": "1.8.6",
+  "version": "1.8.7",
   "description": "A utility which makes DNS lookup requests across multiple DNS resolvers and collates the results.",
   "main": "distributed-dig.js",
   "scripts": {
@@ -44,7 +44,7 @@
     "columnify": "^1.5.4",
     "debug": "^4.3.2",
     "is-ip": "^3.1.0",
-    "is-valid-domain": "0.0.19",
+    "is-valid-domain": "^0.1.2",
     "native-dns-multisocket": "^0.7.0",
     "pretty-error": "^3.0.4",
     "supports-color": "^8.1.0",