From f37a508b7485407f8f764bdde0c6d8d6304ffe81 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sat, 31 Aug 2013 13:40:13 -0400 Subject: [PATCH] forgot to define ns1, ns2 hostnames --- scripts/dns_update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/dns_update.sh b/scripts/dns_update.sh index 05091d53..5867fe3f 100644 --- a/scripts/dns_update.sh +++ b/scripts/dns_update.sh @@ -54,12 +54,16 @@ for fn in $STORAGE_ROOT/dns/*.txt; do ) NS ns1.$zone. + NS ns2.$zone. IN A $PUBLIC_IP MX 10 mail.$zone. 300 TXT "v=spf1 mx -all" +ns1 IN A $PUBLIC_IP +ns2 IN A $PUBLIC_IP mail IN A $PUBLIC_IP +www IN A $PUBLIC_IP EOF # If OpenDKIM is set up, append that information to the zone.