updated by /home/nico/bin/sync-all-repos on nb3
This commit is contained in:
parent
f875dbf66d
commit
e579e8566f
1 changed files with 14 additions and 0 deletions
14
whois-dig-reverse-tld.sh
Normal file
14
whois-dig-reverse-tld.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
while read domain ; do
|
||||
fulldomain=$(echo $domain | rev).${domain}
|
||||
echo Checking ${fulldomain} ...
|
||||
has_ns=$(dig +short ${fulldomain} ns)
|
||||
|
||||
# No NS server? potentially free
|
||||
if [ -z "$has_ns" ]; then
|
||||
echo "No ns for $fulldomain"
|
||||
echo $fulldomain >> tld_no_ns
|
||||
fi
|
||||
done < ./tld
|
Loading…
Reference in a new issue