diff options
author | cathugger <cathugger@cock.li> | 2018-05-13 19:28:39 +0000 |
---|---|---|
committer | cathugger <cathugger@cock.li> | 2018-05-13 19:28:39 +0000 |
commit | 2b1915aa0f36a8883ad5b924907660325f24e2a4 (patch) | |
tree | 37e7faeb3462acdaea14241c7cadf09814b3034c /scripts/nameserver_autogen | |
parent | 04ba1e147711c23b860e2b657e4f55146316d8b1 (diff) | |
download | resdb-2b1915aa0f36a8883ad5b924907660325f24e2a4.tar.gz resdb-2b1915aa0f36a8883ad5b924907660325f24e2a4.zip |
NSD requires absolute origin
Diffstat (limited to 'scripts/nameserver_autogen')
-rwxr-xr-x | scripts/nameserver_autogen/bind_tld_zonefile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nameserver_autogen/bind_tld_zonefile.sh b/scripts/nameserver_autogen/bind_tld_zonefile.sh index 8ead9ae..1fba781 100755 --- a/scripts/nameserver_autogen/bind_tld_zonefile.sh +++ b/scripts/nameserver_autogen/bind_tld_zonefile.sh @@ -33,7 +33,7 @@ for PFX in $RDNS_PREFIX;do 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 @@ for TLD in $TLDS;do 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 |