diff --git a/sbin/pdns-zone-asc.sh b/sbin/pdns-zone-asc.sh index 3e0db52..7a4e3a7 100755 --- a/sbin/pdns-zone-asc.sh +++ b/sbin/pdns-zone-asc.sh @@ -55,7 +55,7 @@ if [[ $zone_exists = "true" ]]; then fi fi # get current SOA - soa=$(/usr/local/sbin/pdns-zone-exp.sh -z stack-source.com -c|grep ',SOA,'|cut -d , -f 5) + soa=$(/usr/local/sbin/pdns-zone-exp.sh -z $zone -c|grep ',SOA,'|cut -d , -f 5) # get/set account if [[ -z $account ]]; then account=$hostname