Anyway, the answer to Dan's question is that I put it in the nsd startup script. That took care of the problem.