Browse Source

Set TXT record TTL to minimum possible value

pull/2464/head
Phil Porada 6 years ago
parent
commit
42d1971dfb
No known key found for this signature in database GPG Key ID: DB4D7113D4614DD6
  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