Sorry, I've hit an edit bug, so once again, with an edit:
Hey guys, I may have found 1 right strand of forgotten twine on a sister thread:No internet connection after installing yosemite
Especially read the post of csukale
Seems to me some of you even after having performed a clean install of Yosemite, but having migrated the rest from an older system may still have mDNSResponder launched concurrently with Discoveryd. They will clash!
Quote csukale/ formatting mine:
Hey could you guys do me a favor and check whether or not there's 2 files in your /System/Library/LaunchDaemons folder named mDSNResponder.plist and mDNSResponder_helper.plist?
If you find said files you you then maybe check your log files and see if you have any error messages regarding mDNSResponder in there? mDNSResponder got replaced by discoveryd and I think it therefor should not be launched anymore. For some reason it was still in my LaunchDaemons folder though. I did a clean install on another Mac and those files were not there. Said Mac didn't have any problems with the internet connection.
If you cannot find those files, start a Terminal session and type:
ps aux | grep -i dns
Alternatively, open Activity Monitor and check Process IDs (PID) for either mDNSResponder and Discoveryd.
By either you might detect Discoveryd and mDNS responder running concurrently as well. Do so immediately after a restart, when your internet is still working. Because if one of both processes have crashed/ stalled/ seized, they will probably disappear from the list. Disappearance will be in effect with the first inability to resolve, I think. "Now you see me, now you don't."
If mDNSResponder is still found active in some way on your Yosemite, move said mDSNResponder.plist and mDNSResponder_helper.plist to the desktop and restart. If all is well afterwards, you may thrash both files.
You may also want to post an Etrecheck report, of which we have seen very little in this thread.
And thank you for this forgotten gem, csukale