Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Confusing output of the script during validation #391

@Linuxmaker

Description

@Linuxmaker

The "acme-dns" script is installed on a Debian Bookworm along with Certbot 2.1.0 via APT. This command

~# certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d \*.example.com -d example.com

returns this confusing message:

"Please add the following CNAME record to your main DNS zone:
_acme-challenge.example.com CNAME 47eddf55-38fa-4d22-b85a-872b2375c9bb.auth.acme-dns.io."

If this line is entered exactly as it is in the corresponding zone file, DNS BIND will fail. The DNS server will think _acme-challenge.example.com.example.com is the correct resolution. But that's wrong.
My suggestion would be that the output when requesting to add the entry to the zone file should either include a trailing period

_acme-challenge.example.com. CNAME 47eddf55-38fa-4d22-b85a-872b2375c9bb.auth.acme-dns.io.
or output this entry without a period:

_acme-challenge CNAME 47eddf55-38fa-4d22-b85a-872b2375c9bb.auth.acme-dns.io.

Anyone who doesn't know how DNS servers work will fail at this point. It may be that this entry works for Internet service providers. In that case, this difference should be published in the instruction.

Best regards
Andreas Günther

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions