view scripts/nameserver_autogen/bind_tld_zonefile_all.sh @ 1260:f5ad11b817f1 draft default tip master

switched to using the git subdomain for git repo url
author epoch <epoch@hack.thebackupbox.net>
date Sat, 09 Oct 2021 09:21:28 +0000
parents c842697ded21
children
line wrap: on
line source

#!/bin/sh
# be sure to set these variables first.
# please don't edit this file though.
#export ANO_ZONEFILE=/etc/namedb/ano
#export RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa
#export RESDB_PATH=/services/resdb/resdb
if [ ! "$ANO_ZONEFILE" ];then
 echo "You forgot to set some variables. read the source plzkthx." >&2
 exit 1
fi
# compat
export ZONEFILE_DIR=`dirname $RDNS_ZONEFILE`
TLDS='!' `dirname $0`/bind_tld_zonefile.sh
export ZONEFILE_DIR=`dirname $ANO_ZONEFILE`
RDNS_PREFIX='!' TLDS='*' `dirname $0`/bind_tld_zonefile.sh