1
0
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:
Norman
2023-03-23 12:54:18 +01:00
committed by GitHub
parent 178ab4635c
commit b01453eb16

View File

@@ -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.