# # nsd.conf -- the NSD(8) configuration file, nsd.conf(5). # # Copyright (c) 2001-2006, NLnet Labs. All rights reserved. # # See LICENSE for the license. # # This is a comment. # Sample configuration file # options for the nsd server server: # uncomment to specify specific interfaces to bind (default all). # ip-address: 1.2.3.4 # ip-address: 12fe::8ef0 # enable debug mode for nsd, does not fork daemon process. # (debug mode disables slave zone functionalities) # debug-mode: no # listen only on IPv4 connections # ip4-only: no # listen only on IPv6 connections # ip6-only: no # the database to use database: "/var/lib/nsd3/nsd.db" # identify the server (CH TXT ID.SERVER entry). # identity: "unidentified server" # log messages to file. Default to stderr and syslog. # logfile: "/var/log/nsd.log" # Number of NSD servers to fork. # server-count: 1 # Maximum number of concurrent TCP connections per server. # tcp-count: 10 # File to store pid for nsd in. pidfile: "/var/lib/nsd3/nsd.pid" # Run on a non-standard port, so another recursive resolver can # run on port 53. We will be portforwarded anyway, so this # doesn't matter. port: 54 # statistics are produced every number of seconds. # statistics: 3600 # Run NSD in a chroot-jail. # make sure to have pidfile and database reachable from there. chroot: "/var/lib/nsd3/" # After binding socket, drop user privileges. # can be a username, id or id.gid. # username: nsd # The directory for zonefile: files. # zonesdir: "/etc/nsd3" # The file where incoming zone transfers are stored. # run nsd-patch to update zone files, then you can safely delete it. difffile: "/var/lib/nsd3/ixfr.db" # The file where secondary zone refresh and expire timeouts are kept. # If you delete this file, all secondary zones are forced to be # 'refreshing' (as if nsd got a notify). # xfrdfile: "/var/lib/nsd3/xfrd.state" # Number of seconds between reloads triggered by xfrd. # xfrd-reload-timeout: 10 # Verbosity level. # verbosity: 0