|Type following command in command prompt (cmd.exe) to make sure it displays correct IP address, subnet mask, gateway and DNS servers info. If yes, ping the gateway IP and make sure it works. |
After that test to nslookup those domain names, see whether it works. If it doesn't work well, try to configure following free DNS servers provided by Google, see whether it works.
Hope this helps.