From 830907aa3354f6fd2059fbccd8f26a744c15e237 Mon Sep 17 00:00:00 2001 From: Max O'Cull Date: Mon, 16 Sep 2024 22:15:47 -0400 Subject: [PATCH] Add local dns --- scripts/check-dns.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check-dns.sh b/scripts/check-dns.sh index 012cf70..a14024b 100755 --- a/scripts/check-dns.sh +++ b/scripts/check-dns.sh @@ -6,7 +6,7 @@ check_dns() { nameserver=$3 printf "%s" "${authority}" - dig "$domain" "@${nameserver}" + dig "$domain" "@${nameserver}" +tries=1 } domain="www.maxocull.com" @@ -17,3 +17,4 @@ check_dns "$domain" "Google" "8.8.8.8" check_dns "$domain" "Quad9" "9.9.9.9" check_dns "$domain" "Cloudflare" "1.1.1.1" check_dns "$domain" "DuckDNS" "ns1.duckdns.org" +check_dns "$domain" "Local DNS" "192.168.1.1"