X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fnsd3%2Fnsd.conf;h=8b4bb2051e72dcb5a5537b265679dee627706d13;hb=4bcf0eb828fcf8a64063a1cdd57b42d7a6a8b505;hp=692421db06ba363bd89a854932248c6c077714c7;hpb=82df18d0a80869ea9671b625209bb07cc6bbca68;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/nsd3/nsd.conf b/etc/nsd3/nsd.conf index 692421d..8b4bb20 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 @@ -75,3 +77,51 @@ server: # Verbosity level. # verbosity: 0 +zone: + name: "chimara-if.org" + zonefile: "db.chimara-if.org" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "stderr.nl" + zonefile: "db.stderr.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "stdin.nl" + zonefile: "db.stdin.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "stdout.nl" + zonefile: "db.stdout.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "foresightsecurity.nl" + zonefile: "db.foresightsecurity.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "hekjelarp.nl" + zonefile: "db.hekjelarp.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY + +zone: + name: "plotornot.nl" + zonefile: "db.plotornot.nl" + # Transfer to ns1.openprovider.nl + notify: 89.255.7.30 NOKEY + provide-xfr: 89.255.7.30 NOKEY