My MacBook sometimes can't connect to the internet. Chrome displays "Resolving host" but a web page doesn't appear. Safari also doesn't work. Interestingly, sometimes Google seems to work as the only web page (also auto complete in Google). After some time (or sometimes when I call "
dscacheutil -flushcache") it works for a few minutes and then the issue occurs again.
Other devices always work so it has to be related to my MacBook. I'm using two DNS servers pointing to 18.104.22.168/22.214.171.124. When the issue is present Ping doesn't work (
ping: cannot resolve www.google.com: Unknown host) and Lookup doesn't work too (
www.google.com -> The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.))
A few month ago I had the same issue. At the time I had to delete some files in the LaunchDeamons-folder but I can't remember which ones...
Anything I could try?
Update: If I add a second "Location" (in the Network preferences) I can simply switch to the other location and I'm back in the Internet... pretty tedious solution...