Edge: DNS Flush

%3CLINGO-SUB%20id%3D%22lingo-sub-1131012%22%20slang%3D%22en-US%22%3EEdge%3A%20DNS%20Flush%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1131012%22%20slang%3D%22en-US%22%3E%3CP%3EI%20ran%20into%20a%20persistent%20%22resolving%20host%22%20issue%20on%20one%20of%20my%20computers%20this%20weekend%20and%20worked%20my%20way%20through%20the%20usual%20resolution%20steps%20(W10%20DNS%20flush%20(ipconfig%20%2Fflushdns)%2C%20browser%20DNS%20flush%20and%20so%20on)%20in%20order%20to%20clean%20up%20the%20various%20DNS%20caches%20and%20start%20with%20a%20clean%20slate.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20does%20not%20appear%20that%20Edge%20DNS%20flush%20(%3CA%20href%3D%22edge%3A%2F%2Fnet-internals%2F%23dns%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eedge%3A%2F%2Fnet-internals%2F%23dns%3C%2FA%3E%2C%20similar%20to%20chrome%3A%2F%2Fnet-internals%2F%23dns%20or%20opera%3A%2F%2Fnet-internals%2F%23dns)%20is%20operative.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20%22Clear%20host%20cache%22%20button%20shows%20up%20but%20doesn't%20seem%20to%20be%20functioning%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20484px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167488iB26A5D27DC9006DE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22EdgeDNSFlush.jpg%22%20title%3D%22EdgeDNSFlush.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20if%20this%20is%20a%20bug%20or%20a%20feature%2C%20but%20it%20is%20a%20difference%20from%20other%20Chromium-based%20browsers%20I've%20had%20the%20occasion%20to%20use.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1153433%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%3A%20DNS%20Flush%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1153433%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318339%22%20target%3D%22_blank%22%3E%40tomscharbach%3C%2FA%3E%26nbsp%3BThanks%20for%20reaching%20out%2C%20Tom!%20I%20brought%20this%20back%20to%20the%20team%20and%20they%20didn't%20have%20an%20immediate%20answer.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317619%22%20target%3D%22_blank%22%3E%40ericlaw%3C%2FA%3E%26nbsp%3B%2C%20do%20you%20have%20any%20insight%20into%20this%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CI%3EFawkes%20(they%2Fthem)Project%20%26amp%3B%20Community%20Manager%20-%20Microsoft%20Edge%3CI%3E%3C%2FI%3E%3C%2FI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1153469%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%3A%20DNS%20Flush%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1153469%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318339%22%20target%3D%22_blank%22%3E%40tomscharbach%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20note!%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20elaborate%20on%20your%20determination%20that%20the%20button%20doesn't%20work%3F%20What%20sort%20of%20testing%20did%20you%20do%3F%3CBR%20%2F%3E%3CBR%20%2F%3ENotably%2C%20the%20button%20provides%20no%20feedback%20of%20completion%2C%20and%20is%20styled%20in%20such%20a%20way%20in%20Edge%20that%20it%20is%20more%20likely%20to%20appear%20that%20clicking%20it%20hasn't%20actually%20%22pushed%22%20the%20button.%20But%20it%20does%20dispatch%20the%26nbsp%3B%3CSTRONG%3EclearHostResolverCache%3C%2FSTRONG%3E%20call%20to%20the%20browser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1457922%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%3A%20DNS%20Flush%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1457922%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318339%22%20target%3D%22_blank%22%3E%40tomscharbach%3C%2FA%3E%26nbsp%3BI%20found%20the%20same%20%22issue%22%20you%20likely%20saw.%20Not%20only%20did%20I%20need%20to%20ipconfig%20%2Fflushdns%20and%20edge%3A%2F%2Fnet-internals%2F%23dns%20but%20also%20Ctrl%2BF5%20on%20the%20website%20in%20questions.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Valued Contributor

I ran into a persistent "resolving host" issue on one of my computers this weekend and worked my way through the usual resolution steps (W10 DNS flush (ipconfig /flushdns), browser DNS flush and so on) in order to clean up the various DNS caches and start with a clean slate.

 

It does not appear that Edge DNS flush (edge://net-internals/#dns, similar to chrome://net-internals/#dns or opera://net-internals/#dns) is operative. 

 

The "Clear host cache" button shows up but doesn't seem to be functioning:

 

EdgeDNSFlush.jpg

 

I don't know if this is a bug or a feature, but it is a difference from other Chromium-based browsers I've had the occasion to use.

6 Replies

@tomscharbach Thanks for reaching out, Tom! I brought this back to the team and they didn't have an immediate answer. @ericlaw , do you have any insight into this?

 

Fawkes (they/them)
Project & Community Manager - Microsoft Edge

@tomscharbach Thanks for the note!

Can you elaborate on your determination that the button doesn't work? What sort of testing did you do?

Notably, the button provides no feedback of completion, and is styled in such a way in Edge that it is more likely to appear that clicking it hasn't actually "pushed" the button. But it does dispatch the clearHostResolverCache call to the browser.

@tomscharbach I found the same "issue" you likely saw. Not only did I need to ipconfig /flushdns and edge://net-internals/#dns but also Ctrl+F5 on the website in questions.

This problem still happens today. flushing the DNS or CTRL+F5 doesn't clear the previously cached DNS entry for a site, but opening an new "private" window does resolve the site at the new DNS/IP location. Returning to the original tab and refeshing still brings up a dead site. Closing all Edge instances and reopening (I didn't check if any Edge background processes kept running), didn't resolve the issue. Went off to make a coffi, hit refresh in same tab as before and all was good. Probably a 5-10 min delay.
I happy to take a look at your NetLog where you found edge://net-internals/#dns was ineffective.

Keep in mind that if you have an active (reusable) connection to the site, I'm not sure that flushing the browser's DNS cache will close that connection.
I had a similar problem and determined that occurred when the target host's ip address changed after it had been resolved by a secondary DNS server. I thiis case I have a split DNS setup and the local DNS server did not respond with the local address for the host. The internet server responded with the domain's public IP address which cannot be used to reach the internal server. Flushing the did not resolve the issue. Closing and reopening Edge also did not resolve the problem. I changed Edge settings so all processes end when you close the app. Closed the app and restarted. At that point the local address was retrieved from the local DNS server and the connection was made.

Based on @ericlaw's comment it would appear that the DNS client is not being consulted even when opening a new window. It's as if Edge has created something that behaves like a cache although it appears that it's reusing connections. The problem is that it doesn't seem to know that the server's address has changed even if the server is currently unreachable.

Perhaps the Edge should lookup the address from time-to-time and avoid reusing of stale addresses.