Thanks for making this available. Great tool indeed.
I must say I was quite lost following the somewhat disjointed documentation on your Reference site. Fortunately I found these two articles that actually made it easier (please consider doing something similar in the Reference area):
Anyway… I have run into an issue, perhaps you can point me in the right direction. It looks like the daemon is not capable of running both the Tunnel and the DoH resolver at the same time. When I run the command cloudflared alone at the CLI, it runs both services just fine, getting the settings for both services from the same /etc/cloudflared/config.yml. I can dig DNS queries and access the hello-world page I setup for my domain without a problem. This tells me my config.yml is setup correctly, according to the instructions.
But when I try running the daemon as a service (as per the instructions), it just produces an immediate misconfiguration error and never starts. My guess is I need to put the Tunnel related settings in a different file where the daemon is probably looking. That is not clear at all in the instructions. But the fact that both services start just fine when NOT running the daemon, tells me there is probably a bug in the code. Any guidance will be much appreciated.