0

On Ubuntu 32 bits I decalred my DNS in /etc/resolv.conf Now that I installed Ubuntu 64 bits I do not find this file.

I edited /etc/network/interfaces and /etc/hosts but there is no /etc/resolv.conf.

So I went to the network manager and I set everything graphically there. But when I run:sudo service network - interface restart INTERFACE = eth0 I still can not ping www.google.fr

Where can I find the equivalent file for resolv.conf in order to declare my DNS ? What can I do to connect ? Must I deleted my files editions since I did the settings graphically using the Network Manager ?

1 Answers1

0

If the initial link I gave you did not work,

sudo gedit /etc/resolvconf/resolv.conf.d/head  

Add your nameserver(s) , for example

nameserver 8.8.8.8

nameserver 8.8.4.4

save your changes and close gedit

Then run

sudo resolvconf -u 
Panther
  • 104,528