The -P or -d flags don't make a difference. The interesting thing is that if I rename /etc/rc.d/nsd-internal to /etc/rc.d/nsd it works fine. If copy the original /etc/rc.d/nsd to /etc/rc.d/nsd-internal, it doesn't work. It seems like something is preventing it from starting because the rc script is named something different.
On Mon, Aug 31, 2015 at 7:11 PM, Edgar Pettijohn <[email protected]> wrote: > Might need to add the -P flag to specify a different pid. What happens if > you start the second instance with the -d flag? > > > On 08/31/15 19:04, Gabriel Kuri wrote: > >> In migrating from bind to nsd, I currently have split views in bind and >> need to run multiple instances of nsd to accomplish the same thing. What's >> the best way to start multiple instances of nsd? I tried copying >> /etc/rc.d/nsd to /etc/rc.d/nsd-internal and in the rc script I changed >> daemon_flags to "-c /var/nsd/etc/nsd-internal.conf" to reflect the new >> config name, but it doesn't work, that instance of nsd doesn't start and >> there's no errors in /var/log/daemon and I have no idea why it's not >> starting. I also updated nsd-internal.conf to use a different port, >> different PID file and DB name, so they wouldn't conflict with the primary >> instance of nsd, but no luck. >> >> Anyone else running multiple instances of nsd, if so, what did you do to >> get it to work?

