* Peter Brezny <[EMAIL PROTECTED]> [010412 09:55] wrote:
> I'm attempting to get two instances of bind running on the same machine.
> 
> When I start the second instance, i get this error:
> 
> named[15794]: ctl_server: bind: /var/run/ndc: Address already in use
> 
> However it each instance of named can be found with a ps wax|grep named,
> and it appears that each can answer queries.
> 
> I've got separate configurations in separate directories.  The named.conf
> files specify separate ip addresses for the two instances to listen on.
> 
> I'm starting the instances as follows:
> 
> named -u bind -c /path/to/named.conf1
> named -u bind -c /path/to/named.conf2
> 
> Any ideas as to why i'm gettin this error?  I don't believe that it's
> because the ip address is already in use (that error message went away
> when i added the 'listen-on { ;}; statements in each named.conf file)...

One of the more irritating things to figure out with named:

controls {
        unix "/var/run/ndc-2" perm 0600 owner 0 group 0;
};

You want that in your named.conf file, it'll make named use a different
control socket for ndc communication.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to