1
0
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:
svernick
2023-12-13 16:31:40 -05:00
committed by GitHub
parent 0da3f75729
commit 7ce2eb4e7e
3 changed files with 12 additions and 5 deletions

View File

@@ -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(),

View File

@@ -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)
}