summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2023-10-31 23:20:13 -0400
committerOwen Jacobson <owen@grimoire.ca>2023-10-31 23:20:13 -0400
commit88983650c38758403a2025d11da112e388dccbef (patch)
treeaf216b25414fa385fa77ff7eaa899750500aeac1
parentcfb0e6d85381ed805ec02969b255322a138c790b (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.rs2
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).