summaryrefslogtreecommitdiff
path: root/net/nsd/MESSAGE
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2013-10-29 15:13:34 +0000
committerpettai <pettai@pkgsrc.org>2013-10-29 15:13:34 +0000
commitae00cfc742546bca837f86f2faf65e8395efa450 (patch)
tree8f49865c0e0dffe6b25c6e04b5fe31cf33151102 /net/nsd/MESSAGE
parent376adc55a499db48591823fbf6f6802a794d2105 (diff)
downloadpkgsrc-ae00cfc742546bca837f86f2faf65e8395efa450.tar.gz
NSD 4.0.0
Features: * documented in doc/NSD-4-features. Change configuration without restart, direct nameserver control with nsd-control, support a higher number of zones. Higher performance (compared to NSD3). * nsdc is gone. Use kill -HUP for reload (also checks if zonefiles have changed and rereads them), and kill -TERM for quit. Or use nsd-control for detailed control. * cron job for nsdc patch is gone. nsd-control write creates zonefiles. * nsd.db has a new format that compacts itself when it is changed, thus nsdc patch is no longer necessary. * nsd.db is memory mapped, NSD needs (part of) that mmap in ram. * tcp-count can go above 1000; epoll/kqueue support with libevent. * nsd-control reconfig for updates with no restart (zones, keys, ..) * nsd-control-setup to create keys for nsd-control (enable nsd-control with remote-control: yes in nsd.conf).
Diffstat (limited to 'net/nsd/MESSAGE')
-rw-r--r--net/nsd/MESSAGE29
1 files changed, 22 insertions, 7 deletions
diff --git a/net/nsd/MESSAGE b/net/nsd/MESSAGE
index 732a9c88529..0b1e3e8ab42 100644
--- a/net/nsd/MESSAGE
+++ b/net/nsd/MESSAGE
@@ -1,12 +1,27 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2012/04/18 10:39:43 pettai Exp $
+$NetBSD: MESSAGE,v 1.4 2013/10/29 15:13:34 pettai Exp $
-nsd.db version number increased because NSD 3.2.7 and earlier zonec is
-not compatible due to the TXT strings change. Please run nsdc rebuild
-before running NSD 3.2.9 and later versions.
+The old NSD3 config file can be used without changes for NSD4. There are
+new config statements and some old statements are gone.
-The configuration format of nsd has changed between 2.x and 3.x.
-A sample Python script to help migrating the old nsd.zones format
-into the new nsd.conf can be found in share/examples/nsd.
+The nsd.db file has a new format that allows read and write. Thus the
+nsd.db file needs to be re-created in NSD4 format. This happens when
+you start NSD4. NSD4 needs write permission on the nsd.db directory
+for that. If you need to rollback to NSD3, run its zonec to recreate
+the NSD3 nsd.db file (use nsdc rebuild).
+
+The cron job for nsdc patch is no longer needed. It can be removed.
+
+If you admire cron jobs, you can have a cron job that does "nsd-control
+write". This would periodically write the contents of changed zones to
+their zonefile.
+
+nsdc is removed, reload with kill -HUP $pid and use nsd-control.
+The SIGHUP makes NSD4 check zone file timestamps and reload changed zones.
+nsd-control reload is the same. SIGTERM stops NSD.
+
+You probably want to install and enable some of the new NSD 4 features,
+such as set up nsd-control and statistics. And you may want to use the
+new pattern config options.
===========================================================================