luadns: removed dot suffix from authzone while searching for zone (#1796)
This commit is contained in:
parent
368427a621
commit
33b3399b3a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue