ORACLE: Do not warn about TTL for sub domain NS records (#3178)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
fabienmazieres 2024-10-29 13:28:50 +00:00 committed by GitHub
parent 5fbbad14b6
commit a6fe3fc48f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,7 +244,7 @@ func (o *oracleProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, exis
continue
}
if rec.TTL != 86400 {
if rec.GetLabel() == "@" && rec.TTL != 86400 {
printer.Warnf("Oracle Cloud forces TTL=86400 for NS records. Ignoring configured TTL of %d for %s\n", rec.TTL, recNS)
rec.TTL = 86400
}