Fixed gluerecords script
This commit is contained in:
parent
e7a47e171b
commit
6155658029
@ -33,7 +33,13 @@ check_gluerecords() {
|
||||
echo -ne "* Glue records are correct!\n\n"
|
||||
}
|
||||
|
||||
DOMAIN_NEW="federated.sh"
|
||||
usage() {
|
||||
echo "$0: <domain.com>"
|
||||
exit 2
|
||||
}
|
||||
|
||||
[ $# != 1 ] && usage
|
||||
DOMAIN_NEW=$1
|
||||
EXTERNALIP=`dig @resolver4.opendns.com myip.opendns.com +short 2> /dev/null`
|
||||
[ $? -ne 0 ] && failcheck "Couldn't run dig, dns is not working"
|
||||
check_gluerecords
|
||||
|
Loading…
x
Reference in New Issue
Block a user