Skip to content

Commit 33b3399

Browse files
authored
luadns: removed dot suffix from authzone while searching for zone (#1796)
1 parent 368427a commit 33b3399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/dns/luadns/luadns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
124124
return fmt.Errorf("luadns: failed to find zone: %w", err)
125125
}
126126

127-
zone := findZone(zones, authZone)
127+
zone := findZone(zones, dns01.UnFqdn(authZone))
128128
if zone == nil {
129129
return fmt.Errorf("luadns: no matching zone found for domain %s", domain)
130130
}

0 commit comments

Comments
 (0)