If you are having issues with DNS in OS X Yosemite, you're not alone. Me too.
A less intense fix for the problems (that generally works for me) comes from these two articles on SE:
DNS doesn't work properly in OS X Yosemite
Yosemite Cannot Resolve Domain Names
Solution summary: