diff --git a/scripts/dns_update.sh b/scripts/dns_update.sh index 05160279..abde310a 100755 --- a/scripts/dns_update.sh +++ b/scripts/dns_update.sh @@ -69,7 +69,7 @@ for fn in $STORAGE_ROOT/dns/*.txt; do \$ORIGIN $zone. ; default zone domain \$TTL 86400 ; default time to live -@ IN SOA ns1.$zone. domain_contact.$zone. ( +@ IN SOA ns1.$zone. hostmaster.$PRIMARY_HOSTNAME. ( $serial ; serial number 28800 ; Refresh 7200 ; Retry diff --git a/scripts/start.sh b/scripts/start.sh index e164867e..873cc3a2 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -69,5 +69,6 @@ if [ -z `tools/mail.py user` ]; then echo "Let's create your first mail user." read -e -i "user@`hostname`" -p "Email Address: " EMAIL_ADDR tools/mail.py user add $EMAIL_ADDR # will ask for password + tools/mail.py alias add hostmaster@$PUBLIC_HOSTNAME $EMAIL_ADDR fi