cloudflared: Cloudflared hangs after internet connection severed
I am running cloudflared on ubuntu arm (raspberry pi) as a proxy dns. Whenever i restarted my router, cloudflared hangs and stops working and cant connect until i restarted the cloudflared process. Here is my cloudflared command:
cloudflared proxy-dns --port 5053 --upstream https://94.140.14.14/dns-query
Any idea of how to make cloudflared process restarts automatically if connection is lost and restored? Sorry if this has been discussed before. Thanks.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 9
- Comments: 37 (3 by maintainers)
Better idea - use dnscrypt. Problem solved.
No one at CF cares about this issue that’s been ongoing for years now. It won’t be fixed anytime soon.
https://github.com/DNSCrypt/dnscrypt-proxy
Now I can rest assured that momentary internet drops won’t end up in much longer outages.
Also exists on 2021.4.0. Any loss of, or failover of, the WAN and Cloudflared just hangs until manually restarted…
This makes Cloudflared completely unusable for me tbh.