diff --git a/check_glue_records.sh b/check_glue_records.sh new file mode 100755 index 0000000..387793a --- /dev/null +++ b/check_glue_records.sh @@ -0,0 +1,14 @@ +#!/bin/sh +S=${IFS} +IFS=. +for P in $1; do + TLD=${P} +done +IFS=${S} + +echo "TLD: ${TLD}" +DNSLIST=$(dig +short ${TLD}. NS) +for DNS in ${DNSLIST}; do + echo "Checking ${DNS}" + dig +norec +nocomments +noquestion +nostats +nocmd @${DNS} $1 NS +done