X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fnsd3%2Fnsd.conf;h=b89bddd783fcf6631f947e77c114f28b706550cb;hb=bb7bf205f1f2d363b94efa39fa7fa88cf29ad11c;hp=692421db06ba363bd89a854932248c6c077714c7;hpb=82df18d0a80869ea9671b625209bb07cc6bbca68;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/nsd3/nsd.conf b/etc/nsd3/nsd.conf index 692421d..b89bddd 100644 --- a/etc/nsd3/nsd.conf +++ b/etc/nsd3/nsd.conf @@ -26,7 +26,7 @@ server: # ip6-only: no # the database to use - # database: "/var/lib/nsd3/nsd.db" + database: "/var/lib/nsd3/nsd.db" # identify the server (CH TXT ID.SERVER entry). # identity: "unidentified server" @@ -41,28 +41,30 @@ server: # tcp-count: 10 # File to store pid for nsd in. - # pidfile: "/var/run/nsd3/nsd.pid" + pidfile: "/var/lib/nsd3/nsd.pid" - # port to answer queries on. default is 53. - # port: 53 + # 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: "/etc/nsd3" + 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" + zonesdir: "/data/db/dns/" # The file where incoming zone transfers are stored. # run nsd-patch to update zone files, then you can safely delete it. - # difffile: "/etc/nsd3/ixfr.db" + 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