[18674] in Athena Bugs
Re: linux 8.4.17: dhcp
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Jan 16 14:04:37 2001
Date: Tue, 16 Jan 2001 14:04:33 -0500
Message-Id: <200101161904.OAA25141@alice-whacker.mit.edu>
From: Garry Zacheiss <zacheiss@MIT.EDU>
To: Camilla R Fox <cfox@mit.edu>
CC: bugs@mit.edu
In-reply-to: "[18671] in Athena Bugs"
>> I have ADDR=dhcp set in /etc/athena/rc.conf. I also am running a caching
>> named, as usual.
>>
>> When I boot up, my /etc/resolv.conf gets modified to make 18.70.0.160
>> my default nameserver, instead of localhost.
I'm going to have to call 'not a bug' on this. It's sort of the dhcp
model that the client will rewrite resolv.conf for you; f you dhcp in a
domain other than mit.edu, you probably want it rewritten. As for
making it not do this, our options would be to install an
/etc/pump.conf, which would only allow us to prevent pump from rewriting
resolv.conf for specific interfaces, or modify
/etc/sysconfig/network/ifup to start pump with the -d option, neither of
which are really good alternatives.
Now, it is a bug that if you set your machine to use DHCP and then
switch back to a static address, resolv.conf never recovers. This is
straightforward to fix, and I'll submit a patch to syncconf to implement
this behavior later this week.
Garry