Unbound Windows Manual 01
Unbound Windows Manual 01
Unbound Windows Manual 01
Introduction
This manual aims to provide information about the Unbound
server on the Windows platform. Included is installation,
uninstallation and some information on configuration specific for
Windows. Full details of operating a DNS resolver are not part of
this document, and can better be documented in a platform independent
document.
DNSSEC is a standard for securing the information in the DNS. Your validator
needs to have public keys to check the signatures on the data. DNSSEC is
explained more fully on http://www.dnssec.net pages.
The unbound package for windows provides DNSSEC validation – the client
that verifies the signatures published by authoritative DNS servers on the
internet.
Installation
Download the installer from the http://unbound.net website. Run the installer.
On Windows Vista you have to provide administrator permission.
1
First the license is presented. This is the BSD license used by the source code.
2
Then choose which components to install. The main component cannot be
unselected.
The Root Anchor option enables the root trust anchor so that DNSSEC
validation can be performed. It also sets up the update mechanism, that keeps
this key up to date.
The DLV option downloads the public key for dlv.isc.org so that it can be used
to provide additional public keys for DNSSEC validation. This can be useful in
the interim period when not all parent domains have been signed with
DNSSEC and can provide a chain of trust to their subdomains.
3
Choose if you want shortcuts in the Start Menu. See a later section of this
manual for a description of the shortcuts installed.
4
The installation is performed. If the DLV key cannot be downloaded, the
installation is aborted, you can hit Cancel to exit and attempt to install again
once the network is working again.
5
Allow unbound to access the network when the windows firewall (or your
installed firewall) asks for permission.
Uninstallation
If you installed start menu shortcuts, run the uninstaller from the menu.
Otherwise, press the Remove button for Unbound in the Control Panels\Add
Remove Software. On Vista you have to give administrator permission.
If unbound is running, the service is stopped before uninstall. The uninstaller
starts like this:
6
The location is checked:
7
Files are removed and the uninstallation has been completed.
Check if it is running
Open the Control Panels\System Administration\Services and select the
unbound service:
8
The detailed properties look like this:
9
10
Reading the error log
11
Advanced – editing the config file
Unbound is configured with a config file. The default config file is C:\Program
Files\Unbound\service.conf and the example.conf file shows the various
configuration options. You can edit the config file using a text editor. Notepad
won't understand the unix line endings (but unbound understands both unix
and windows line endings). Use a better editor, such as Notepad++ to edit the
config files. More information about configuration options can be found on the
unbound website in the documentation section.
12
● InstallLocation: The directory where unbound files reside.
● ConfigFile: The config file to use, service.conf by default.
● CronAction: The executable and its arguments started to update trust
anchors.
● CronTime: Number of seconds between cron actions, default 24 hours.
● RootAnchor: empty or not present, nothing is performed by the daemon.
If it contains the path to the installed unbound-anchor.exe then that is
started to update the root key. The unbound service daemon calls the
executable right when the services start, at boot time. If the root key
was changed by using the (builtin) keys from unbound-anchor, then a log
notification (“The root trust anchor has been updated”) is generated
(regular RFC5011 rollover does not cause this message).
● StartMenuFolder: which folder the start menu items were installed in (if
any were installed).
Also registry settings for the uninstall information in Add/Remove programs
are made (in HKLM\Software\Microsoft\Windows\CurrentVersion\ Uninstall\
Unbound).
You also have to open the DNS port (port 53) in the firewall for incoming UDP
and TCP traffic to the unbound server.
13