dhcp configuration issues

From: David Berg (drberg1000_at_gmail.com)
Date: 08/17/05

  • Next message: Chris Palmer: "Re: diary with encryption"
    Date: Wed, 17 Aug 2005 12:18:49 -0500
    To: Debian users <debian-user@lists.debian.org>
    
    

    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


  • Next message: Chris Palmer: "Re: diary with encryption"

    Relevant Pages

    • Re: spamcop
      ... I stop 99.5% of all spam hitting my servers. ... There is resistance to this idea, because some admins fear losing any ... legit mail. ... The list may also urge offending admins to set up proper DNS, ...
      (Debian-User)
    • Re: How to fix resolv.conf?
      ... Then I want to fill the file /etc/resolv.conf with the proper dns ... iface lo inet loopback ... My dns servers do not now change as a result. ...
      (Debian-User)