mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2026-02-21 11:03:16 +08:00
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:
parent
5fbbad14b6
commit
a6fe3fc48f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue