shorten dns ttl

This commit is contained in:
finn committed 2026-09-21 17:21:41 -07:00
1 parent fc64bf45d2
commit 3e72ea7e0a
1 file changed
+2 -2
+2 -2
View File
@@ -203,7 +203,7 @@ if [[ "$SCRIPT_ACTION" == "a" ]]; then
"type": "A", "type": "A",
"name": "'$NI_SUBDOMAIN'", "name": "'$NI_SUBDOMAIN'",
"target": "'$INSTANCE_IP'", "target": "'$INSTANCE_IP'",
"ttl_sec": 14400 "ttl_sec": 600
}' \ }' \
https://api.linode.com/v4/domains/$WHICH_DOMAIN/records/$RECORD_ID | jq . https://api.linode.com/v4/domains/$WHICH_DOMAIN/records/$RECORD_ID | jq .
@@ -221,7 +221,7 @@ if [[ "$SCRIPT_ACTION" == "a" ]]; then
"type": "A", "type": "A",
"name": "'$NI_SUBDOMAIN'", "name": "'$NI_SUBDOMAIN'",
"target": "'$INSTANCE_IP'", "target": "'$INSTANCE_IP'",
"ttl_sec": 14400 "ttl_sec": 600
}' \ }' \
https://api.linode.com/v4/domains/$WHICH_DOMAIN/records | jq . https://api.linode.com/v4/domains/$WHICH_DOMAIN/records | jq .
fi fi