diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2023-10-31 23:20:13 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2023-10-31 23:20:13 -0400 |
| commit | 88983650c38758403a2025d11da112e388dccbef (patch) | |
| tree | af216b25414fa385fa77ff7eaa899750500aeac1 | |
| parent | cfb0e6d85381ed805ec02969b255322a138c790b (diff) | |
Reduce the default TTL to 60 seconds.
The TTL also controls how long a service is unavailable because of cached DNS entries. For most services, a brief caching interval of 60s is more than adequate.
| -rw-r--r-- | src/bin/aws-autoscaling-dns/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/aws-autoscaling-dns/main.rs b/src/bin/aws-autoscaling-dns/main.rs index 739f0c8..8da99b2 100644 --- a/src/bin/aws-autoscaling-dns/main.rs +++ b/src/bin/aws-autoscaling-dns/main.rs @@ -27,7 +27,7 @@ struct Args { dns_name: Name, /// The TTL (in seconds) for newly-created records. - #[arg(long, default_value_t = 300)] + #[arg(long, default_value_t = 60)] dns_ttl: i64, /// Print the affected zone ID and pending changes, without applying them (default). |
