Open deancn opened 2 years ago
seems cannot read from env variable. But can set value in the caddyfile
@lscgzwd Can you help review?
Can anyone help to review???
The following does not work:
go: downloading github.com/airdb/dnspod v0.0.4
go: github.com/airdb/dnspod@v0.0.4 found: parsing go.mod:
module declares its path as: github.com/caddy-dns/dnspod
but was required as: github.com/airdb/dnspod
go: github.com/airdb/dnspod@upgrade (v0.0.4) requires github.com/airdb/dnspod@v0.0.4: parsing go.mod:
module declares its path as: github.com/caddy-dns/dnspod
but was required as: github.com/airdb/dnspod
Workaround:
xcaddy build --with github.com/airdb/dnspod
Thanks @deancn
Can you raise a PR for this repo?
As the Readme, added the follow config to Caddyfile, But login failed.
tls { dns dnspod {env.DNSPOD_TOKEN} }
Error message: Could not get domains: Login fail, please check login info
The DNSPOD_TOKEN format is "APP_ID,APP_TOKEN"