On 2016-06-28, Jiri B <[email protected]> wrote:
> On Tue, Jun 28, 2016 at 07:22:46PM +0200, Tor Houghton wrote:
>> Hello,
>> 
>> I'm looking for the best/easiest way to run unbound on different interfaces
>> but with different configuration files (well, what I actually want is to
>> specify different forward-addr: configurations for each interface).
>> 
>> I also would like to control the unbound daemon(s?) using rcctl.
>> 
>> Should I go about this by making multiple unbound entries in /etc/rc.d
>> pointing to different configuration files? Or is there a more elegant way
>> (e.g. /etc/rc.d/unbound_em0 /etc/rc.d/unbound_em1 and corresponding
>> rc.conf.local entries)?
>
> See 'EXAMPLES' section in rcctl(8).

symlinking won't work well with unbound, you'll need to copy and edit
to specify filenames/paths to unbound-checkconf and, if applicable,
unbound-anchor.

Reply via email to