Difference between revisions of "Djbdns"

From ArchWiki
Jump to: navigation, search
m (add link to djbdns)
(add i18n, remove introduction header)
Line 1: Line 1:
[[Category:Daemons and system services (English)]]
[[Category:Daemons and system services (English)]]
== Introduction ==
This article outlines how to install [http://cr.yp.to/djbdns.html djbdns] (tinydns) on Arch Linux.
This article outlines how to install [http://cr.yp.to/djbdns.html djbdns] (tinydns) on Arch Linux.

Revision as of 07:22, 7 September 2011

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 – فارسی

This article outlines how to install djbdns (tinydns) on Arch Linux.


Currently the djbdns suite of tools are only available via AUR, but they are perfectly functional and up to date. The following three items are required to install and run djbdns on Arch Linux:

* daemontools
* ucspi-tcp
* djbdns - patched for use with ipv6 transport. Does not (yet) contain major security fixes. 
* djbdns-ipv4 - includes all available security fixes and more, but without the ipv6 transport patch. 

When choosing which version of the djbdns package to use, you have to determine if you need ipv6 transport support. The ipv4-only version does not contain the ipv6 patch because it would be a nightmare to combine the huge ipv6 patch with the other applied patches. Also, the ipv4-only version also install the command line tools included with the djbdns tarball, which the ipv6 version does not, but that could be easily fixed by modifying the PKGBUILD file.

After installation, the package will display some final instructions on how to get your dnscache or tinydns installation running.

 >>> Configure and run dnscache:
     dnscache-conf dnscache dnslog /etc/dnscache [myip]
     ln -s /etc/dnscache /service
 >>> Configure and run tinydns:
     tinydns-conf tinydns dnslog /etc/tinydns [myip]
     ln -s /etc/tinydns /service
 Note: Change myip to your public ip. If [myip] omitted dnscache will run on localhost.
       More help can be found at http://cr.yp.to/djbdns.html