[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?



Hi,

On Fri, Apr 04, 2003 at 11:09:41AM +0200, Bernhard R. Link wrote:

> * Anthony DeRobertis <asd@suespammers.org> [030403 20:20]:
> > > and also
> > > sharper than can easily be drawn in practice.  E.g., is
> > > resolv.conf a configuration file or a state file?
> > 
> > Configuration. Why wouldn't it be? Just because the dhcp clients write
> > to it instead of /var/something? (DHCP machines, IMHO, should have a
> > symlink from /etc/resolv.conf to /var/whatever. Even Mac OS X does
> > this...) Even better would be an include directive in /etc/resolv.conf,
> > but you can't have everything ;-)
> 
> Even an include directive would not solve the need of restarting
> programs after changing nets. Who volunteers to write a save
> reliablle forwarder, so that 127.0.0.1 can be put in there and 
> dhcp-clients only have to cange the forwarders file and send a sighup?

Just run a local cache like djbdns' dnscache, and forget the forwarding
altogether. That way you don't even need the HUP.

Cheers,


Emile.

-- 
E-Advies - Emile van Bergen           emile@e-advies.nl      
tel. +31 (0)70 3906153           http://www.e-advies.nl    

Attachment: pgpOPbm18u6zh.pgp
Description: PGP signature


Reply to: