mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NSONE: strip dots from nameservers (#2217)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@@ -70,7 +70,7 @@ func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return models.ToNameservers(z.DNSServers)
|
||||
return models.ToNameserversStripTD(z.DNSServers)
|
||||
}
|
||||
|
||||
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.
|
||||
|
Reference in New Issue
Block a user