Subject: Re: re-reading /etc/resolv.conf on change
To: Christos Zoulas <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
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
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 <email@example.com>
Planix, Inc. <firstname.lastname@example.org> Secrets of the Weird <email@example.com>