Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6b817d45
Commit
6b817d45
authored
Sep 05, 2019
by
Phil Porada
Committed by
neil
Sep 05, 2019
Browse files
Set TXT record TTL to minimum possible value (#2465)
parent
1081d98b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_linode_v4.sh
View file @
6b817d45
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment