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

NS1: Improve nameserver handling (#2295)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli
2023-05-01 18:44:25 -04:00
committed by GitHub
parent 780e17ada9
commit 18b8ce791a

View File

@ -85,7 +85,7 @@ func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
nservers = append(nservers, ns)
}
}
return models.ToNameservers(nservers)
return models.ToNameserversStripTD(nservers)
}
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.