b89bddd783fcf6631f947e77c114f28b706550cb
[matthijs/servers/drsnuggles.git] / etc / nsd3 / nsd.conf
1 #
2 # nsd.conf -- the NSD(8) configuration file, nsd.conf(5).
3 #
4 # Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
5 #
6 # See LICENSE for the license.
7 #
8
9 # This is a comment.
10 # Sample configuration file
11
12 # options for the nsd server
13 server:
14         # uncomment to specify specific interfaces to bind (default all).
15         # ip-address: 1.2.3.4
16         # ip-address: 12fe::8ef0
17
18         # enable debug mode for nsd, does not fork daemon process.
19         # (debug mode disables slave zone functionalities)
20         # debug-mode: no
21
22         # listen only on IPv4 connections
23         # ip4-only: no
24
25         # listen only on IPv6 connections
26         # ip6-only: no
27         
28         # the database to use
29         database: "/var/lib/nsd3/nsd.db"
30
31         # identify the server (CH TXT ID.SERVER entry).
32         # identity: "unidentified server"
33
34         # log messages to file. Default to stderr and syslog.
35         # logfile: "/var/log/nsd.log"
36
37         # Number of NSD servers to fork.
38         # server-count: 1
39
40         # Maximum number of concurrent TCP connections per server.
41         # tcp-count: 10
42
43         # File to store pid for nsd in.
44         pidfile: "/var/lib/nsd3/nsd.pid"
45
46         # Run on a non-standard port, so another recursive resolver can
47         # run on port 53. We will be portforwarded anyway, so this
48         # doesn't matter.
49         port: 54
50
51         # statistics are produced every number of seconds.
52         # statistics: 3600
53
54         # Run NSD in a chroot-jail.
55         # make sure to have pidfile and database reachable from there.
56         chroot: "/var/lib/nsd3/"
57
58         # After binding socket, drop user privileges.
59         # can be a username, id or id.gid.
60         # username: nsd
61
62         # The directory for zonefile: files.
63         zonesdir: "/data/db/dns/"
64
65         # The file where incoming zone transfers are stored.
66         # run nsd-patch to update zone files, then you can safely delete it.
67         difffile: "/var/lib/nsd3/ixfr.db"
68
69         # The file where secondary zone refresh and expire timeouts are kept.
70         # If you delete this file, all secondary zones are forced to be 
71         # 'refreshing' (as if nsd got a notify).
72         # xfrdfile: "/var/lib/nsd3/xfrd.state"
73
74         # Number of seconds between reloads triggered by xfrd.
75         # xfrd-reload-timeout: 10
76
77         # Verbosity level.
78         # verbosity: 0
79