unbound icon indicating copy to clipboard operation
unbound copied to clipboard

[FR] How to setup Unbound in Windows

Open celphogeek opened this issue 2 years ago • 4 comments

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.

celphogeek avatar Sep 17 '23 13:09 celphogeek

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.

wcawijngaards avatar Sep 18 '23 07:09 wcawijngaards

Is it possible on windows as service to change the location of the config file (to NOT be C:\Program Files\Unbound\service.conf) ?

ivivanov-bg avatar Mar 25 '24 15:03 ivivanov-bg

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'.

wcawijngaards avatar Mar 25 '24 15:03 wcawijngaards

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!

ivivanov-bg avatar Mar 25 '24 15:03 ivivanov-bg