Fixed PDNS NS record back and mailalias for hostmaster, postmaster, abuse
This commit is contained in:
parent
838b114100
commit
d2cd92fdf8
@ -122,6 +122,9 @@ sn: admin
|
|||||||
uid: admin
|
uid: admin
|
||||||
mail: admin@$DOMAIN
|
mail: admin@$DOMAIN
|
||||||
mailAlias: admin@$DOMAIN
|
mailAlias: admin@$DOMAIN
|
||||||
|
mailAlias: abuse@$DOMAIN
|
||||||
|
mailAlias: postmaster@$DOMAIN
|
||||||
|
mailAlias: hostmaster@$DOMAIN
|
||||||
cn: admin
|
cn: admin
|
||||||
mailEnabled: true
|
mailEnabled: true
|
||||||
objectClass: person
|
objectClass: person
|
||||||
|
@ -91,8 +91,8 @@ done
|
|||||||
# Create CNAME record for domain to www
|
# Create CNAME record for domain to www
|
||||||
curl -X PATCH --data '{"rrsets": [ {"name": "*.$DOMAIN.", "type": "CNAME", "ttl": 86400, "changetype": "REPLACE", "records": [ {"content": "www.$DOMAIN.", "disabled": false } ] } ] }' -H 'X-API-Key: $PDNS_APIKEY' http://127.0.0.1:8081/api/v1/servers/localhost/zones/$DOMAIN.
|
curl -X PATCH --data '{"rrsets": [ {"name": "*.$DOMAIN.", "type": "CNAME", "ttl": 86400, "changetype": "REPLACE", "records": [ {"content": "www.$DOMAIN.", "disabled": false } ] } ] }' -H 'X-API-Key: $PDNS_APIKEY' http://127.0.0.1:8081/api/v1/servers/localhost/zones/$DOMAIN.
|
||||||
|
|
||||||
#pdnsutil add-record $DOMAIN @ NS ns1.$DOMAIN
|
pdnsutil add-record $DOMAIN @ NS ns1.$DOMAIN
|
||||||
#pdnsutil add-record $DOMAIN @ NS ns2.$DOMAIN
|
pdnsutil add-record $DOMAIN @ NS ns2.$DOMAIN
|
||||||
pdnsutil add-record $DOMAIN @ A 86400 $EXTERNALIP
|
pdnsutil add-record $DOMAIN @ A 86400 $EXTERNALIP
|
||||||
EOF
|
EOF
|
||||||
chmod +x /federated/apps/pdns/data/root/createrecords.sh
|
chmod +x /federated/apps/pdns/data/root/createrecords.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user