FEATURE: Support RFC 9495 issuemail tag in CAA records (#3762)

This commit is contained in:
networkException 2025-09-05 22:07:42 +02:00 committed by GitHub
parent 8b73de0765
commit f874b5fc1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -442,7 +442,7 @@ func ValidateAndNormalizeConfig(config *models.DNSConfig) (errs []error) {
}
rec.SetLabel(name, domain.Name)
} else if rec.Type == "CAA" {
if rec.CaaTag != "issue" && rec.CaaTag != "issuewild" && rec.CaaTag != "iodef" {
if rec.CaaTag != "issue" && rec.CaaTag != "issuewild" && rec.CaaTag != "iodef" && rec.CaaTag != "issuemail" {
errs = append(errs, fmt.Errorf("CAA tag %s is invalid", rec.CaaTag))
}
} else if rec.Type == "TLSA" {