Featured image of post How to use DNS over HTTPS using Docker + Pi-hole + Cloudflare + Docker Compose

How to use DNS over HTTPS using Docker + Pi-hole + Cloudflare + Docker Compose

Learn how to increase the privacy of your internet activity by implementing DNS encryption. This simple containerized solution will allow you to block ads and malware, while using a secure encrypted channel DNS-over-HTTPs to Cloudflare DNS resolvers.

Learn how to increase the privacy of your internet activity by implementing DNS encryption. This simple containerized solution will allow you to block ads and malware, while using a secure encrypted channel DNS-over-HTTPs to Cloudflare DNS resolvers.

Terminology

  • Docker Compose: Infrastructure as Code IaC utility for deploying Docker services.
  • Cloudflared: DNS proxy to encrypt DNS request over HTTPS protocol. Cloudflared is available for Windows, Linux and Mac, and lives inside a Docker container.
  • DNS encryption enhances your privacy online and protects you from DNS sniffing.
  • ISP Internet service provider. A company that provides internet services to you.

Video guide

  1. Original Script for Docker only on Windows / Linux for DNS-level protection
  2. New Script for Docker & Cloudflare for DNS Over HTTPS (DOH)
Licensed under CC BY-NC-SA 4.0
Last updated on Aug 11, 2024
Built with Hugo
Theme Stack designed by Jimmy