Browse Source

Set TXT record TTL to minimum possible value (#2465)

pull/2486/head
Phil Porada 5 years ago
committed by neil
parent
commit
6b817d4563
  1. 3
      dnsapi/dns_linode_v4.sh

3
dnsapi/dns_linode_v4.sh

@ -31,7 +31,8 @@ dns_linode_v4_add() {
_payload="{
\"type\": \"TXT\",
\"name\": \"$_sub_domain\",
\"target\": \"$txtvalue\"
\"target\": \"$txtvalue\",
\"ttl_sec\": 300
}"
if _rest POST "/$_domain_id/records" "$_payload" && [ -n "$response" ]; then

Loading…
Cancel
Save