Subject: Re: re-reading /etc/resolv.conf on change
To: Christos Zoulas <christos@zoulas.com>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 01/01/2004 14:29:49
[ On Thursday, January 1, 2004 at 01:06:11 (GMT), Christos Zoulas wrote: ]
> Subject: Re: re-reading /etc/resolv.conf on change
>
> In article <m1Abqap-0002T7C@proven.weird.com>,
> Greg A. Woods <tech-userlevel@NetBSD.ORG> wrote:
> >
> >Personally though I'd rather have a hook that an application could use
> >to force a re-read.  Long-running network daemons could then simply call
> >that hook at the same time they re-read their own configs on SIGHUP,
> >something most any daemon of interest will already support, and if not
> >then it should.
> 
> Do I hear nscd and doors?

Not from me you didn't!  :-)

ncsd is the first victim of any encounter I make with any SunOS-5
machine.

I think SIGHUP really is quite sufficient for this purpose, and it's
already widely used -- all we're missing is the res_reload() hook.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>