mirror of
https://github.com/go-acme/lego.git
synced 2025-07-16 20:04:18 +02:00
luadns: removed dot suffix from authzone while searching for zone (#1796)
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user