I recently installed Linaro Ubuntu 12.04 on my cubie development board and I can access websites only with ip adresses, for example I can access google with 126.96.36.199.
I also can ping only ip adresses. My DNS adresses are set to google DNS 188.8.131.52 and 184.108.40.206 in router settings. On Ubuntu I have set to ignore IPv6 and IPv4 to Automatic (DHCP) addresses only and specified google DNS there also.
My /etc/resolv.conf and hosts files are empty. Maybe this is a problem? Waiting for your help.
I found a solution. I just added these lines to my /etc/resolv.conf file:
nameserver 192.168.1.254 nameserver 220.127.116.11 nameserver 18.104.22.168
First ip is my router's address and last two are opendns ip addresses.