I have a home server running Proxmox, on which I have set up Pi-hole for adblocking/DNS and Nginx Proxy Manager as my reverse proxy. Pi-hole has 1.1.1.1 and 1.0.0.1 set as it's upstream servers (just until I migrate my DNS records from Cloudflare DNS to Pi-hole). I set all records on Cloudflare to point to 192.168.1.7 (my NPM instance), which then points to my services.
I set the DNS server on my PC to 192.168.1.3 (my Pi-hole instance), and it is able to resolve all DNS queries, except for my subdomains set in Cloudflare.
I initially thought it was a problem with Pi-hole, so I set the DNS servers to be 1.1.1.1 and 1.0.0.1, but it still failed to resolve the domains. However, when I turned on DoH (with automatic templates), it suddenly worked, and all of my domains resolved to my services.
(Windows 11 Pro 24H2 26100.4770)