mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW PROVIDER: Gcore DNS (#1816)
This commit is contained in:
15
providers/gcore/auditrecords.go
Normal file
15
providers/gcore/auditrecords.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gcore
|
||||
|
||||
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("SRV", rejectif.SrvHasNullTarget)
|
||||
return a.Audit(records)
|
||||
}
|
Reference in New Issue
Block a user