1
1
Fork 0

added check_glue_records

This commit is contained in:
david 2017-02-27 11:58:26 +01:00
parent cb0fce18bc
commit dc860af85c
1 changed files with 14 additions and 0 deletions

14
check_glue_records.sh Executable file
View File

@ -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