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

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

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
}