summaryrefslogtreecommitdiff
path: root/net/djbdns-run/MESSAGE
blob: 40ae92caf7f5ee559f4636639f8691df8e5ce3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
===========================================================================
$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.

===========================================================================