ndc options for multiple named processes

Michael Kjorling michael at kjorling.com
Mon Jul 2 20:22:28 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do you have the appropriate listen-on{} clauses in your configuration
files?


Michael Kjörling


On Jul 2 2001 13:02 -0700, Auteria Wally Winzer Jr. wrote:

> The recursive ns uses a separate conf file.  My named command
> is the following:
>
> /usr/local/sbin/named -c /usr/local/etc/named.dnspri-int.conf
>
> This works as expected.  The problem is when I issue the ndc
> command I want it to read the dnspri-int.conf file (recursive), and
> not the named.conf (delegated).  I issue this command:
>
> ndc -c /usr/local/etc/ndc.d/ndc1 -t restart
>
> I get the following error within syslog:
>
> Jul  2 12:44:53 Sun-E3000 named[15613]: ctl_server: bind:
> /usr/local/etc/ndc.d/nd: Address already in use
>
> The nameserver doesn't start.  It hangs before I have to log onto another
> terminal and issue the kill command manually on the PID(s) in question.
>
> Question is: How do I make ndc issue the
> "-c /usr/local/etc/named.dnspri-int.conf" option? ndc already
> has the "-c" option for channel.
>
> One way that works is to do this:
>
> ndc -c /usr/local/etc/ndc.d/ndc1 -t stop
> /usr/local/sbin/named -c /usr/local/etc/named.dnspri-int.conf
>
> In other words, I'd like to do everything within one command
> and not having to type two commands.
>
> Thanks.
>
> Wally Winzer Jr.

- -- 
Michael Kjörling - michael at kjorling.com - PGP: 8A70E33E
"We must be the change we wish to see" (Mahatma Gandhi)

^..^     Support the wolves in Norway -- go to     ^..^
 \/   http://home.no.net/ulvelist/protest_int.htm   \/

***** Please only send me emails which concern me *****

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7QNgHKqN7/Ypw4z4RAtd5AKC0BWcMRLRFYPXPafhNDcoZSa4/8QCg+jhw
ZmeJs9fInCadAjjl4QFlWh8=
=HakC
-----END PGP SIGNATURE-----




More information about the bind-users mailing list