Djbdns

From ArchWiki
Jump to: navigation, search

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

Installation

Currently the djbdnsAUR[broken link: archived in aur-mirror] 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.