summaryrefslogtreecommitdiff
path: root/net/djbdns-run/MESSAGE
blob: b9f63c2d5e552d45fa14ab719bf9dd0ba8b43eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/01/26 07:01:10 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 and tinydns_ip to a suitable IP address.
- 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.

RBL name service:
- Set rbldns=YES in /etc/rc.conf and rbldns_ip to a suitable IP address.
- Create ${PKG_SYSCONFDIR}/rbldns/data with suitable contents.
- Run "${RCD_SCRIPTS_DIR}/rbldns cdb".

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