diff --git a/dnsapi/dns_nsupdate_l.sh b/dnsapi/dns_nsupdate_l.sh new file mode 100755 index 00000000..01ce2b7b --- /dev/null +++ b/dnsapi/dns_nsupdate_l.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env sh + +######## Public functions ##################### + +#Usage: dns_nsupdate_l_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" +dns_nsupdate_l_add() { + fulldomain=$1 + txtvalue=$2 + _info "adding ${fulldomain}. 60 in txt \"${txtvalue}\"" + nsupdate -l <