Open bavibm opened 4 years ago
Duplicate of #926
When this causes issues, consider following the steps in that issue to reset the DNS resolution, or run crc cleanup
but this command does more that might not be wanted.
https://github.com/code-ready/crc/issues/926#issuecomment-596322747
PS> Set-DNSClientServerAddress "vEthernet (Default Switch)" -ResetServerAddresses
while CRC is running
Hmmm .... sorry, missed that point
On the upside that was a fast response lol
After I ran delete and cleanup, your PS command, and rebooted laptop it seems to be fine now. I have my network metrics for primary adapter set to 5, everything else is automatic.
However it does not seem to work while I have a VPN running, specifically my Check Point VPN. I can't even open the CRC web console while VPN is on.
Update: As soon as I turn off VPN web console will come up Update 2: Turned automatic network metrics back on for primary adapter and problem persists
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The cleanup command resolves this, so this is very likely related to the DNS server entries on the Default Switch: you can run the reset like: https://github.com/code-ready/crc/issues/1352#issuecomment-652499670 so you do not need to use the cleanup command.
Note: We are looking into an alternative for this, but at the moment I can't give a timeline for this.
General information
crc setup
before starting it (Yes/No)? YesVery straight forward issue here and I've seen a lot of people post similar issues on GitHub and in public articles.
Whenever I start running CRC on Windows 10 2004 my DNS resolution becomes very slow. The easiest way to see it is to not run CRC and start browsing the web, see how fast the pages and dynamic content load. Pages and dynamic content would load near instantly, but once I start CRC everything takes several seconds.
I did some searching and found that tweaking the network metric on my primary adapter to a higher priority does solve this issue, sort of. It makes resolution for things outside of my local network normal speed again, but then the CRC name resolution becomes very slow. This is apparent because loading the CRC web console and all of its components takes a while, where it use to work instantly.
I do not have any of my VPNs you might see in the Host Information running, just in case that comes up.
UPDATE: Gist for
crc start --log-level debug
https://gist.github.com/bavibm/55c988a5f2c57ccf0632f43314807c06CRC version
CRC status
CRC config
Host Operating System
Steps to reproduce
Given my system info
crc setup
crc start
Expected
Web browsing is normal speed, DNS resolution is unimpacted.
Actual
Web browsing is very slow with pages taking a more than a few seconds to come up, DNS resolution seems to be negatively impacted