mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
AKAMAIEDGEDNS: Fix AKAMAICDN add/modify. Fix integrationTest. (#2722)
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
var features = providers.DocumentationNotes{
|
||||
// The default for unlisted capabilities is 'Cannot'.
|
||||
// See providers/capabilities.go for the entire list of capabilties.
|
||||
// See providers/capabilities.go for the entire list of capabilities.
|
||||
providers.CanAutoDNSSEC: providers.Can(),
|
||||
providers.CanGetZones: providers.Can(),
|
||||
providers.CanUseAKAMAICDN: providers.Can(),
|
||||
|
@@ -1,10 +1,17 @@
|
||||
package akamaiedgedns
|
||||
|
||||
import "github.com/StackExchange/dnscontrol/v4/models"
|
||||
import (
|
||||
"github.com/StackExchange/dnscontrol/v4/models"
|
||||
"github.com/StackExchange/dnscontrol/v4/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 {
|
||||
return nil
|
||||
a := rejectif.Auditor{}
|
||||
a.Add("TXT", rejectif.TxtHasDoubleQuotes) // Last verified 2023-12-12
|
||||
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2023-12-12
|
||||
|
||||
return a.Audit(records)
|
||||
}
|
||||
|
Reference in New Issue
Block a user