1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Add support for TXT records with multiple strings (BIND, ROUTE53) (#293)

* BIND: Support TXT records with multiple strings (#289)
* ROUTE53: Add support for TXT records with multiple strings (#292)
This commit is contained in:
Tom Limoncelli
2018-01-04 19:19:35 -05:00
committed by GitHub
parent d051f51a59
commit de88bfe8b7
32 changed files with 489 additions and 184 deletions

View File

@@ -21,8 +21,12 @@ type SoftLayer struct {
Session *session.Session
}
var features = providers.DocumentationNotes{
providers.CanUseSRV: providers.Can(),
}
func init() {
providers.RegisterDomainServiceProviderType("SOFTLAYER", newReg, providers.CanUseSRV)
providers.RegisterDomainServiceProviderType("SOFTLAYER", newReg, features)
}
func newReg(conf map[string]string, _ json.RawMessage) (providers.DNSServiceProvider, error) {
@@ -164,7 +168,7 @@ func (s *SoftLayer) getExistingRecords(domain *datatypes.Dns_Domain) ([]*models.
}
// Normalize
models.Downcase(actual)
models.PostProcessRecords(actual)
return actual, nil
}