diff --git a/create-linode.sh b/create-linode.sh index 5600dfb..32e982f 100755 --- a/create-linode.sh +++ b/create-linode.sh @@ -203,7 +203,7 @@ if [[ "$SCRIPT_ACTION" == "a" ]]; then "type": "A", "name": "'$NI_SUBDOMAIN'", "target": "'$INSTANCE_IP'", - "ttl_sec": 14400 + "ttl_sec": 600 }' \ https://api.linode.com/v4/domains/$WHICH_DOMAIN/records/$RECORD_ID | jq . @@ -221,7 +221,7 @@ if [[ "$SCRIPT_ACTION" == "a" ]]; then "type": "A", "name": "'$NI_SUBDOMAIN'", "target": "'$INSTANCE_IP'", - "ttl_sec": 14400 + "ttl_sec": 600 }' \ https://api.linode.com/v4/domains/$WHICH_DOMAIN/records | jq . fi