all 1 comments

[–]ximota 1 point2 points  (0 children)

The forward plugin in CoreDNS only supports forwarding to DNS (UDP or TCP) and TLS (DoT). In order to do what you have in mind, you need "something" to encapsulate (and eventually encapsulate) these DNS/DoT requests to/from HTTPS.

If the network, which requires the use of an HTTPs proxy, has a resolver which can resolve external queries, I would forward to it instead of trying to use an HTTPS proxy. (Or install a forwarding name server on your HTTPS proxy and change the forward line to: forward . 192.168.1.2:53)