From c09b885520eac99db66f32e4e6d85d57650c1863 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Wed, 15 Jan 2025 11:20:33 -0500 Subject: [PATCH] CLOUDFLAREAPI: No longer treat TTL=300 as special --- providers/cloudflare/cloudflareProvider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/cloudflare/cloudflareProvider.go b/providers/cloudflare/cloudflareProvider.go index b1d8d7d6b6..edbb481401 100644 --- a/providers/cloudflare/cloudflareProvider.go +++ b/providers/cloudflare/cloudflareProvider.go @@ -497,9 +497,9 @@ func (c *cloudflareProvider) preprocessConfig(dc *models.DomainConfig) error { rec.Metadata = map[string]string{} } // cloudflare uses "1" to mean "auto-ttl" - // if we get here and ttl is not specified (or is the dnscontrol default of 300), + // if we get here and ttl is not specified // use automatic mode instead. - if rec.TTL == 0 || rec.TTL == 300 { + if rec.TTL == 0 { rec.TTL = 1 } if rec.TTL != 1 && rec.TTL < 60 {