From fa52b4f2aed6809af3afaae8dadcbb9089b69eb7 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Wed, 7 Dec 2022 10:06:27 -0500 Subject: [PATCH] GANDI_V5: Gandi now supports null MX (#1847) Co-authored-by: Filippo Valsorda --- providers/gandiv5/auditrecords.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/providers/gandiv5/auditrecords.go b/providers/gandiv5/auditrecords.go index 6c7b5bb72..4bd97f0cf 100644 --- a/providers/gandiv5/auditrecords.go +++ b/providers/gandiv5/auditrecords.go @@ -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 }