From 88983650c38758403a2025d11da112e388dccbef Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 31 Oct 2023 23:20:13 -0400 Subject: 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. --- src/bin/aws-autoscaling-dns/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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). -- cgit v1.2.3