From 51447bb2e73d841508c90a947b86b8bd772a22cf Mon Sep 17 00:00:00 2001 From: evs-ch Date: Mon, 25 Mar 2019 12:19:13 +0100 Subject: [PATCH] Use provided ZoneName instead of domain (#839) --- providers/dns/hostingde/hostingde.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/dns/hostingde/hostingde.go b/providers/dns/hostingde/hostingde.go index 817622c3..4a00f045 100644 --- a/providers/dns/hostingde/hostingde.go +++ b/providers/dns/hostingde/hostingde.go @@ -91,7 +91,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error { zonesFind := ZoneConfigsFindRequest{ Filter: Filter{ Field: "zoneName", - Value: domain, + Value: d.config.ZoneName, }, Limit: 1, Page: 1, @@ -151,7 +151,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error { zonesFind := ZoneConfigsFindRequest{ Filter: Filter{ Field: "zoneName", - Value: domain, + Value: d.config.ZoneName, }, Limit: 1, Page: 1,