changeset 1206:08be53f67e42 draft

NSD requires absolute origin
author cathugger <cathugger@cock.li>
date Sun, 13 May 2018 19:28:39 +0000
parents 29449ec44913
children a461bd595421
files scripts/nameserver_autogen/bind_tld_zonefile.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/nameserver_autogen/bind_tld_zonefile.sh	Sun May 13 12:49:26 2018 +0000
+++ b/scripts/nameserver_autogen/bind_tld_zonefile.sh	Sun May 13 19:28:39 2018 +0000
@@ -33,7 +33,7 @@
 
  echo "; this zonefile genreated on: `date -u`" > "$RDNS_ZONEFILE".tmp
  echo '$TTL 3600' >> "$RDNS_ZONEFILE".tmp
- echo '$ORIGIN' $DOM >> "$RDNS_ZONEFILE".tmp
+ echo '$ORIGIN' $DOM. >> "$RDNS_ZONEFILE".tmp
  echo '@ IN SOA @ root ('`date -u +" %Y%m%d%H"`' 60 300 3600000 3600 )' >> "$RDNS_ZONEFILE".tmp
  echo '@ IN NS  @' >> "$RDNS_ZONEFILE".tmp
  echo '@ IN A   127.0.0.1' >> "$RDNS_ZONEFILE".tmp
@@ -60,7 +60,7 @@
 
  echo "; this zonefile genreated on: `date -u`" > "$ANO_ZONEFILE".tmp
  echo '$TTL 3600' >> "$ANO_ZONEFILE".tmp
- echo '$ORIGIN' $TLD >> "$ANO_ZONEFILE".tmp
+ echo '$ORIGIN' $TLD. >> "$ANO_ZONEFILE".tmp
  echo '@ IN SOA @ root ('`date -u +" %Y%m%d%H"`' 60 300 3600000 3600 )' >> "$ANO_ZONEFILE".tmp
  echo '@ IN NS  @' >> "$ANO_ZONEFILE".tmp
  echo '@ IN A   127.0.0.1' >> "$ANO_ZONEFILE".tmp