unbound/winrc
2018-05-28 13:22:10 +00:00
..
anchor-update.c - rename ldns subdirectory to sldns to avoid name collision. 2015-03-26 10:21:38 +00:00
combined.ico combined icon 2009-03-03 10:34:56 +00:00
gen_msg.bin windows registry settings. 2009-03-03 15:55:02 +00:00
gen_msg.mc windows registry settings. 2009-03-03 15:55:02 +00:00
README.txt - Document windows 8 tests. 2015-03-04 13:24:27 +00:00
rsrc_anchorupd.rc update anchors on win. 2009-03-12 16:31:57 +00:00
rsrc_svcinst.rc windows registry settings. 2009-03-03 15:55:02 +00:00
rsrc_svcuninst.rc windows registry settings. 2009-03-03 15:55:02 +00:00
rsrc_unbound_anchor.rc unbound-anchor work 2010-09-23 13:51:29 +00:00
rsrc_unbound_checkconf.rc windows registry settings. 2009-03-03 15:55:02 +00:00
rsrc_unbound_control.rc windows registry settings. 2009-03-03 15:55:02 +00:00
rsrc_unbound_host.rc windows registry settings. 2009-03-03 15:55:02 +00:00
rsrc_unbound.rc windows registry settings. 2009-03-03 15:55:02 +00:00
service.conf Fixups for windows. 2009-03-13 15:29:31 +00:00
setup_left.bmp Installer script to make setup.exe. 2009-03-09 16:16:39 +00:00
setup_top.bmp Installer script to make setup.exe. 2009-03-09 16:16:39 +00:00
setup.nsi - Fix #1258: Windows 10 X64 unbound 1.6.2 service will not start. 2017-05-01 14:41:40 +00:00
unbound16.ico windres usage for application resources. 2009-02-25 15:54:35 +00:00
unbound32.ico windres usage for application resources. 2009-02-25 15:54:35 +00:00
unbound48.ico windres usage for application resources. 2009-02-25 15:54:35 +00:00
unbound64.ico windres usage for application resources. 2009-02-25 15:54:35 +00:00
unbound64.png PNG format icon. 2009-02-26 11:01:44 +00:00
unbound-control-setup.cmd - Fix #1224: Fix that defaults should not fall back to "Program Files 2017-02-22 07:31:32 +00:00
unbound-service-install.c - Fixup 724: Fix PCA prompt for unbound-service-install.exe. 2015-12-02 09:40:05 +00:00
unbound-service-remove.c - Fixup 724: Fix PCA prompt for unbound-service-install.exe. 2015-12-02 09:40:05 +00:00
unbound-website.url win makedist -w feature. 2009-02-24 16:33:17 +00:00
vista_admin.manifest - Fixup 724: Fix PCA prompt for unbound-service-install.exe. 2015-12-02 09:40:05 +00:00
vista_user.manifest update anchors on win. 2009-03-12 16:31:57 +00:00
w_inst.c - Revert fix for NetworkService account on windows due to breakage 2016-06-09 14:30:37 +00:00
w_inst.h And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings. 2014-02-07 13:28:39 +00:00
win_svc.c - Add routine from getdns to add windows cert store to the SSL_CTX. 2018-05-28 13:22:10 +00:00
win_svc.h And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings. 2014-02-07 13:28:39 +00:00

README for Unbound on Windows.

(C) 2009, W.C.A. Wijngaards, NLnet Labs.

See LICENSE for the license text file.


+++ Introduction

Unbound is a recursive DNS server.  It does caching, full recursion, stub
recursion, DNSSEC validation, NSEC3, IPv6.  More information can be found 
at the http://unbound.net site.  Unbound has been built and tested on 
Windows XP, Vista, 7 and 8.

At http://unbound.net/documentation is an install and configuration manual
for windows.

email: unbound-bugs@nlnetlabs.nl


+++ How to use it

In ControlPanels\SystemTasks\Services you can start/stop the daemon.
In ControlPanels\SystemTasks\Logbooks you can see log entries (unless you
configured unbound to log to file).

By default the daemon provides service only to localhost.  See the manual
on how to change that (you need to edit the config file).

To change options, edit the service.conf file.  The example.conf file 
contains information on the various configuration options.  The config
file is the same as on Unix.  The options log-time-ascii, chroot, username
and pidfile are not supported on windows.


+++ How to compile

Unbound is open source under the BSD license.  You can compile it yourself.

1. Install MinGW and MSYS.  http://www.mingw.org
This is a free, open source, compiler and build environment.
Note, if your username contains a space, create a directory
C:\msys\...\home\user to work in (click on MSYS; type: mkdir /home/user ).

2. Install openssl, or compile it yourself.  http://www.openssl.org
Unbounds need the header files and libraries.  Static linking makes
things easier.  This is an open source library for cryptographic functions.
And libexpat is needed.

3. Compile Unbound
Get the source code tarball  http://unbound.net
Move it into the C:\msys\...\home\user directory.
Double click on the MSYS icon and give these commands
$ cd /home/user
$ tar xzvf unbound-xxx.tar.gz
$ cd unbound-xxx
$ ./configure --enable-static-exe
If you compiled openssl yourself, pass --with-ssl=../openssl-xxx too.
If you compiled libexpat yourself, pass --with-libexpat=../expat-install too.
The configure options for libevent or threads are not applicable for 
windows, because builtin alternatives for the windows platform are used.
$ make
And you have unbound.exe

If you run unbound-service-install.exe (double click in the explorer),
unbound is installed as a service in the controlpanels\systemtasks\services,
from the current directory. unbound-service-remove.exe uninstalls the service.

Unbound and its utilities also work from the commandline (like on unix) if 
you prefer.


+++ Cross compile

You can crosscompile unbound.  This results in .exe files.
Install the packages: mingw32-binutils mingw32-cpp mingw32-filesystem 
mingw32-gcc mingw32-openssl mingw32-openssl-static mingw32-runtime zip
mingw32-termcap mingw32-w32api mingw32-zlib mingw32-zlib-static mingw32-nsis
(package names for fedora 11).

For dynamic linked executables
$ mingw32-configure
$ make
$ mkdir /home/user/installdir
$ make install DESTDIR=/home/user/installdir
Find the dlls and exes in /home/user/installdir and
crypto in /usr/i686-pc-mingw32/sys-root/mingw/bin

For static linked executables
Use --enable-staticexe for mingw32-configure, see above. Or use makedist.sh,
copy System.dll from the windows dist of NSIS to /usr/share/nsis/Plugins/
Then do ./makedist.sh -w and the setup.exe is created using nsis.


+++ CREDITS

Unbound was written in portable C by Wouter Wijngaards (NLnet Labs).
See the CREDITS file in the source package for more contributor information.
Email unbound-bugs@nlnetlabs.nl