Browse Source
Set TXT record TTL to minimum possible value
pull/2465/head
Phil Porada
6 years ago
No known key found for this signature in database
GPG Key ID: DB4D7113D4614DD6
1 changed files with
2 additions and
1 deletions
-
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 |
|
|
|
|