If you’re running a new version of Pi-Hole FTLDNS, all custom DNS fields can now take on a port number with the syntax (host#port). Of course, you should remove (uncheck) every other DNS server. Like this:
Source: DNSCrypt 2.0 · pi-hole/pi-hole Wiki
DNS-over-HTTP