2 # nsd.conf -- the NSD(8) configuration file, nsd.conf(5).
4 # Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
6 # See LICENSE for the license.
10 # Sample configuration file
12 # options for the nsd server
14 # uncomment to specify specific interfaces to bind (default all).
16 # ip-address: 12fe::8ef0
18 # enable debug mode for nsd, does not fork daemon process.
19 # (debug mode disables slave zone functionalities)
22 # listen only on IPv4 connections
25 # listen only on IPv6 connections
29 database: "/var/lib/nsd3/nsd.db"
31 # identify the server (CH TXT ID.SERVER entry).
32 # identity: "unidentified server"
34 # log messages to file. Default to stderr and syslog.
35 # logfile: "/var/log/nsd.log"
37 # Number of NSD servers to fork.
40 # Maximum number of concurrent TCP connections per server.
43 # File to store pid for nsd in.
44 pidfile: "/var/lib/nsd3/nsd.pid"
46 # Run on a non-standard port, so another recursive resolver can
47 # run on port 53. We will be portforwarded anyway, so this
51 # statistics are produced every number of seconds.
54 # Run NSD in a chroot-jail.
55 # make sure to have pidfile and database reachable from there.
56 chroot: "/var/lib/nsd3/"
58 # After binding socket, drop user privileges.
59 # can be a username, id or id.gid.
62 # The directory for zonefile: files.
63 zonesdir: "/data/db/dns/"
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"
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"
74 # Number of seconds between reloads triggered by xfrd.
75 # xfrd-reload-timeout: 10