Comment 7 for bug 366967

Revision history for this message
Jorge Moraleda (jorge-moraleda) wrote :

My symptoms are the same on ubuntu 9.10 karmic. I use a static ip address, but I decided to migrate from specifying my dns servers in /etc/resolv.conf to adding a dns-nameservers line in /etc/network/interfaces. After a full boot /etc/resolv.conf is blank with only the comment lines.

  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

After I manually restart the network with ifdown/ifup, then my resolv.conf gets properly written.

This my /etc/network/interfaces:

  auto lo
  iface lo inet loopback

  iface eth1 inet static
  address 192.168.1.11
  netmask 255.255.255.0
  gateway 192.168.1.1
  dns-nameservers 68.94.157.1 68.94.156.1
  auto eth1