Duckdns token - How to set

Hello,

i am new in the world of caddy and i am trying to do my first steps with Duckdns plugin.
I am using caddy V1 on Windows 10, if i start caddy there is an error:
“Error during parsing: Setting up DNS provider ‘duckdns’: duckdns: some credentials information are missing: DUCKDNS_TOKEN”

I understand i have to set the Duckdns token, but where i have to do this?
Thanks

You need to use environment variables. You can make a .env file which contains key-value pairs like DUCKDNS_TOKEN=mytoken and have Caddy load it with the -envfile commandline argument.

https://caddyserver.com/v1/docs/cli

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.