mirror of
https://github.com/go-acme/lego.git
synced 2025-01-26 06:55:18 +02:00
luadns: removed dot suffix from authzone while searching for zone (#1796)
This commit is contained in:
parent
368427a621
commit
33b3399b3a
@ -124,7 +124,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
||||
return fmt.Errorf("luadns: failed to find zone: %w", err)
|
||||
}
|
||||
|
||||
zone := findZone(zones, authZone)
|
||||
zone := findZone(zones, dns01.UnFqdn(authZone))
|
||||
if zone == nil {
|
||||
return fmt.Errorf("luadns: no matching zone found for domain %s", domain)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user