Skip to content

Instantly share code, notes, and snippets.

@eldridgea
Created November 4, 2023 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eldridgea/972a894453536a0c0e219b9e3fdcbd96 to your computer and use it in GitHub Desktop.
Save eldridgea/972a894453536a0c0e219b9e3fdcbd96 to your computer and use it in GitHub Desktop.
[Unit]
Description=cloudflared DNS proxy
After=network.target
[Service]
TimeoutStartSec=0
Type=Simple
ExecStart=/root/cloudflared-linux-arm64 proxy-dns --address 127.0.0.53 --upstream https://YOUR-DNS-OVER-HTTPS-URL-HERE
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment