I have a dsl gateway that can't seem to give out proper dns
information.  So I configured it to pass different dns servers in its
dhcp leases.  When I cat /var/lib/dhcp/dhclient.leases it looks like
this:

lease {
  interface "eth0"
  fixed-address 192.168.0.2;
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1;
  option domain-name-servers 205.171.2.65,205.171.3.65;
  option domain-name "domain.actdsltmp";
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option dhcp-server-identifier 192.168.0.1;
  renew 4 2005/8/18 04:15:22;
  rebind 4 2005/8/18 13:15:22;
  expire 4 2005/8/18 16:15:22;
}

Which is what I would expect, but then looking at /etc/resolv.conf I
still have 192.168.0.1 as my primary name server.  How do I go about
chaning this?  I know I can use supersede and append but I don't want
to use these servers on every network I connect to.

I'm sure I'm missing something simple.  

Thanks in advance.

Dave

Reply via email to