view scripts/nameserver_autogen/bind_tld_zonefile_all.sh @ 1236:4291c23e1fba draft

Merge branch 'master' of http://git.volatile.ano/wowaname/resdb
author epoch <epoch@hack.thebackupbox.net>
date Thu, 05 Sep 2019 02:13:25 +0000
parents 24c17a3904b9
children c842697ded21
line wrap: on
line source

#!/bin/sh
# be sure to set these variables first.
#ANO_ZONEFILE=/etc/namedb/ano
#RDNS_ZONEFILE=/etc/namedb/21.in-addr.arpa
#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