Is there any way to configure Windows (10 in my case), to use specific DNS server for specific TLDs?
For example I want to use the local DNS server for the .local
, .lab
, .corp
and .example
domains. But I want to use a public DNS server for any other domain.
I know I could use the public DNS server as a primary, which would fail for the local TLDs and therefore would fallback to the secondary DNS server (the local one). This would work, but it would also leak all the URLs/Domain names to a public DNS server.
edit: I know I could use the hosts file to statically map the local URLs, but that's not very viable and I would like to avoid that.