mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-09 02:22:44 +00:00
This commit is contained in:
parent
941a94587c
commit
6e05ad4e71
@ -51,7 +51,7 @@ dns_nsd_rm() {
|
|||||||
Nsd_ZoneFile="${Nsd_ZoneFile:-$(_readdomainconf Nsd_ZoneFile)}"
|
Nsd_ZoneFile="${Nsd_ZoneFile:-$(_readdomainconf Nsd_ZoneFile)}"
|
||||||
Nsd_Command="${Nsd_Command:-$(_readdomainconf Nsd_Command)}"
|
Nsd_Command="${Nsd_Command:-$(_readdomainconf Nsd_Command)}"
|
||||||
|
|
||||||
sed -i "/$fulldomain. $ttlvalue IN TXT \"$txtvalue\"/d" "$Nsd_ZoneFile"
|
_sed_i "/$fulldomain. $ttlvalue IN TXT \"$txtvalue\"/d" "$Nsd_ZoneFile"
|
||||||
_info "Removed TXT record for $fulldomain"
|
_info "Removed TXT record for $fulldomain"
|
||||||
_debug "Running $Nsd_Command"
|
_debug "Running $Nsd_Command"
|
||||||
if eval "$Nsd_Command"; then
|
if eval "$Nsd_Command"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user