1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Improve warnings related to _ and TTLs (#1989)

This commit is contained in:
Tom Limoncelli
2023-01-28 11:10:02 -05:00
committed by GitHub
parent 8249a4b95b
commit a136621052
2 changed files with 12 additions and 6 deletions

View File

@@ -421,7 +421,7 @@ func (c *cloudflareProvider) preprocessConfig(dc *models.DomainConfig) error {
rec.TTL = 1
}
if rec.TTL != 1 && rec.TTL < 60 {
rec.TTL = 60
rec.TTL = 60
}
if rec.Type != "A" && rec.Type != "CNAME" && rec.Type != "AAAA" && rec.Type != "ALIAS" {