Forum Discussion
Disable built in DNS Completely
- Feb 23, 2021
in Edge settings, set DNS to "Use current service provider"
can be configed via group policy:
https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#dnsoverhttpsmode
set that to "Off"
The "off" mode will disable DNS-over-HTTPS.
also disable this:
https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#use-built-in-dns-client
more info:
"This policy controls which software stack is used to communicate with the DNS server: the operating system DNS client, or Microsoft Edge's built-in DNS client. This policy does not affect which DNS servers are used: if, for example, the operating system is configured to use an enterprise DNS server, that same server would be used by the built-in DNS client. It also does not control if DNS-over-HTTPS is used; Microsoft Edge always uses the built-in resolver for DNS-over-HTTPS requests. Please see the DnsOverHttpsMode policy for information on controlling DNS-over-HTTPS."
"If you enable this policy, the built-in DNS client is used, if it's available.
If you disable this policy, the built-in DNS client is only used when DNS-over-HTTPS is in use.
If you don't configure this policy, the built-in DNS client is enabled by default."by the way, this part is a bit confusing: "However when users go home the external DNS server points that same URL to the external site page instead. "
you only have a homepage URL which is a website hosted internally, then what is the external site page?
So to give you more clues as to what's going on, even after flushing the DNS cache the website still directs to the external web page while on site unless I clear Edge cache. One I clear Edge cache it will now begin to resolve correctly again. Do you know if there is something that caches webpages for faster loading in Edge chromium? If so I think that would be the culprit. I will also do my own research into the matter and respond back if I find the solution.
Fatal_Ignorance wrote:
I've tested the configuration and it does not seem to work still.
So to give you more clues as to what's going on, even after flushing the DNS cache the website still directs to the external web page while on site unless I clear Edge cache. One I clear Edge cache it will now begin to resolve correctly again. Do you know if there is something that caches webpages for faster loading in Edge chromium? If so I think that would be the culprit. I will also do my own research into the matter and respond back if I find the solution.
Well yes there is "Preload pages for faster browsing and searching" option in settings
edge://settings/content/cookies
Another workaround for this, you can use this option here:
edge://settings/clearBrowsingDataOnClose
just check the box that clears browser cache every time Edge is closed.
and are you sure it's not the cookies and only cached data like images, files etc.? because if it was cookies you could add only that domain to clear on exit.
- Fatal_IgnoranceFeb 26, 2021Copper ContributorThank you!
So I was able to resolve the issue on edge. I verified that it was not the cookies causing issues at all so I didn't change anything with that but your second suggestion lead me to the GPO:
"Clear cached images and files when Microsoft Edge closes"
enabling that fixed my issue on edge, now I just need to make sure the users know to close and reopen edge from home after they connect to the VPN to ensure they get to the proper site.
Now all I have to do is try to find resolutions for chrome / IE 😛- HotCakeXFeb 26, 2021MVPYou're welcome, glad I could help 🙂
I'm fairly positive that Chrome also has the same feature.- Fatal_IgnoranceFeb 26, 2021Copper Contributorno, it does not have that same GPO nor that same page so I'll just have to come up with something else, but at the very least you've fixed my issue on Edge.
thanks!