Mega noob struggling to configure Caddy 2

1. The problem I’m having:

I am trying to configure Caddy 2 via the home assistant add-on to access my mealie integration via HTTPS. Get the error below.

2. Error messages and/or full log output:

adapting config using caddyfile: parsing caddyfile tokens for 'tls': getting module named 'dns.providers.duckdns': module not registered: dns.providers.duckdns, at /share/caddy/Caddyfile:7

3. Caddy version:

Current version: 1.5.4

4. How I installed and ran Caddy:

a. System environment:

Home Assitant add-on

b. Command:


c. Service/unit/compose file:


d. My complete Caddy config:

} {
    tls {
        dns duckdns mytoken

5. Links to relevant resources:

Make sure you download Caddy with the duckdns plugin selected in the list: Download Caddy

Is this possible when using the home assistant add-on?

You’ll need to ask for help from the add-on’s author. We can’t really help with unofficial installation methods. They can reach out to us if they need help with adapting their installation method though.

Ok thank you.