If you have eth0 set up to use DHCP to obtain it's IP from say your ISP, then the client will also update resolv.conf to reflect what the server is telling it to use for DNS resolution.
/etc/sysconfig/network-scripts/ifdown-post handles the actual updates... If you define the variable "PEERDNS" in /etc/sysconfig/network-scripts/ifup-eth0 to "Yes" I.E. "PEERDNS=YES" Then whatever you place in /etc/resolv.conf WILL NOT get overwritten when dhcp obtains it's IP and/or lease. BTW: I got all of this just by looking at the scripts in /etc/sysconfig/network-scripts/ It seems that you have DHCP misconfigured though, for some reason your machines scripts think that you are using DHCP to OBTAIN a lease. This has nothing to do with it acting as a DHCP SERVER for your other machines! -JMS -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Parish Sent: Thursday, December 20, 2001 8:10 PM To: expert Subject: [expert] what writes resolv.conf at boot? Ed Tharp gave me lots of assistance over on the newbie list with getting some network issues fixed in my setup. The remaining small problem is that every time my machine boots the resolv.conf file is overwritten by something and I lose the ISP nameserver addresses that need to be there. My setup is: 1 LM8.1 server sharing its dial-up ppp connection Several LM8.1 client machines getting their IP's via DHCP from the server That's it. Nothing complicated! Any suggestion on where to put these addresses so I don't have to put them back manually at each boot? TIA Brian
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com