From b7f729b9e370ffb74d0bd5c3ea20823a76981bbc Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 22 Jun 2024 17:55:42 +1000 Subject: [PATCH] fix: Use kdig in the start of the test command --- monitor.log | 28 +--------------------------- test.sh | 2 +- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/monitor.log b/monitor.log index dd6d6ae..8b13789 100644 --- a/monitor.log +++ b/monitor.log @@ -1,27 +1 @@ -Sat 22 Jun 2024 17:29:46 AEST - Test -Sat 22 Jun 2024 17:30:35 AEST - Test -Sat 22 Jun 2024 17:30:50 AEST - Test -Sat 22 Jun 2024 17:31:01 AEST - Test -Sat 22 Jun 2024 17:31:14 AEST - Test -Sat 22 Jun 2024 17:31:25 AEST - Test -Sat 22 Jun 2024 17:31:38 AEST - Test -Sat 22 Jun 2024 17:31:51 AEST - Test -Sat 22 Jun 2024 17:32:04 AEST - Test -Sat 22 Jun 2024 17:32:09 AEST - kdig +tls-ca +https failed for NODE_IP=172.105.120.203 -Sat 22 Jun 2024 17:32:20 AEST - Test -Sat 22 Jun 2024 17:32:33 AEST - Test -Sat 22 Jun 2024 17:32:47 AEST - Test -Sat 22 Jun 2024 17:32:59 AEST - Test -Sat 22 Jun 2024 17:33:11 AEST - Test -Sat 22 Jun 2024 17:33:25 AEST - Test -Sat 22 Jun 2024 17:33:37 AEST - Test -Sat 22 Jun 2024 17:33:51 AEST - Test -Sat 22 Jun 2024 17:36:21 AEST - Test -Sat 22 Jun 2024 17:49:37 AEST - Test -Sat 22 Jun 2024 17:49:54 AEST - Test -Sat 22 Jun 2024 17:50:17 AEST - Test -Sat 22 Jun 2024 17:50:36 AEST - Test -Sat 22 Jun 2024 17:50:49 AEST - Test -Sat 22 Jun 2024 17:51:04 AEST - Test -Sat 22 Jun 2024 17:51:16 AEST - Test -Sat 22 Jun 2024 17:51:45 AEST - Test + diff --git a/test.sh b/test.sh index 409606a..98b23bb 100755 --- a/test.sh +++ b/test.sh @@ -3,7 +3,7 @@ # Check if script has IP address as argument if [ -z "$1" ]; then # Get Node IPs - RESOLVED_IPS=$(dig +short hnsdoh.com) + RESOLVED_IPS=$(kdig +short hnsdoh.com) NODE_IPS=($RESOLVED_IPS) if [ ${#NODE_IPS[@]} -eq 0 ]; then echo "No IP addresses resolved for hnsdoh.com. Exiting."