Good day all,
Apologies if this has been asked and I have missed it, but can anyone point me to a good tutorial on how to set up DNS over TLS but using a hostname instead of an IP address. I have seen a heap of stuff which talks about using IP addresses and then verifying the certificate / hostname but not alot around when there is a hostname instead of an IP address.
Some context, I have started to use Cloudflare Gateway to filter the DNS queries and remove some of the more malicious items. I prefer Cloudflare Gateway because you can decide and dynamically update which areas you want to filter and not but the issue I have is that the service does not work entirely well when you have Dynamic IP addresses.
At home its not a problem, so I can use their server IP addresses and in the portal say this is my static IP address and it works well however, I also want to set this up on my travel router which would change its IP address on a regular basis. To get around this Cloudflare have the ability to work with a hostname which is unique to your connection and you don't need to update to say this is my IP which would be great, but I can't see anything that really describes using a hostname as the server address rather than the specific IP4 or IP6 address.
I can get this working via DNS over HTTPS using the DNS over HTTPS proxy but I am not a huge fan of this way, and ideally id love to get DNS over TLS working instead, but using the hostname rather than the static addresses.
If it helps, I am using LUCI openwrt-19.07 branch.