Explorar o código

fix(hooks): revert back to notification via pdns_control since we've reduced the number of updates

Peter Thomassen %!s(int64=9) %!d(string=hai) anos
pai
achega
f674b5e704
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      desecapi/hooks/domain_post_update.sh

+ 3 - 3
desecapi/hooks/domain_post_update.sh

@@ -13,9 +13,9 @@ ZONE=$1
 pdnsutil rectify-zone $ZONE
 pdnsutil increase-serial $ZONE
 
-#pdns_control notify $ZONE
-dig -b 178.63.189.78 +short +opcode=NOTIFY SOA $ZONE @54.88.76.245
-dig -b 178.63.189.78 +short +opcode=NOTIFY SOA $ZONE @178.63.189.72
+pdns_control notify $ZONE
+#dig -b 178.63.189.78 +short +opcode=NOTIFY SOA $ZONE @54.88.76.245
+#dig -b 178.63.189.78 +short +opcode=NOTIFY SOA $ZONE @178.63.189.72
 
 echo -n "This was $0: "
 date