astlinux-project/ddclient-curl

cloudflare server default not set as documented in help

Closed this issue · 3 comments

Help text states that cloudflare server is set to api.cloudflare.com/client/v4 by default. It is not... it is set to whatever the last server=xxx statement in the .conf file is... even if for a different service. Only if there is no server= statement will it default to the correct cloudflare URL.

This is caused by ddclient loading some settings into its global config rather than by-service config.

David

So the best solution is to document to not set server= for Cloudflare ?

I think the best solution is not to document that it defaults to anything,

Agreed, since the Cloudflare code requires api.cloudflare.com/client/v4 to work.