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

NS1: update ns1-go to 2.7.8 (#2516)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Costas Drogos
2023-08-17 18:19:16 +03:00
committed by GitHub
parent 194c4711a8
commit 3c33ee2212
3 changed files with 9 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ func (n *nsone) EnsureZoneExists(domain string) error {
func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
var nservers []string
z, _, err := n.Zones.Get(domain)
z, _, err := n.Zones.Get(domain, true)
if err != nil {
return nil, err
}
@@ -90,7 +90,7 @@ func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.
func (n *nsone) GetZoneRecords(domain string, meta map[string]string) (models.Records, error) {
z, _, err := n.Zones.Get(domain)
z, _, err := n.Zones.Get(domain, true)
if err != nil {
return nil, err
}
@@ -271,7 +271,7 @@ func (n *nsone) modify(recs models.Records, domain string) error {
//
// Unfortunately this is not detectable otherwise, so given that we have a nice error message, we just let this through.
func (n *nsone) configureDNSSEC(domain string, enabled bool) error {
z, _, err := n.Zones.Get(domain)
z, _, err := n.Zones.Get(domain, true)
if err != nil {
return err
}