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 188.8.131.52.
I also can ping only ip adresses. My DNS adresses are set to google DNS 184.108.40.206 and 220.127.116.11 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 18.104.22.168 nameserver 22.214.171.124
First ip is my router's address and last two are opendns ip addresses.