Browse Source

feat(hooks): remove increase-serial and notify
1.) increase-serial is done automatically when updating records through the pdns REST API
2.) notify is done automatically when serial has changed, see `slave-cycle-interval` setting

Peter Thomassen 8 years ago
parent
commit
2481aabee2
1 changed files with 0 additions and 5 deletions
  1. 0 5
      desecapi/hooks/domain_post_update.sh

+ 0 - 5
desecapi/hooks/domain_post_update.sh

@@ -11,11 +11,6 @@ set -ex
 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
 
 echo -n "This was $0: "
 date