GANDI_V5: Gandi now supports null MX (#1847)

Co-authored-by: Filippo Valsorda <github@bip.filippo.io>
This commit is contained in:
Tom Limoncelli 2022-12-07 10:06:27 -05:00 committed by GitHub
parent 0e3c4db301
commit fa52b4f2ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,11 @@ package gandiv5
import (
"github.com/StackExchange/dnscontrol/v3/models"
"github.com/StackExchange/dnscontrol/v3/pkg/rejectif"
)
// AuditRecords returns a list of errors corresponding to the records
// that aren't supported by this provider. If all records are
// supported, an empty list is returned.
func AuditRecords(records []*models.RecordConfig) []error {
a := rejectif.Auditor{}
a.Add("MX", rejectif.MxNull) // Last verified 2020-12-28
return a.Audit(records)
return nil
}