unbound
unbound copied to clipboard
[FR] How to setup Unbound in Windows
Current behavior Is there a current behavior that the feature relates to? If yes, would you wish the current behavior to change?
Describe the desired feature Create a wiki or documentation showing how to setup unbound in Windows, currently there is no documentation for windows just for linux
Potential use-case Describe how you see this feature being useful to other Unbound users.
This will help others users that has windows installed configure Unbound easily and with no issues.
There is no wiki or current documentation next to the Linux descriptions. Here are some links to the existing documentation on the topic.
README on Unbound on Windows https://github.com/NLnetLabs/unbound/blob/master/winrc/README.txt PDF on Unbound on Windows https://nlnetlabs.nl/documentation/unbound/unbound-windows-manual-02.pdf
man page for Unbound, in general. https://nlnetlabs.nl/documentation/unbound/unbound/ This documents the options for unbound configuration, they are the same also for other systems.
Is it possible on windows as service to change the location of the config file (to NOT be C:\Program Files\Unbound\service.conf) ?
Yes, unbound uses the same commandline option -c file as on Linux, if you change the commandline that it is started with. It can also be changed with the registry setting in 'HKLM\Sofware\Unbound\ConfigFile'.
Running it locally from the command promt worked. I tried few times installing as service, but it had always searched for the config in the default folder in program files.
Eventually - it worked - i guess the unbound-service-install.exe app did the trick. It just had to specify the full path to the config file to be used by the service (this is for stand alone version - without installation)
Thanks!