Event ID source incorrect for BIND 8.2.3 NT port

Danny Mayer mayer at gis.net
Sun Apr 22 01:26:22 UTC 2001


At 02:30 AM 4/21/01, Joe Rhett wrote:
> >          You would think so.  Unfortunately it's not that simple.  I've looked at this.
> > named is run as a system service.  However, named-xfer is not; it's spawned
> > off of the named process as its own process using the full path name rather than
> > just the name.  That's what's getting into the event log.  If you can figure out the
> > correct thing to put into the registry so that the Event Viewer will recognize it, I will
> > change the BINDInstall code to put it into the registry. This all goes away in
> > BIND 9 since the code is merged in with named.
>  
>I believe that you control the source of the Event ID, right?  Don't send
>the invocation path, just the executible name.


         This turns out to be a minor problem with named-xfer stripping out the path
name using the Unix separator '/' character. On NT this is '\'. This has to be
done so that it doesn't break the Unix side. It's in common code.


> > >2. Is there any reason why the BINDCtrl program isn't a Control Panel
> > >applet? Setting up a program group for a single app doesn't make much sense.
> >

         There wasn't a link in a program group originally.  Someone added that
recently. It's a common thing to do. If you don't want that modify
BINDInstallDlg.cpp to not install a program group.

>  
> >          Yes, Why bother to go to all that extra work?  I didn't write the code, but
> > it's not worth the effort to do this, particularly as BIND 9 is controlled through
> > nrdc which is a command line interface.
>  
>Huh? Your point is unclear to me. First of all, I'm not asking about BIND 9.
>Second, even if it is a command line interface there's no reason not to
>build a Control Panel applet to invoke it.

         Feel free to contribute this to the code base. 

> > >3. Is there a reason why the BINDCtrl program doesn't have a 'restart' option?
>  
> >          As opposed to reload?  What would you want restart to do?  The services
> >    control panel applet doesn't have one either.
>  
>Your questions make no sense to me. The reload button should be equivalent
>to "ndc reload". The restart button should be the same as "ndc restart". If
>you're not sure what the difference is between these functions, why are you
>replying?

         I know what the difference is. The question is why do you want to restart
BIND instead of reloading it.  What do you gain from doing this?  Do people have
a hard time pressing two buttons instead of one? The underlying code would
have to invoke the stop command to the system service and then the start
command in the system service.  There's no restart system service command.

         If your goal is to reduce memory BIND's memory consumption, you're
on the wrong track.  BIND caches information in memory about previous queries
so reduce the need to rerequest an answer that it's already received.

                 Danny



More information about the bind-workers mailing list