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:
@ -85,7 +85,7 @@ func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
|
|||||||
nservers = append(nservers, ns)
|
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.
|
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.
|
||||||
|
Reference in New Issue
Block a user