Since upgrading to Yosemite I've been having weird network issues. I'm assuming it is something DNS related. I can access any website just fine using the browser, but most network terminal commands fails. E.g. ping google.com returns ping: cannot resolve google.com: Unknown host However nslookup google.com works just fine and returns a list of servers with ip addresses. Then if I ping one of those ip addresses it works just fine. As a temporary solution for now I've added entries to /etc/hosts for server addresses that I use often. It seems to sort of work, but I have to restart my mac each time I make a change to /etc/hosts for the change to take effect. At this stage I'm thinking the best and fastest solution might be to do a complete reinstall of Mountain Lion and then wait until Yosemite is officially released before upgrading. Thoughts?