Difference between revisions of "Djbdns"

From ArchWiki
Jump to: navigation, search
m
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Daemons and system services (English)]]
+
[[Category:Domain Name System]]
 
+
This article outlines how to install [http://cr.yp.to/djbdns.html djbdns] (dnscache and tinydns) on Arch Linux.
== Introduction ==
+
This article outlines how to install djbdns (tinydns) on Arch Linux.
+
  
 
== Installation ==
 
== Installation ==
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:
 
  
* [http://aur.archlinux.org/packages.php?ID=16966 daemontools]
+
Currently the {{AUR|djbdns}} suite of tools are only available via [[Arch User Repository]], but they are perfectly functional and up to date.
* [http://aur.archlinux.org/packages.php?ID=8330 ucspi-tcp]
+
* [http://aur.archlinux.org/packages.php?ID=23517 djbdns]
+
  
The last package will display some final instructions on how to get your dnscache or tinydns installation running.
+
dnscache and tinydns processes are managed by {{AUR|daemontools}}, which is installed as dependency. Enable and start [[systemd]] daemontools service, {{ic|svscan}}.
  
  >>> Configure and run dnscache:
+
Configure and run dnscache:
      dnscache-conf dnscache dnslog /etc/dnscache [myip]
+
dnscache-conf dnscache dnslog /etc/dnscache [myip]
      ln -s /etc/dnscache /service
+
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
+
  
== dnscache ==
+
Configure and run tinydns:
 +
tinydns-conf tinydns dnslog /etc/tinydns myip
 +
ln -s /etc/tinydns /service
  
== tinydns ==
+
'''Note''': Change {{ic|myip}} to your public ip. If {{ic|[myip]}} is omitted dnscache will run on localhost.

Revision as of 01:26, 7 April 2013

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

Installation

Currently the djbdnsAUR suite of tools are only available via Arch User Repository, but they are perfectly functional and up to date.

dnscache and tinydns processes are managed by daemontoolsAUR, which is installed as dependency. Enable and start systemd daemontools service, svscan.

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] is omitted dnscache will run on localhost.