nsd: Run on port 54.
[matthijs/servers/drsnuggles.git] / etc / nsd3 / nsd.conf
index 692421db06ba363bd89a854932248c6c077714c7..f0224c73108f85aed31c354d24285dc582948746 100644 (file)
@@ -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,17 +41,19 @@ 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.
@@ -62,7 +64,7 @@ server:
 
        # 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