mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
GANDI_V5: supports DS records already (#1112)
* Simply mark DS as supported, let existing tests handle it. * Fix trivial typo in diagnostic feedback from model SetTargetDSString() * The support matrix includes more changes because it was stale.
This commit is contained in:
@@ -29,7 +29,7 @@ func nativeToRecords(n livedns.DomainRecord, origin string) (rcs []*models.Recor
|
||||
case "ALIAS":
|
||||
rc.Type = "ALIAS"
|
||||
rc.SetTarget(value)
|
||||
default: // "A", "AAAA", "CAA", "NS", "CNAME", "MX", "PTR", "SRV", "TXT"
|
||||
default: // "A", "AAAA", "CAA", "DS", "NS", "CNAME", "MX", "PTR", "SRV", "TXT"
|
||||
if err := rc.PopulateFromString(rtype, value, origin); err != nil {
|
||||
panic(fmt.Errorf("unparsable record received from gandi: %w", err))
|
||||
}
|
||||
|
@@ -47,6 +47,7 @@ func init() {
|
||||
var features = providers.DocumentationNotes{
|
||||
providers.CanUseAlias: providers.Can("Only on the bare domain. Otherwise CNAME will be substituted"),
|
||||
providers.CanUseCAA: providers.Can(),
|
||||
providers.CanUseDS: providers.Can(),
|
||||
providers.CanUsePTR: providers.Can(),
|
||||
providers.CanUseSRV: providers.Can(),
|
||||
providers.CanUseSSHFP: providers.Can(),
|
||||
|
Reference in New Issue
Block a user