6

Possible Duplicate:
How To Auto Add To /etc/resolv.conf?

I wrote interfaces entries manually because of weird behaviour from network manager/indicator:

$ cat /etc/network/interfaces
auto lo
auto eth0

iface lo inet loopback

iface eth0 inet static
  address 192.168.1.2
  netmask 255.255.255.0
  gateway 192.168.1.1

Also, I manually edited /etc/resolv.conf and added some DNS servers there, but on every boot it replace my edits with:

$ cat /etc/resolv.conf
# Generated by Connection Manager
nameserver 127.0.0.1

I would like to preserve my DNS host modifications to /etc/resolv.conf. How can I do this?

zzz
  • 63

0 Answers0