Skip gluerecord checks if we're using dns.fedcom.net
This commit is contained in:
parent
885afc244b
commit
1fd47a344b
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
check_gluerecords() {
|
check_gluerecords() {
|
||||||
echo -ne "\n* Checking glue records for $DOMAIN_NEW.."
|
echo -ne "\n* Checking glue records for $DOMAIN_NEW.."
|
||||||
|
if host -t ns ${DOMAIN_NEW} |grep -E '\.dns\.fedcom\.net\.$'; then
|
||||||
|
echo "Not needed (using dns.fedcom.net)"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
local DOMAIN_PARENT=$(echo $DOMAIN_NEW |cut -d. -f2-)
|
local DOMAIN_PARENT=$(echo $DOMAIN_NEW |cut -d. -f2-)
|
||||||
local NS_PARENT=""
|
local NS_PARENT=""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user