diff --git a/acme/dns_challenge.go b/acme/dns_challenge.go index 8a11cf4f..906a219e 100644 --- a/acme/dns_challenge.go +++ b/acme/dns_challenge.go @@ -65,7 +65,7 @@ func (s *dnsChallenge) Solve(chlng challenge, domain string) error { preCheckDNS(domain, fqdn) - return s.validate(s.jws, domain, chlng.URI, chlng) + return s.validate(s.jws, domain, chlng.URI, challenge{Resource: "challenge", Type: chlng.Type, Token: chlng.Token, KeyAuthorization: keyAuth}) } func checkDNS(domain, fqdn string) bool {