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

Add terminating dot to FQDN

parent af5c24c6
No related branches found
No related tags found
No related merge requests found
Pipeline #67213 passed
......@@ -88,7 +88,8 @@ 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:]
fqdn := dns.Fqdn(domain)
// Add terminating dot to the FQDN.
fqdn := dns.Fqdn(domain) + "."
value, err := client.DNS01ChallengeRecord(chal.Token)
if err != nil {
return nil, err
......
  • ale @ale

    mentioned in commit baca71d6

    ·

    mentioned in commit baca71d6

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment