prova come ha detto av89
a mettere dentro: /etc/network/interfaces

dns-nameserver 8.8.8.8