pkgsrc/net/djbdns-run/MESSAGE
schmonz 01f641147d Initial import of djbdns-run, a package that provides NetBSD-style
rc.d scripts (inspired by Bennett Todd's Linux init.d scripts) to
run djbdns services. It also includes Jonathan de Boyne Pollard's
dnscache-showctl and tinydns-showctl scripts.
2004-09-01 20:13:04 +00:00

22 lines
716 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/09/01 20:13:04 schmonz Exp $
Please read ${PREFIX}/share/doc/djbdns-run/README.pkgsrc.
To enable a DNS...
Cache for the local machine:
- Set dnscache=YES in /etc/rc.conf.
- Run "echo nameserver 127.0.0.1 > /etc/resolv.conf".
UDP name service:
- Set tinydns=YES in /etc/rc.conf.
- Set tinydns_ip to a suitable IP address of the local machine.
- Create ${PKG_SYSCONFDIR}/tinydns/data with suitable contents.
- Run "${RCD_SCRIPTS_DIR}/tinydns cdb".
TCP name service:
- Enable UDP name service.
- Set axfrdns=YES in /etc/rc.conf.
===========================================================================