This is by far the weirdest problem I've come across, My mac can perfectly access internet through safari web browser, but when I tried to do
ping www.google.com
through the terminal, it's requests is being timed out.
None of the other apps are able to reach internet either. Dropbox, Skype, Spotify all showing offline, except the browser itself
I'm guessing something bad with the DNS, but spend 2 hours trying to fix this with no luck
ping 8.8.8.8
.ping 8.8.8.8
results in timeout as well