summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckdns.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/checkdns.sh b/checkdns.sh
new file mode 100755
index 0000000..b73f0eb
--- /dev/null
+++ b/checkdns.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+# dnscheck.sh — verify key failzero records are alive
+
+DOMAINS=(server freakazoid skeletor darkstar code a c d db.pinky db.thebrain krang infernode lxd bouncer code blackhole gammaray)
+BASE="failzero.net"
+
+echo "🧠 DNS Sanity Check for $BASE"
+echo "============================="
+
+for sub in "${DOMAINS[@]}"; do
+ full="${sub}.${BASE}"
+ ip=$(dig +short "$full" @1.1.1.1)
+ if [[ -z "$ip" ]]; then
+ echo "❌ $full → NO ANSWER"
+ else
+ echo "✅ $full → $ip"
+ fi
+done