POWERDNS: Add support for DS records (#1414)

This commit is contained in:
Benjamin Rechsteiner 2022-02-17 23:16:15 +01:00 committed by GitHub
parent 20dad35167
commit 45e8622c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ import (
var features = providers.DocumentationNotes{
providers.CanUseAlias: providers.Can("Needs to be enabled in PowerDNS first", "https://doc.powerdns.com/authoritative/guides/alias.html"),
providers.CanUseCAA: providers.Can(),
providers.CanUseDS: providers.Can(),
providers.CanUsePTR: providers.Can(),
providers.CanUseSRV: providers.Can(),
providers.CanUseTLSA: providers.Can(),
@ -263,6 +264,8 @@ func toRecordConfig(domain string, r zones.Record, ttl int, name string, rtype s
return rc, rc.SetTarget(dnsutil.AddOrigin(content, domain))
case "CAA":
return rc, rc.SetTargetCAAString(content)
case "DS":
return rc, rc.SetTargetDSString(content)
case "MX":
return rc, rc.SetTargetMXString(content)
case "SRV":