Standalone Cloudflared DoH proxy for Docker
556
A lightweight, standalone Cloudflared DNS-over-HTTPS (DoH) proxy built on Alpine Linux, designed for seamless integration with Pi-hole, AdGuardHome, or other custom DNS setups.
This Docker image enables secure and private DNS resolution by proxying DNS queries over HTTPS to Cloudflare's servers. Ideal for use cases like:
/etc/cloudflared/config.yml5053/udp and 5053/tcpdocker run -d \
--name cloudflared-doh \
-p 5053:5053/udp -p 5053:5053/tcp \
tekmodedk/cloudflared
config.ymlproxy-dns: true
proxy-dns-port: 5053
proxy-dns-upstream:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
- https://[2606:4700:4700::1111]/dns-query
- https://[2606:4700:4700::1001]/dns-query
proxy-dns-address: 0.0.0.0
no-autoupdate: true
Save it as config.yml and mount it into the container if needed.
To use Cloudflared as Pi-hole's upstream DNS:
Custom DNS: 127.0.0.1#5053
TARGETARCH — architecture provided during multi-arch buildGitHub: happycuban/cloudflared-armv7
Content type
Image
Digest
sha256:af120c30c…
Size
23.8 MB
Last updated
over 1 year ago
docker pull tekmodedk/cloudflared