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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user