This question already has an answer here:
I am trying to connect the Raspberry pi 2 running on Raspbian to my win7 laptop via ethernet. After the connections are done, when I point the mouse on the network icon, I am getting a message, 'eth0: configured '. But when I try opening a browser, I am not able to access the net. When I open chromium, I am getting a message about DNS lookup failing.