Basavaraj Chougala: The file /etc/network/interfaces is not dynamically
generated. The content of the file /etc/resolv.conf is dynamically
generated. To cause nameserver addresses accessible over eth0 to be
included in resolv.conf, add a "dns-nameservers" option line to
/etc/network/interfaces, as follows.
auto eth0
iface eth0 inet static
address 10.10.80.180
netmask 255.255.0.0
broadcast 10.10.80.255
gateway 10.10.1.2
dns-nameservers 10.10.1.2 208.67.222.222 208.67.220.220
After editing /etc/network/interfaces, do the following to cause the
nameserver addresses to be included in resolv.conf.
sudo ifdown eth0
sudo ifup eth0
Also make sure that /etc/resolv.conf is a symbolic link to
"../run/resolvconf/resolv.conf".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1000244
Title:
Symlink /etc/resolv.conf does not exist after installation or upgrade
of resolvconf -- various causes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs