well ya have an internet connection but in the /etc/resolv.conf you need to add your DNS (Domain Name Server) when you know the IP of your DNS (you may need to contact your ISP if you dont no or if you are a part of a network then you need to ask the network administator)

in the /etc/resolv.conf type:

nameserver IP-OF-DNS-HERE

that should then work - as your problem at the moment is that no Domain Names can be resolved to an IP Address