Skip to content
Snippets Groups Projects
Commit baca71d6 authored by ale's avatar ale
Browse files

Revert "Add terminating dot to FQDN"

This reverts commit 660d5360.
parent 87b1d810
Branches
No related tags found
No related merge requests found
......@@ -88,8 +88,7 @@ func (d *dnsValidator) client() *dns.Client {
func (d *dnsValidator) Fulfill(ctx context.Context, client *acme.Client, domain string, chal *acme.Challenge) (func(), error) {
zone := domain[strings.Index(domain, ".")+1:]
// Add terminating dot to the FQDN.
fqdn := dns.Fqdn(domain) + "."
fqdn := dns.Fqdn(domain)
value, err := client.DNS01ChallengeRecord(chal.Token)
if err != nil {
return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment