Set TXT record TTL to minimum possible value

This commit is contained in:
Phil Porada 2019-08-29 10:52:13 -04:00
parent 9b173dcd71
commit 84191d7068
No known key found for this signature in database
GPG Key ID: DB4D7113D4614DD6

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