mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
GCLOUD: Support ALIAS record type (#2225)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
package gcloud
|
||||
|
||||
import "github.com/StackExchange/dnscontrol/v3/models"
|
||||
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 {
|
||||
return nil
|
||||
a := rejectif.Auditor{}
|
||||
|
||||
a.Add("ALIAS", rejectif.LabelNotApex) // Last verified 2023-03-24
|
||||
|
||||
return a.Audit(records)
|
||||
}
|
||||
|
@@ -23,6 +23,7 @@ import (
|
||||
|
||||
var features = providers.DocumentationNotes{
|
||||
providers.CanGetZones: providers.Can(),
|
||||
providers.CanUseAlias: providers.Can(),
|
||||
providers.CanUseCAA: providers.Can(),
|
||||
providers.CanUseDSForChildren: providers.Can(),
|
||||
providers.CanUseLOC: providers.Cannot(),
|
||||
|
Reference in New Issue
Block a user