|
@@ -11,7 +11,7 @@ for ZONE in `(echo "SELECT name FROM domains WHERE id NOT IN(SELECT domain_id FR
|
|
|
|
|
|
PARENT=${ZONE#*.}
|
|
PARENT=${ZONE#*.}
|
|
SALT=`head -c300 /dev/urandom | sha512sum | cut -b 1-16`
|
|
SALT=`head -c300 /dev/urandom | sha512sum | cut -b 1-16`
|
|
- pdnsutil secure-zone $ZONE && pdnsutil set-nsec3 $ZONE "1 0 10 $SALT" && pdnsutil increase-serial $ZONE
|
|
|
|
|
|
+ pdnsutil secure-zone $ZONE && pdnsutil set-nsec3 $ZONE "1 0 10 $SALT" && pdnsutil set-kind $ZONE MASTER
|
|
|
|
|
|
if [ "$PARENT" == "dedyn.io" ]; then
|
|
if [ "$PARENT" == "dedyn.io" ]; then
|
|
filename=/tmp/`date -Ins`_$ZONE.log
|
|
filename=/tmp/`date -Ins`_$ZONE.log
|