Skip to content

Instantly share code, notes, and snippets.

@fullmetalbrackets
Created July 27, 2023 19:35
Show Gist options
  • Save fullmetalbrackets/99c9010fc8a339b5abcc3740cf9c2dad to your computer and use it in GitHub Desktop.
Save fullmetalbrackets/99c9010fc8a339b5abcc3740cf9c2dad to your computer and use it in GitHub Desktop.
Pi-Hole + Cloudflared using Quad9 w/ DNS over TLS
# Use this docker-compose file to create cloudflared container configured with Quad9 DoT upstream
version: "3.6"
services:
cloudflared:
container_name: cloudflared
image: cloudflare/cloudflared
command: proxy-dns
environment:
- "TUNNEL_DNS_UPSTREAM=tls://9.9.9.9@853#dns.quad9.net,tls://149.112.112.112@853#dns.quad9.net"
- "TUNNEL_DNS_PORT=853"
- "TUNNEL_DNS_ADDRESS=0.0.0.0"
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment