From 65321943baa478a1f85a92d6a8c3a8a4dec45d12 Mon Sep 17 00:00:00 2001 From: JanB Date: Sun, 17 Apr 2016 04:43:43 +0200 Subject: [PATCH] Fix: DNSimple passes not-a-FQDN string to FindZoneByFqdn() --- providers/dns/dnsimple/dnsimple.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/dnsimple/dnsimple.go b/providers/dns/dnsimple/dnsimple.go index 961fdd88..c903a35c 100644 --- a/providers/dns/dnsimple/dnsimple.go +++ b/providers/dns/dnsimple/dnsimple.go @@ -79,7 +79,7 @@ func (c *DNSProvider) getHostedZone(domain string) (string, string, error) { return "", "", fmt.Errorf("DNSimple API call failed: %v", err) } - authZone, err := acme.FindZoneByFqdn(domain, acme.RecursiveNameservers) + authZone, err := acme.FindZoneByFqdn(acme.ToFqdn(domain), acme.RecursiveNameservers) if err != nil { return "", "", err }