mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-08 21:06:02 +08:00
NS1: Improve nameserver handling (#2295)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
parent
780e17ada9
commit
18b8ce791a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue