Explorar el Código

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

Peter Thomassen hace 8 años
padre
commit
f674b5e704
Se han modificado 1 ficheros con 3 adiciones y 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 rectify-zone $ZONE
 pdnsutil increase-serial $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: "
 echo -n "This was $0: "
 date
 date