Pi-hole + cloudflared + https

Install rasbian

Raspberry Pi OS – Raspberry Pi
From industries large and small, to the kitchen table tinkerer, to the classroom coder, we make computing accessible and affordable for everybody.
  1. Download Raspberry Pi imager
  2. Insert SSD card into USB slot somehow
  3. Run imager, select 32-bit lite version, select SSD card, set desired options, write
  4. Add SSD card back to raspberry pi, boot, SSH
  5. sudo apt update && sudo apt upgrade

Install and configure pi-hole

Installation - Pi-hole documentation

Configure SSL cert for the pi-hole admin interface

Add https to Pi-hole with caddy • NetWeaver
Use Caddy server to install a LetsEncrypt certificate on your Pi-hole server running on CentOS 7 or 8 - allowing you to access over https.

Install and configure cloudflared

cloudflared (DoH) - Pi-hole documentation