nsd: Add default config file.
[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/run/nsd3/nsd.pid"
45
46         # port to answer queries on. default is 53.
47         # port: 53
48
49         # statistics are produced every number of seconds.
50         # statistics: 3600
51
52         # Run NSD in a chroot-jail.
53         # make sure to have pidfile and database reachable from there.
54         # chroot: "/etc/nsd3"
55
56         # After binding socket, drop user privileges.
57         # can be a username, id or id.gid.
58         # username: nsd
59
60         # The directory for zonefile: files.
61         # zonesdir: "/etc/nsd3"
62
63         # The file where incoming zone transfers are stored.
64         # run nsd-patch to update zone files, then you can safely delete it.
65         # difffile: "/etc/nsd3/ixfr.db"
66
67         # The file where secondary zone refresh and expire timeouts are kept.
68         # If you delete this file, all secondary zones are forced to be 
69         # 'refreshing' (as if nsd got a notify).
70         # xfrdfile: "/var/lib/nsd3/xfrd.state"
71
72         # Number of seconds between reloads triggered by xfrd.
73         # xfrd-reload-timeout: 10
74
75         # Verbosity level.
76         # verbosity: 0
77