Maintained by: NLnet Labs

[Unbound-users] Multiple Unbound on Windows

Bry8 Star
Tue Oct 23 05:03:44 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Yuri, Thanks.

Worked. :)

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:
> 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
-----BEGIN PGP SIGNATURE-----

iF4EAREKAAYFAlCGCQ0ACgkQiDbboldsEOwVAAD/cPcRVY7mNXf8fOB577BdGURI
aB56fYc1xP91D410aywBAIF3YhfvVIA9rmI745o4oqfC3R00TE1Nl/dsU0iir6J8
=LNSH
-----END PGP SIGNATURE-----