if ! _rest POST "domain/dns/""act=dnsrec.list&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT";then
if ! _rest POST "domain/dns/""act=dnsrec.list&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT";then
_err "Record.Lis error."
_err "dnsrec.list error."
return1
return1
fi
fi
@ -58,7 +58,7 @@ dns_west_rm() {
fi
fi
if ! _rest POST "domain/dns/""act=dnsrec.remove&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_id=$record_id";then
if ! _rest POST "domain/dns/""act=dnsrec.remove&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_id=$record_id";then