I have a tool that we are trying to hide behind a VPN.
I created a DNS entry in the VPN to resolve to the IP of the server running the tool.
Then created a CNAME in cloudflare to point to the VPN URL.
Let me put some sample values behind that.
URL we want to use https://expl-tool-test.example.io. (we own the domain and use cloudflare for dns resolution)
VPN DNS entry. expl-tool-test.network.vpn which points to the IP of the server. CNAME in cloudflare: “exp-tool-test” expl-tool-test.nework.vpn
This setup works fine once the VPN client is connected. It works for mac OS, ubuntu.
Windows OS fails to resolve expl-tool-test.example.io
If I try expl-tool-test.nework.vpn from Windows that resolves, but the tool redirects back to the URL expl-tool-test.example.io, which breaks it again.
It seems as if Windows is failing to get the CNAME from cloudflare.
nslookup expl-tool-test.example.io
Server: unknown (on a mac this has an IP, same as the below IP)
Address: xxx.xx.x.xx (seems to find an IP, that matches the same command on a mac)
ping expl-tool-test.example.io
on mac, gives expl-tool-test.nework.vpn.
On Windows, not resolved.
I am able to browse the internet from the Windows box, the VPN does not restrict the internet in anyway. This works with no issue on mac, and ubuntu.