This article outlines how to install djbdns (dnscache and tinydns) on Arch Linux.
dnscache and tinydns processes are managed by systemd daemontools service,
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
myip to your public ip. If
[myip] is omitted dnscache will run on localhost.