Browse Source

Update dns_west_cn.sh

Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
pull/4861/head
mrbaiwei 1 year ago
parent
commit
bea71f3411
  1. 2
      dnsapi/dns_west_cn.sh

2
dnsapi/dns_west_cn.sh

@ -72,7 +72,7 @@ add_record() {
_info "Adding record"
if ! _rest POST "domain/dns/" "act=dnsrec.add&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT&value=$txtvalue"; then
if ! _rest POST "domain/dns/" "act=dnsrec.add&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT&record_value=$txtvalue"; then
return 1
fi

Loading…
Cancel
Save