Difference between revisions of "Unbound"

From ArchWiki
Jump to: navigation, search
m (Installation: Linked packages)
m (i18n)
Line 1: Line 1:
[[Category:Networking (English)]]
[[Category:Networking (English)]]
[[Category:Daemons and system services (English)]]
[[Category:Daemons and system services (English)]]
Unbound is a validating, recursive, and caching DNS resolver.
Unbound is a validating, recursive, and caching DNS resolver.

Revision as of 10:16, 28 February 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Unbound is a validating, recursive, and caching DNS resolver.


Install unbound, and expat which is dependency for DNSSEC:

pacman -S unbound expat

Basic configuration

Unbound configuration

Unbound is easy to configure. Following configuration placed in /etc/unbound/unbound.conf is enough to run on both IPv4 and IPv6 without access restrictions:

  username: "unbound"
  directory: "/etc/unbound"
  use-syslog: yes
  interface: ::0
  verbosity: 1

To use specific servers for default forward zone (all queries will be forwarded to them, and then cached) add this to the configuration file:

  name: "."

This will make unbound use OpenDNS servers as forward zone.

Adding unbound to boot process

Edit /etc/rc.conf (See also rc.conf):

DAEMONS=(.. unbound ..)

Place unbound before daemons that require network access.

Set /etc/resolv.conf to use the local DNS server

Edit /etc/resolv.conf (See also resolv.conf):