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

CSCGLOBAL: Enable CAA records (#1536)

* Enable CAA

* Another API oddity

* Disable debug output
This commit is contained in:
Tom Limoncelli
2022-06-14 07:16:01 -04:00
committed by GitHub
parent 752e25471d
commit 7826c23cfa
2 changed files with 4 additions and 5 deletions

View File

@@ -292,10 +292,9 @@ func makeEdit(domainname string, m diff.Correlation) zoneResourceRecordEdit {
case "CAA":
var tagValue = old.CaaTag
zer.CurrentTag = &tagValue
if old.CaaTag != rec.CaaTag {
if old.CaaTag != rec.CaaTag || old.CaaFlag != rec.CaaFlag || old.TTL != rec.TTL {
// If anything changed, we need to update both tag and flag.
zer.NewTag = &(rec.CaaTag)
}
if old.CaaFlag != rec.CaaFlag {
zer.NewFlag = &(rec.CaaFlag)
}
case "MX":