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