view scripts/nameserver_autogen/bind_tld_zonefile_all.sh @ 1232:216dfce70e8e draft

added 21.104.100.0/24
author root <root@x>
date Wed, 28 Nov 2018 06:19:22 +0000
parents 4e07b815084b
children 24c17a3904b9
line wrap: on
line source

#!/bin/sh
# be sure to set these variables first.
#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