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

BUG: AutoDNSSEC validation is too aggressive

This should be a warning.
This commit is contained in:
Tom Limoncelli
2023-03-17 11:36:44 -04:00
parent 302a74b935
commit 61fc663c3d

View File

@ -559,7 +559,7 @@ func checkAutoDNSSEC(dc *models.DomainConfig) (errs []error) {
if dc.AutoDNSSEC == "on" { if dc.AutoDNSSEC == "on" {
for providerName := range dc.DNSProviderNames { for providerName := range dc.DNSProviderNames {
if dc.RegistrarName != providerName { if dc.RegistrarName != providerName {
errs = append(errs, fmt.Errorf("AutoDNSSEC is enabled, but DNS provider %s does not match registrar %s", providerName, dc.RegistrarName)) errs = append(errs, Warning{fmt.Errorf("AutoDNSSEC is enabled, but DNS provider %s does not match registrar %s", providerName, dc.RegistrarName)})
} }
} }
} }