Re: resolv.conf gets reset

From: Derrick 'dman' Hudson (dman_at_dman13.dyndns.org)
Date: 06/21/04

  • Next message: MillTek: "Re: Sound system"
    Date: Mon, 21 Jun 2004 14:43:41 -0400
    To: debian-user@lists.debian.org
    
    
    

    On Sun, Jun 20, 2004 at 09:11:40AM -0700, Brenden wrote:
    | Hi all, new debian user here with some basic questions.
    |
    | My resolv.conf file keeps getting reset to nothing (well, just the
    | two comment lines warning me not to change things manually)
    | everytime I reboot. I just plain don't have any idea what could be
    | causing this. Ideas? Help?

    My guess is you are using DHCP and the DHCP server on the network
    doesn't tell the clients what nameserver to use.

    If you are responsible for the DHCP server, then fix its
    configuration.

    If you have no control over the DHCP server, then configure your
    client to override the DNS settings reported by DHCP. If you are
    using the 'dhcp-client' package (instead of pump or dhcpcd) then look
    at /etc/dhclient.conf. The following lines from my dhclient.conf file
    will be of interest to you:
        supersede domain-name "dman13.dyndns.org" ;
        supersede domain-name-servers 127.0.0.1 ;

    (if you don't use DHCP, then nothing should change /etc/resolv.conf at all)

    HTH,
    -D

    -- 
    "He is no fool who gives up what he cannot keep to gain what he cannot lose."
        --Jim Elliot
     
    www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: MillTek: "Re: Sound system"

    Relevant Pages

    • Re: DDNS Issues
      ... not so much the DHCP server itself. ... the clients themselves can register directly with DNS instead of the DHCP ...
      (microsoft.public.windows.server.dns)
    • Re: Multiple PTR records wont go away in the reverse zone.
      ... What about the DHCP setting "Dynamically update DNS A and PTR records only ... if requested", so clients will specify. ... I do agree with all your DHCP server recommendations (especially entering ... there is no other reason for a client to register in DNS when off ...
      (microsoft.public.windows.server.dns)
    • Re: SuSe10.0 - windowsXP networking problem !! plz help!!!!
      ... >>> The ADSL modem is a DHCP server, not a client one merely decided to ... >>> the ADSL modem, and ALL clients get assigned Local IP addresses by the ... >>> ports and some 16 WAN ports. ... >>it's DHCP server to pass out the default gateway parameter to the clients. ...
      (alt.os.linux.suse)
    • Re: Strange DHCP Problems
      ... clients which get incorrect subnet mask; maybe it's the hardware that causes ... try plugging 2-3 of the clients which get incorrect mask into a simple ... You can also use sniffer on different network segments between DHCP server ... > 2 months ago random clients began to get the wrong subnetmask. ...
      (microsoft.public.windows.server.networking)
    • RE: Faking multiple physical adapters for DHCPDISCOVER
      ... This because my provider has assigned me ... NAT-traffic and two for static NAT. ... I have about 5 clients that can share 1 IP with NAT and I have 2 other ... NAT-ed clients would need to get their IP's from the local DHCP server and ...
      (freebsd-questions)