"ndc reload" for two named processes on one machine

Francis A. Vidal francis at usls.edu
Wed Nov 24 01:21:47 UTC 1999


---- Quoting Cricket Liu's message, sent 11/23/99 5:59pm ----

> > i couldn't get `ndc reload' to work for a name server running two named
> > processes. how is this done?
> 
> That depends on the version of BIND.  In BIND 8.2+, use a controls
> statement to have one named use a different UNIX domain socket, and
> use the -c option to ndc to tell it to contact that name server on the
> alternate socket.  Before BIND 8.2, use the pid-file substatement to
> direct one name server to use a different PID file, and tell ndc to
> use that file.

yes, i forgot to tell everyone that i'm using bind-8.2.2.p5 on a FreeBSD
3.3-stable system. i've already configured the two named processes to
write different domain sockets:

	-- INTERNAL --
	control {
		unix "/var/run/ndc_internal" perm 0600 owner 0 group 0;
	};

	-- EXTERNAL --
	control {
		unix "/var/run/ndc_external" perm 0600 owner 0 group 0;
	};

apparently, i was accessing the old manpage of `ndc' that's why i wasn't
able to get additional information about the command line options. thanks
for the info.

-- 
francis vidal	university of st. la salle, bacolod city, philippines
. . . . . . .	PGP key available via e-mail / subject: get PGP key
u s l s N E T	tel nos. (+63.34).433.3526 / fax (+63.34).434.0415



More information about the bind-users mailing list