On Wed, Feb 05, 2003 at 04:25:49PM -0500, Tyler Trafford wrote: > On Wed, Feb 05, 2003 at 08:25:47PM +0000, Richard Revis wrote: > > Alan wrote: > > > > > Sounds almost like you have dhcp set up and that file is being recreated > > > by the dhcp client every time (wild guess). Maybe just do a sanity > > > check in your /etc/init.d/net.eth* files to ensure that dhcp is not > > > enabled somehow. > > > > That was my thought as well, but the overwriting entries are from the > > old IP range and the only dhcp server on the network is on the new IP > > range. I wrote a quick rc script which just copies the correct > > resolv.conf back after the network comes up, so it's all working, but > > it is curious none the less. > > Is dhcpcd running right now?
I ask because when dhcpcd starts, it renames the existing resolv.conf to something else then creates a new one- if neccesary with cached values. Then when it exits it puts back the pre-existing resolv.conf, which of course vapes any changes you had previously made. -- Tyler Trafford -- [EMAIL PROTECTED] mailing list
