From de6fe5039b0f2c985c5e65a013072df6fd2abaf6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 20 Sep 2017 12:18:25 -0600 Subject: [PATCH] copy dig timeout message --- bin/dig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dig.js b/bin/dig.js index 84fc620..4b3e750 100755 --- a/bin/dig.js +++ b/bin/dig.js @@ -261,7 +261,8 @@ cli.main(function (args, cli) { } } , onTimeout: function (res) { - console.log("Timeout after " + res.timeout + "ms: No response received."); + console.log(";; connection timed out; no servers could be reached"); + console.log(";; [timed out after " + res.timeout + "ms and 1 tries]"); } , mdns: cli.mdns , nameserver: cli.nameserver