From 241d1b83edfe8b0dcd6e04d1d2413f06c64fffb3 Mon Sep 17 00:00:00 2001 From: msamoylych Date: Fri, 18 Jun 2021 21:12:09 +0300 Subject: [PATCH] Update dns_hexonet.sh Set TTL for _acme-challenge TXT record to 300 --- dnsapi/dns_hexonet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_hexonet.sh b/dnsapi/dns_hexonet.sh index 525efe73..371913ee 100755 --- a/dnsapi/dns_hexonet.sh +++ b/dnsapi/dns_hexonet.sh @@ -50,7 +50,7 @@ dns_hexonet_add() { fi _info "Adding record" - if _hexonet_rest "command=UpdateDNSZone&dnszone=${_domain}.&addrr0=${_sub_domain}%20IN%20TXT%20${txtvalue}"; then + if _hexonet_rest "command=UpdateDNSZone&dnszone=${_domain}.&addrr0=${_sub_domain}%20300%20IN%20TXT%20${txtvalue}"; then if _contains "$response" "CODE=200"; then _info "Added, OK" return 0