mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* BIND: issues/491 * HEXONET: Fixe #491 * LINODE: Fix #491 * NAMECHEAP: Fix #491 * NS1: Fix #491 * OPENSRS: Fix #491 * SOFTLAYER: Fix #491 * VULTR: Fix #491
This commit is contained in:
@@ -49,8 +49,7 @@ func newReg(conf map[string]string, _ json.RawMessage) (providers.DNSServiceProv
|
||||
// GetNameservers returns the nameservers for a domain.
|
||||
func (s *SoftLayer) GetNameservers(domain string) ([]*models.Nameserver, error) {
|
||||
// Always use the same nameservers for softlayer
|
||||
nservers := []string{"ns1.softlayer.com", "ns2.softlayer.com"}
|
||||
return models.StringsToNameservers(nservers), nil
|
||||
return models.ToNameservers([]string{"ns1.softlayer.com", "ns2.softlayer.com"})
|
||||
}
|
||||
|
||||
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.
|
||||
|
Reference in New Issue
Block a user