diff --git a/providers/dns/hetzner/hetzner.go b/providers/dns/hetzner/hetzner.go index 29549bc9..33ffa8ba 100644 --- a/providers/dns/hetzner/hetzner.go +++ b/providers/dns/hetzner/hetzner.go @@ -13,7 +13,7 @@ import ( "github.com/go-acme/lego/v4/providers/dns/hetzner/internal" ) -const minTTL = 600 +const minTTL = 60 // Environment variables names. const ( diff --git a/providers/dns/hetzner/hetzner_test.go b/providers/dns/hetzner/hetzner_test.go index f69fcdc1..d028fd06 100644 --- a/providers/dns/hetzner/hetzner_test.go +++ b/providers/dns/hetzner/hetzner_test.go @@ -74,8 +74,8 @@ func TestNewDNSProviderConfig(t *testing.T) { { desc: "invalid TTL", apiKey: "123", - ttl: 60, - expected: "hetzner: invalid TTL, TTL (60) must be greater than 600", + ttl: 10, + expected: "hetzner: invalid TTL, TTL (10) must be greater than 60", }, }