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

This commit is contained in:
Phil Porada 2019-09-05 10:15:28 -04:00 committed by neil
parent 1081d98bf9
commit 6b817d4563

View File

@ -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