It is working now. I had taken a snapshot of the vm just before installing cloudflared, so I reverted and installed the doh service again and it's working.
Something else that concerns me it is that https://1.1.1.1/help sometimes shows "Using DNS over HTTPS (DoH) - NO"
Then I restart the service and it is working again. A couple of times I had to reboot the vm to make it work.
Any idea why is this happening?
I cannot understand why is this happening after some time.
● cloudflared.service - cloudflared DNS over HTTPS proxy
Loaded: loaded (/etc/systemd/system/cloudflared.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-10-16 12:13:09 EEST; 7h ago
Main PID: 967 (cloudflared)
Tasks: 6 (limit: 1077)
CGroup: /system.slice/cloudflared.service
└─967 /usr/local/bin/cloudflared proxy-dns --port 5053 --upstream https://1.1.1.1/dns-query --upstream https:
Oct 16 19:50:33 pihole cloudflared[967]: 2021-10-16T16:50:33Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:34 pihole cloudflared[967]: 2021-10-16T16:50:34Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:36 pihole cloudflared[967]: 2021-10-16T16:50:36Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:37 pihole cloudflared[967]: 2021-10-16T16:50:37Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:37 pihole cloudflared[967]: 2021-10-16T16:50:37Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:38 pihole cloudflared[967]: 2021-10-16T16:50:38Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:38 pihole cloudflared[967]: 2021-10-16T16:50:38Z ERR failed to connect to an HTTPS backend "https://1.0.0.1
Oct 16 19:50:38 pihole cloudflared[967]: 2021-10-16T16:50:38Z ERR failed to connect to an HTTPS backend "https://1.0.0.1
Oct 16 19:50:40 pihole cloudflared[967]: 2021-10-16T16:50:40Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
Oct 16 19:50:40 pihole cloudflared[967]: 2021-10-16T16:50:40Z ERR failed to connect to an HTTPS backend "https://1.1.1.1
lines 1-18/18 (END)