Multiple Unbound on Windows

Hi, how would i run multiple unbound services in windows (XP), where
each is running with different set of:
interface:
outgoing-interface:
access-control:
do-daemonize: "yes"
...
etc

Thanks in advance,
- -- Bright Star (Bry8Star).

Hi,

Hi, how would i run multiple unbound services in windows (XP),
where each is running with different set of:

You can start unbound with a configurationfile as parameter like so:

unbound -c path-to\unbound-instance1.conf

Also make sure to assign each of them a different pid file.

//Yuri

Hi Yuri, Thanks.

Worked. :slight_smile:

In windows,
Copied all files from:
C:\Program Files\Unbound\
into:
C:\Program Files\Unbound2\
folder.
(It helped me later to set a different set of firewall rules for this
specific "unbound.exe" binary file)

Inside, C:\Program Files\Unbound2\ folder:
Copied the "service.conf" file as "unbound_2.conf".
Made a batch script file called "unbound_2.cmd".
Placed below (one) line inside script file:
@start "C:\Program Files\Unbound2"\unbound.exe -c "C:\Program
Files\Unbound2"\unbound_2.conf

Then changed all folder names used inside "unbound_2.conf" file:
from "C:\Program Files\Unbound\"
into "C:\Program Files\Unbound2\"

then created a shortcut of that .cmd file on desktop,
and later also created a "Task Scheduler" entry,
so it starts automatically, after login.

- - -- Bry8Star.

Yuri Schaeffer wrote: