xref: /netbsd-src/external/bsd/nsd/dist/doc/RELNOTES (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1NSD RELEASE NOTES
2
34.1.19
4================
5BUG FIXES:
6	- ignore fallthrough compiler warning in flex EOF rule.
7	- Fix warnings emitted by clang for --enable-packed.  Alignment is not
8	  a problem for x86_64, don't enable packed when the platform
9	  requires aligned access.
10	- Fix spelling error in xfr-inspect.
11	- Fix 3392: Fix regression in 4.1.18 for notify lists with ip4
12	  and ip6 targets.
13	- Add test for support of -Wno-address-of-packed-member for
14	  --enable-packed.
15
16
174.1.18
18================
19FEATURES:
20	- xfr-inspect, it is not installed, it prints xfr files from /tmp
21	  made with 'make xfr-inspect' in the source dir.
22	- retry timeout between sending notifies dropped from 15 to 3 sec.
23	- NSD sends 16 notifies simultaneously.
24	- configure --enable-packed reduces memory usage, at expense of
25	  unaligned reads.  Saves about 17%.
26	- Save memory by selectively allocate precompiled nsec3 hashes,
27	  saves about 16% memory.
28	- make ip-transparent option work on OpenBSD.
29	- Save about 2% memory by changing usage count size in name tree.
30	- Fix #2871: Increase number of sockets for xfrd transfers.
31BUG FIXES:
32	- Fix gcc 7.1.1 warnings.
33	- Fix writev compile warning on FreeBSD.
34	- Fix #1446: A corrupted zone file "propagates" to good ones.
35	- nsd-control zonestatus prints wait time between attempts, for zones
36	  that are in that waiting time.
37	- Fix collision printout of nsec3 to print name, hash and reverse.
38	- Fix #1567: Change crit to err log level for gettimeofday failure.
39	  Add defines for compile without syslog.
40	- Fix crash for DS query when parent and child zones both configured
41	  in nsd.conf and parent zone has not loaded properly.
42
43
444.1.17
45================
46FEATURES:
47	- zone parser parses type AVC (it has TXT format).
48	- Fix #1272: use writev to put tcp length field with data for outgoing
49	  zone transfer requests.
50BUG FIXES:
51	- Fix potential null pointer in nsec3 adjustment tree.
52	- Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
53	  empty base64 or hex string.
54
55
564.1.16
57================
58FEATURES:
59	- zone parser can parse acronyms for algorithms ED25519 and ED448.
60	- Fix 1243: Option to make NSD emit really minimal responses,
61	  minimal-responses: yes in nsd.conf.
62BUG FIXES:
63	- Calculate new udb index after growing the array, fix from
64	  Chaofeng Liu.
65	- Fix missing _t to _type conversion for disable-radix-tree option.
66	- Printout serial error with hint it may be too big.
67	- Fix 1228: OpenSSL include is not guarded with HAVE_SSL
68	- Patch for expire state in multi-master when masters includes
69	  broken master, from Manabu Sonoda.
70	- minor manpage fix.
71
72
734.1.15
74================
75BUG FIXES:
76	- Fix nsd-control and ipv6 only.
77	- Squelch zone transfer error address family not supported by protocol
78	  at low verbosity levels.
79	- Fix #1195: Fix so that NSD fails on non-compliant values for Serial.
80	- Fix to rename _t typedefs because POSIX reserves them.
81	- Fix that nsec3 hash collisions only reported on verbosity level 3.
82
83
844.1.14
85================
86FEATURES:
87	- Fix #1132 for SERVFAIL zones perform backoff, and remembers the
88	  timeout on next startup.
89BUG FIXES:
90	- Fix null memcpy for radixtree with single link element.
91	- Robust fix against missing master in tcp_open for xfrd.
92	- Fix wildcards in include: config statements with chroot enabled.
93	- suppress compile warning in lex files.
94	- Fix to try every master once, then wait for timeout or notify.
95	- Save backoff timeout into xfrd.state file, this file has a higher
96	  version number now.  Old files are skipped silently (causes
97	  refresh) and created as new files upon exit.
98	- Fix restart of zone transfers when new config becomes available.
99
100
1014.1.13
102================
103FEATURES:
104	- multi-master-check: yes can be used to check all masters for the
105	  last version, using the higher version from the configured masters,
106	  from Manabu Sonoda.
107	- Support RR type OPENPGPKEY from RFC 7929.
108	- Can config key algorithms with the digest name, eg. 'sha256'.
109	- configure --disable-radix-tree for about 15% lower memory usage.
110	- for type SRV add A/AAAA to the additional section (if possible),
111	  just like we already do for type MX.
112	- more extensible edns option handling.
113BUG FIXES:
114	- Fix compile warnings about unused result from write and strtol.
115	  and signcompare in minmax retrytime.
116	- Fix #812: fix that make depend fails after distribution.
117	- Fix #817: xfrd update failed loop.
118	- Add robustness against unallocated data in nsec3 trees.
119	- Fix README spelling error of BSD license (reported by Joerg Jung).
120	- Fix multimaster for not tried full zone transfer for a expired zone.
121	- Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
122
123
1244.1.12
125================
126BUG FIXES:
127	- Fix malformed edns query assertion failure, reported by
128	  Michal Kepien (NASK).
129
130
1314.1.11
132================
133FEATURES:
134	- When tcp is more than half full, use short timeout for tcp session.
135	- Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
136	- Fix #790: size-limit-xfr can stop NSD from downloading infinite zone
137	  transfer data size, from Toshifumi Sakaguchi.  Fixes CVE-2016-6173
138	  JVN#63359718 JPCERT#91251865.
139BUG FIXES:
140	- Fix build without IPv6, patch from Zdenek Kaspar.
141	- Fix #783: Trying to run a root server without having configured it
142	  silently gives wrong answers.
143	- Fix #782: Serve DS record but parent zone has no NS record.
144	- Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.
145
146
1474.1.10
148================
149FEATURES:
150	- ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option
151	  for Linux, binds to interfaces and addresses that are down.
152	- NSD includes AAAA before A for queries over IPV6 (in delegations).
153	  And TC is set if no glue can be provided with a delegation because
154	  of packet size.
155	- print notice that nsd is starting before taking off.
156BUG FIXES:
157	- Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl.
158	- Fix #751: NSD fails to occlude names below a DNAME.
159	- If set without nsd.db print "" as the default in the man pages.
160	- Fix #755: NSD spins after a zone update and a lot of TCP queries.
161	- Fix for NSEC3 with zone signed without exact match for empty
162	  nonterminals, the answer for that domain gets closest encloser.
163	- #772 Document that recvmmsg has IPv6 problems on some linux kernels.
164
165
1664.1.9
167================
168BUG FIXES:
169	- Change the nsd.db file version because of nanosecond precision fix.
170
171
1724.1.8
173================
174FEATURES:
175	- #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch
176	  from Daisuke Higashi.
177	- #739: zonefile changes when mtime is small are detected on reload,
178	  if filesystem supports precision mtime values.
179	- RR type CSYNC (RFC7477) syntax is supported.
180BUG FIXES:
181	- take advantage of arc4random_uniform if available, patch from
182	  Loganaden Velvindron.
183	- Fix flto check for OSX clang.
184	- Define _DEFAULT_SOURCE with _BSD_SOURCE for glibc 2.20 on Linux.
185	- Fix #736: segfault during zone transfer.
186	- Fix #744: Fix that NSD replies for configured but unloaded zone
187	  with SERVFAIL, not REFUSED.
188
189
1904.1.7
191================
192FEATURES:
193	- support configure --with-dbfile="" for nodb mode by default, where
194	  there is no binary database, but nsd reads and writes zonefiles.
195	- reuseport: no is the default, because the feature is not troublefree.
196	- configure --enable-ratelimit-default-is-off with --enable-ratelimit
197	  to set the default ratelimit to disabled but available in nsd.conf.
198	- version: "string" option to set chaos version query reply string.
199BUG FIXES:
200	- Fix zones updates from nsd parent event loop when there are a lot
201	  of interfaces.
202	- portability fixes.
203	- patch from Doug Hogan for SSL_OP_NO_SSLvx options, for the new
204	  defaults in the ssl libraries.
205	- updated contrib/nsd.spec, from Bálint Szigeti, with new configure
206	  options.
207	- Allocate less memory for TSIG digest.
208	- Fix #721: Fix wrong error code (FORMERR) returned for unknown
209	  opcode.  NOTIMP expected.
210	- Fix zonec ttl mismatch printout to include more information.
211	- Fix TCP responses when REUSEPORT is in use by turning it off.
212	- Document default in manpage for rrl-slip, ip4 and 6 prefixlength.
213	- Explain rrl-slip better in documentation.
214	- Document that ratelimit qps and slip are updated in reconfig.
215	- Fix up defaults in manpage.
216
217
2184.1.6
219================
220BUG FIXES:
221	- Fix #701: Fix that AD=1 set in a BADVERS response.
222	- Fix typo in zonec.c inside error message.
223	- Fix #711: Document that debug-mode yes is used for staying
224	  attached to the supervisor console.
225	- Document verbosity 3 prints more information.
226	- nsd-checkconf warns for master zones with no zonefile statement.
227	- Fix start failure when many file descriptors are in use.
228	- The servfail rcode is not printed with a space in the middle.
229	- print failed token for config syntax error or parse error.
230
231
2324.1.5
233================
234BUG FIXES:
235	- Fix #706: default port 53 not opened on ip4 because of getaddrinfo
236	  hints initialisation failure.
237
238
2394.1.4
240================
241FEATURES:
242	- RFC7553 RR Type URI support.
243	- removed hardcoded interface limit, --with-max-ips removed.
244	- SO_REUSEPORT support, by default on Linux, or with reuseport: yes.
245	- Admitted axfrs are logged at verbosity 1.  Refused at verbosity 2.
246	- --enable-pie and --enable-relro-now options for a safer executable.
247BUG FIXES:
248	- Fix NSID response for short edns sizes.
249	- Fix that for expired zones NSD performs an AXFR and accepts newer
250	  and older serial numbers.
251	- Document that minimal responses only minimizes responses to fit
252	  in one datagram.  It does not minimize smaller responses.
253	- Fix #618: documented need to list ip-addresses separately in
254	  nsd.conf if there are multiple, because the source address of
255	  replies can otherwise go wrong.
256	- Fix that notify from nsd-control contains soa serial.
257	- Fix #698 formatting errors and typos in nsd.8.in.
258
259
2604.1.3
261================
262FEATURES:
263	- nsd-control addzones and delzones read list of zones from stdin.
264	- hmac sha224, sha384 and sha512 support, patch from David Gwynne.
265	- max-interfaces raised to 32.
266BUG FIXES:
267	- Fix #665: when removing subdomain, nsd does not reparse parent zone.
268	- Fix task and zonestat files to be stored in a subdirectory in tmp
269	  to stop privilege elevation.
270	- Fix crash in zone parser for relative dname after error in origin.
271	- Fix that formerrors are ratelimited.
272
273
2744.1.2
275================
276FEATURES:
277	- Incoming notifies have serial number logged (at verbosity 1).
278BUG FIXES:
279	- Remove some duplicate header includes (from Brad Smith).
280	- Fix tcp waiting list for zone transfers where the bind and connect
281	  calls fail.
282	- Fix segfault in zone reader on invalid input. (thanks John Van de
283	  Meulebrouck Brendgard)
284	- Fix segfault on double origin in zone reader (thanks John Van de
285	  Meulebrouck Brendgard).
286	- Fix b64pton out of bounds error on invalid zonefile input.
287	  (thanks John Van de Meulebrouck Brendgard)
288	- Fix origin directive from unused old value and subdomain parser
289	  failure, reported by John Van de Meulebrouck Brendgard.
290	- Fix use after free after zonefile syntax error followed by ttl
291	  or origin directive, reported by John Van de Meulebrouck Brendgard.
292	- Fix syntax error followed by too many TXT elements parse crash
293	  reported by John Van de Meulebrouck Brendgard.
294	- Fix buffer overflow in config parse of domain name,
295	  reported by John Van de Meulebrouck Brendgard.
296	- Use reallocarray for integer overflow protection, patch submitted
297	  by Loganaden Velvindron.
298	- Fix allocation integer overflow checks.
299	- Fix #654: Fix contradiction in notify logging verbosity level.
300	- Fix #655: Fix contradiction in verbosity for zone transfers.
301	- Made log message more consistent, changed 'axfr refused' log message
302	  to be more consistent with other messages.  Also notify refused.
303	- verbosity 2 logs axfr refused and notify refused.
304	  verbosity 1 contains less log messages.
305
306
3074.1.1
308================
309FEATURES:
310	- RFC 7344: CDS and CDNSKEY (read record types).
311	- per zone statistics with --enable-zone-stats, config zone with
312	  zonestats: "name", zones configured with the same string are added.
313	- Disabled use of SSLv3 in nsd-control.
314	- nsd-checkconf -f prints out full name of pidfile (with dir).
315	- Synthesize CNAMEs with same TTL as DNAME.
316BUG FIXES:
317	- Fix that expired zones stay expired after a server restart.
318	- Fix "xfrd_handle_ipc: bad mode" log errors when compiled
319	  with --disable-bind8-stats.
320	- Fix #616: retry xfer for zones with no content after command.
321	- Fix char used as array index warnings on NetBSD.
322	- Fix that queries for noname CH TXT are REFUSED instead of nodata.
323	- Fixes for wildcard addition and deletion, speedup for some cases.
324	- Fix that failure to add tcp to tcp base does not leak the socket.
325	- Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE.
326	- Fix spinning NSD with lots of failing transfers, due to pointer
327	  comparison using void pointer subtraction (from Otto Moerbeek).
328	- Fix bug#637: fix that nsd.db grows limitlessly, an off by one
329	  on one megabyte free chunks, created during AXFRs of large zones,
330	  that caused the one megabyte chunk to be leaked.
331	- Fix casts for ctype functions (from Todd Miller).
332	- correct some hyphen-used-as-minus-sign (from Andreas Schulze) in
333	  man pages.
334	- Fix zonesdir chroot error message.
335
336
3374.1.0
338================
339FEATURES:
340	- database: "" starts without mmap of database.  Less memory is used,
341	  zones are read from text zonefile.
342	- optimised zonefile parse code and zonefile write code.
343	- zonefiles-write option in nsd.conf, enabled when database is "".
344	  The server writes changed zonefiles to disk every hour.
345	- xfrdfile: "" disables xfrd.state.  If enabled, zones that are
346	  same as before are not checked for a serial update at server start.
347	- include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
348	- nsd shuts down during init process if given signal.
349	- log-time-ascii option, default yes, with readable timestamp in log.
350	- nsd-control addzone reports if zone already exists.
351	- Fix #564: add nsd-checkzone tool to check zonefile correctness.
352	- Increased default --with-max-ips from 8 to 16, this increases the
353	  number of interfaces you can specify in nsd.conf to listen to.
354BUG FIXES:
355	- Fixed shutdown message sporadically not printed on exit
356	  (Thanks Anand Buddhdev).
357	- Documented zonefile %s syntax in nsd.conf man page.
358	- Fix manpage to put colon after zonefiles check and write.
359	- Change from 'Zone" to "zone" with ".. serial .. is updated" log
360	  message.
361	- Changed maxbackoff for no-content secondary zones from 4h to 24h.
362	- Fix print filename of encompassing config file on read failure.
363	- Fix delete or rename of a lot of zones and make it take a
364	  non-enormous time.
365	- Speed up deletion of zone contents a lot, (56s to 1s), speeds up
366	  delete, rename and AXFR for zones.
367	- Fix #571: unused variable and incompatible pointer warnings when
368	  compiled on a system without INET6.
369	- Fix write_socket return value check in server.c (Thanks Brad Smith,
370	  Mark Kettenis).
371	- Fix that xfrd reaps children also if the signal is lost.
372	- Fix #577: makefile incorrectly installed manpages from srcdir.
373	- Fix #587: Default value for statistics is 0.
374	- Fix #553: Improve TXT parsing.
375	- Fix #590: rrl log does not print wildcard as a star but escaped.
376	- Fix #591: rrl log messages at verbosity level 1.
377	- fix strptime implicit declaration error on OpenBSD.
378	- Fix -O3 compile flag to -O2 to avoid miscompilations.
379	- Allow user to override the -g -O2 CFLAGS in ./configure.
380	- Fix endian.h include for OpenBSD.
381	- Fix #600: document that provide-xfr provides AXFR and not IXFR.
382	- Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
383	  that keep track of all past process parents, or leak memory
384	  for them.  Fix makes it so there is no very deep string of
385	  process parents.
386	- Remove .LP after .SH in man pages.
387
388
3894.0.3
390================
391BUG FIXES:
392	- Fix nsd.db unclean close check.  Previous databases are considered
393	  unclean by the code and are created anew.
394	- Adds nsd.db larger than 400Tb check for sanity. Also test if
395	  filesize as documented in the file is correct.
396	- nsd waits for tasks to complete on stop, prevents nsd.db corruption.
397	- fix to not delete tmpdir too early in shutdown process.
398	- disabled udb checking functionality that made it very slow,
399	  this was enabled when enable-checking was turned on.
400
401
4024.0.2
403================
404FEATURES:
405	- Return REFUSED for queries to non-hosted zones.
406
407BUG FIXES:
408	- Fix expired zones to give SERVFAIL, also when parent zone loaded.
409	- documented nsd-control zonestatus output in nsd-control manpage.
410	- remove mention of nsdc from nsd-checkconf manpage.
411	- Disabled recvmmsg and sendmmsg usage by default because kernel
412	  versions have implementation issues: ipv6 ignored, security issues.
413	- Detect libevent2 install automatically by configure, and use
414	  event2 header files if necessary.
415	- Fix #551: change Regent to Copyright holder in the LICENSE,
416	  to match the definition on opensource.org for the BSD License.
417	- Fix #552: zonefile loads on nsd-control reconfig when the name
418	  of the file has changed.
419	- Fix leak of zone name after zonefile read and fix malloc too
420	  large that would be leaked in the radix tree.
421	- Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only
422	  check serial).
423	- Fix that NSD will delete and recreate not-clean-closed databases.
424
425
4264.0.1
427================
428FEATURES:
429	- recognizes ip-address and interface as synonyms for convenience.
430	- Support for EUI48 and EUI64 RR types enabled by default (RFC 7043).
431	- Support for CAA RRtype (RFC 6844).
432	- NSID can be set with "ascii_somestring" in ascii.
433
434BUG FIXES:
435	- Fix xfrd when zone transfer TCP contains zero length packets.
436	- Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
437	  because AXFRs overwrote nsec3 administration in the child zone.
438   	- Fix that bad IXFR updates do not result in double SOA records,
439	  and that an AXFR is started (attempted) when the zone state seems
440	  to be inconsistent with the master's zone state.
441	- Log ip address for sendto and sendmmsg failures.
442	- Fix segfaults after read of zones with rr type WKS from zonefile.
443	- Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
444	- Bugfix #534: IXFR query loop over UDP for zones that are unchanged.
445	- (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
446	- (same as in 3.2.16): Bugfix #542: Match RRSIG TTL with SOA TTL in
447	  negative response.
448	- Check if configure in srcdir collides with outofdir build.
449	- Fix #546:  output format errors in nsd_munin_ (Thanks Tom Hendrikx).
450	- Fix printout of high-chars in TXT on NetBSD.
451
4524.0.0	NSD 4.0
453===============
454FEATURES:
455	- documented in doc/NSD-4-features. Change configuration without
456	  restart, direct nameserver control with nsd-control, support a
457	  higher number of zones. Higher performance (compared to NSD3).
458	- nsdc is gone. Use kill -HUP for reload (also checks if zonefiles
459	  have changed and rereads them), and kill -TERM for quit. Or use
460	  nsd-control for detailed control.
461	- cron job for nsdcpatch is gone. nsd-control write creates zonefiles.
462	- nsd.db has a new format that compacts itself when it is changed,
463	  thus nsdc patch is no longer necessary.
464	- nsd.db is memory mapped, NSD needs (part of) that mmap in ram.
465	- tcp-count can go above 1000; epoll/kqueue support with libevent.
466	- nsd-control reconfig for updates with no restart (zones, keys, ..)
467	- nsd-control-setup to create keys for nsd-control (enable nsd-control
468	  with remote-control: yes in nsd.conf).
469	- the NSD 3 feature of special zone stats are not ported to 4 yet,
470	  as it would entail a complete reimplementation of the feature.
471FEATURES (incremental from BETA5):
472	- configure --disable-recvmmsg for compat with older Linux kernels,
473	  by default it autodetects support in the kernel on the buildmachine.
474	- Fix time at 2038, uint32s changed to time_t, support 64bit time_t.
475	- Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch.
476BUG FIXES (incremental from BETA5):
477	- Bugfix #518 Incorrect RRL prefix length option names in nsd.conf
478	  man page from Ville Mattila.
479	- Fix that xfrd, and nsd-control, does not stop responding when reload
480	  errors out. The pid is sent like it should by server_main.
481	- Fix that EOF in quoted string error does not cause reload to exit.
482	- Fixup errors from the stack code checker.
483	- Removed use of random when arc4random is available. Thus, random
484	  and srandom are then not linked with the executable.
485	- Fix segfault with no logfile and chroot (Thanks Patrik Lundin).
486
4874.0.0b5   BETA 5 release of NSD 4.0
488==================================
489FEATURES:
490	- Optimizations for startup, qps and tcp speed, beta bug fixes and
491	  merge with code changes with NSD 3.2.16.
492	- nsd-mem tool (make nsd-mem) to estimate memory usage.
493	- Same as NSD 3.2.16: --enable-draft-rrtypes(EUI48, EUI64), rr-slip,
494	  rrl-ipv[46]-prefix-length, ip-transparent config options.
495	- configure option --disable-flto.
496	- improved RRL logging (query details that caused blockage).
497	- nsd-control status prints out ratelimit if ratelimit is enabled.
498	- nsd-control verbosity prints out verbosity level without argument.
499	- Fix #491: pick program name (of executable) as syslog identity.
500	- printout percentage for long activities (to log).  After about 5
501	  seconds have passed.
502BUG FIXES:
503	- The same fixes up to NSD 3.2.16.
504	- Fix that old zonefile does not override newer AXFR for slave zones.
505	- Nicer printout of notify.
506	- Fix tcp zonetransfer pipeline lookup function.
507	- Fix compile on bigendian netbsd alpha.
508	- Fixup the growth and shrinkage of nsd.db.  This should use less
509	  calls to remap and change the file and mmap size.
510	- notify information is logged at correct verbosity level, 1.
511	- Fix memory statistics in nsd_munin_.
512	- faster nsec3 updates.
513	- Fixup contrib/bug390.patch for 4.0.0b4.
514	- remove leak of nsec3.
515	- allocate radixtree in region for small (5%) total savings and
516	  about 15% savings in the radixtree itself (due to many small alloc
517	  savings in region).
518	- Patch from Lukas Wunner that makes nsd.conf include files work
519	  inside chroot/etc environments on repattern and reconfig.
520	- Fix race on exit of nsd, for restarts, so that the pidfile-pid
521	  process waits until port53 has been closed before exiting.
522	- Patch from Lukas Wunner that makes chroot more consistent.
523	  Make all paths absolute with the chrootdir in front, or use
524	  an absolute zonesdir with other paths relative to that.
525	- Fix segfault on repeated reconfigs, double free of zone apex name.
526	- Fix zone parser allocations are put in the db region.
527	- Fix memory leak in zone parser for txt record.
528	- Optimizations: -O3 if possible (user can override CFLAGS), udp
529	  buffers are set to 1m by default (if socket options exist),
530	  use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom.
531	- nsd.db 12% smaller, no nsec3 hash storage.  Also ups udb version
532	  because of the format change.  The nsd.db is recreated when a
533	  different version number is detected on startup.
534	- Fix region-allocator for speedup of load and change of large data.
535	- Increase tcpbacklog default to 256 (silently capped to 128 on BSD).
536	  For remote control keep it at 16, it has less TCP load.
537	  It does not actually increase TCP performance (some except), but
538	  reduces connection loss when there is a spike in TCP connections.
539	- unlink xfr file if transfer is stopped, timeouted or interrupted.
540	  And unlink xfr file in progress when the zone is deleted.
541
5424.0.0b4   BETA 4 release of NSD 4.0
543==================================
544BUG FIXES:
545	- remove -fwhole-program gcc flag usage.  We cannot reliably detect
546	  if it works without failure.
547	- fix zonefiles-check: entry in nsd.conf
548	- fix gcc warning, do not use uninit value for rng init.
549	- remove printout of "bad transfer" to the log for notimpl.
550	- printout log less verbosely, not every axfr packet.
551	- RRL documented in nsd.conf.sample
552	- Fix is_apex flag for zones read from udb.
553	- Fix that nsec3 zones are precompiled when read from udb.  This
554	  caused assertion failures.
555	- Less printout of 'bad transfer'.
556	- Fix AXFR of NSEC3 slave zone.
557	- Fix that old zonefile does not override newer AXFR for slave zones.
558	- Nicer printout of notify on verbosity 2.
559
5604.0.0b3   BETA 3 release of NSD 4.0
561==================================
562BUG FIXES:
563	- applied patch from Robin Hack to remove double pid file truncation.
564	- repattern is called reconfig (because most config options are
565	  picked up, except for superuser options (chroot, logfile, port))
566	- document that the zonefile attribute can be empty.
567	- documented that the _implicit_ pattern names are used internally.
568	- Added zonefiles-check option, default yes, check mtimes of zone files
569	  on sighup and startup (from Robin Hack).
570	- Fix spurious assertion failure for some rrl blocks.
571	- Tabs and spaces nicer in nsd.conf.sample.
572	- List libevent in README.
573	- Fix configure for gentoo gcc and headers.
574	- do-ip4 and do-ip6 nsd.conf options just like unbound.
575	- do not leave task files in /tmp if nsd fails to startup because
576	  of file permissions.
577	- create xfrdir on make install (does not remove on make uninstall,
578	  because this could be /tmp).
579	- Fix segv if xfrdir does not exit.
580	- log ip address with tcp failure.
581	- Fix time calculation of zone transfer.
582
5834.0.0b2   BETA 2 release of NSD 4.0
584==================================
585FEATURES:
586	- Add and remove zones from nsd.conf with nsd-control repattern.
587	- Merge changes from 3.2.15 (such as xname-rcode fix).
588
589BUG FIXES:
590	- Fix for use with libev.
591	- 'nsd-control start' runs an absolute path to start sbin/nsd.
592	- Fix for use with libevent-2.1.2.
593	- --with-logfile sets the logfile inside the example documentation.
594	- Fixed addzone and delzone inside chroot (thanks Will Pressly).
595	- Fix make outside of source directory.
596
5974.0.0b1   BETA 1 release of NSD 4.0
598==================================
599FEATURES:
600	- add and remove zones without restart.
601	- nsdc is gone, use nsd-control for direct server control.
602	- performance increases
603	- support lots of zones
604	- and more ...
605	- longer desc in doc/NSD-4-features
606
607BUG FIXES:
608	- core code is fixed like 3.2.15r3763 (12 dec 2012).
609
610
6113.2.16 (development branch)
612=================================
613
614FEATURES:
615	- New config option "ip-transparent:" to allow NSD to bind to
616	  non local addresses. Default no.
617	- Use IPV6 minimum MTU settings with TCP to reduce failures that
618	  are caused by delays in learning working PMTU when communicating
619	  through a tunnel.
620	- Bugfix #496: Support for EUI48 and EUI64 RR types. Experimental,
621	  turned off by default. Enable with --enable-draft-rrtypes.
622	- New config option "rrl-slip:" to set the average number of
623	  packets discarded before we send back a truncated response.
624	- New config option "rrl-ipv4-prefix-length:" and
625	  "rrl-ipv6-prefix-length:" to set the prefix lengths.
626	- Improved RRL logging, also print triggering query src address and
627	  QTYPE.
628	- Provide RRL documentation in nsd.conf.sample.
629
630BUG FIXES:
631	- Bugfix #357: Parent process waits until children closed down
632	  sockets, to prevent NSD failing to bind to sockets when restarting.
633	- Bugfix #487: lookup3.c determine endianness for BSD systems.
634	- Bugfix #491: pick program name (0th argument) as syslog identity.
635	- Bugfix #494: Exit with return code 1 if socket code fails.
636	- RRtypes ASFDB, RP, RT should not compress dnames.
637	- Fix outgoing-interface: Don't fail if family is IPv6 but
638	  only IPv4 outgoing-interface is set, or vice versa.
639	- RRtypes ASFDB, RP, RT should not compress dnames.
640	- Check that zone directory is within chroot directory.
641	- Better XFR checking, fallback to AXFR (if allowed) if three
642	  malformed XFR packets have been seen.
643
644
6453.2.15
646=================================
647
648FEATURES:
649	- Support for ILNP RR types: NID, L32, L64, LP (RFC6742).
650	- RRL, --enable-ratelimit at configure time and config options.
651	- TSIG initialization only fails when there is no digest found
652	  at all.
653
654BUG FIXES:
655	- Bugfix #478: Declaration after statement (for gcc 2.95).
656	- Bugfix #483: Better error message in case of TSIG error.
657	- Bugfix #485: TTL should not be greater than 2^31 - 1.
658	- Fix RCODE when CNAME loop final answer does not exist, should
659	  return NXDOMAIN as stated by RFC 6604.
660	- Fix --disable-full-prehash bug, where after multiple incoming
661	  IXFRs, NSEC3 can be removed unjustified.
662
6633.2.14
664================
665
666FEATURES:
667	- TCP writev support.
668
669BUG FIXES:
670	- Fix build on OpenBSD (thanks Oliver Peter).
671	- Prioritize notify sender for requesting XFR (thanks Ilya Bakulin).
672	- Fix crash in zonec if TXT string too long  (thanks Ilya Bakulin).
673	- tzset before chroot for correct timezone (thanks Camiel Dobbelaar).
674	- Fix --disable-full-prehash bug when nsdc patch happens while ixfr too,
675	  it did not rehash the new database.
676	- Bugfix #464: Conditionally define MAXHOSTNAMELEN.
677
6783.2.13
679================
680
681BUG FIXES:
682	- Fix for nsd-patch segfault if zone has been removed from nsd.conf
683	  (thanks Ilya Bakulin).
684	- Bugfix #460: man page correction - identity.
685	- Bugfix #461: NSD child segfaults when asked for out-of-zone data
686	  with --enable-zone-stats. [VU#517036 CVE-2012-2979]
687
688
6893.2.12
690================
691
692BUG FIXES:
693	- Fix for VU#624931 CVE-2012-2978: NSD denial of service
694	  vulnerability from non-standard DNS packet from any host
695	  on the internet.
696	  http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt
697
698
6993.2.11
700================
701
702FEATURES:
703	- Fallback to AXFR if IXFR is unknown at the primary. NSD considers
704	  IXFR unknown at the primary if there is a negative response for the
705	  IXFR RRtype. This does not override the value for
706	  'allow-axfr-fallback'.
707	- Allow for reading in new DNSKEY algorithm mnemonics (RFC5155,
708	  RFC5702, RFC5933, and RFC6605 (ECDSA)).
709	- Zone statistics, enable with --enable-zone-stats. This stores the
710	  BIND8 stats per zone in a configurable statistics file. This option
711	  does not scale and should therefore not be enabled when serving
712	  many zones.
713	- Support for TLSA RRtype (DANE).
714
715BUG FIXES:
716	- Fix for qtype ANY for a wildcard domain in NSEC signed zone: Don't
717	  add the wildcard domain NSEC into the answer section. Instead,
718	  put the wildcard expanded NSEC into the answer section and keep the
719	  wildcard domain NSEC in the authority section.
720	- Fix for accept spinning reported by OpenBSD.
721	- Fix restart failed due to bad ixfr packet because of zone removed
722	  from nsd.conf.
723	- Bugfix #453: typo in nsdc man page.
724
725OPERATIONAL NOTES:
726	- NSD uses the query name for dname compression again (Fix #235
727	  had as side effect that this didn't happen anymore and is hereby
728	  undone).
729
730
7313.2.10
732================
733
734BUG FIXES:
735	- Bugfix #421: Truncate pidfile on shutdown, before unlink.
736	- Bugfix #423: Fix slow zone transfer processing due to
737	  'Fix is_existing flag for ENT' bugfix.
738	- Fix bug #430: segfault when MAX_INTERFACES set to more than 65K.
739	- Fix configure.ac strptime check for gcc 4.6.2, acx_nlnetlabs update.
740
741
7423.2.9
743================
744
745FEATURES:
746	- Minimize responses to reduce truncation: NSD will only add optional
747	  records to the authority and additional sections when the response
748	  size does not exceed the minimal response size.
749
750	  The minimal response size is 512 (no-EDNS), 1480 (EDNS/IPv4),
751	  1220 (EDNS/IPv6), or the advertized EDNS buffer size if that is
752	  smaller than the EDNS default.
753
754	  The feature is enabled by default. You can disable it by configuring
755	  NSD with --disable-minimal-responses.
756
757	- Less NSEC3 prehashing. This will make NSD handle zone transfers
758	  faster, but will decrease the performance of NXDOMAIN and wildcard
759	  NODATA responses. Full prehashing is enabled by default. If you want
760	  less NSEC3 prehashing, configure NSD with --disable-full-prehash.
761	  Thanks Secure64 for the patch.
762
763BUG FIXES:
764	- Bugfix #302: nsd accepts XFR but refuses to re-read the slave zone.
765	- Bugfix #365: set patch style and zonec verbose for nsdc.
766	- First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC.
767	- Bugfix #375: typos in nsd.conf.5.
768	- Bugfix #381: Binary escaped and transfers.
769	- Bugfix #397: Don't allow relative domain names as origin in $INCLUDE
770	  directives.
771	- Fix printout of IPSECKEY by nsd-patch.
772	- Fix is_existing flag for ENT when domain that has a shared ENT
773	  is deleted by IXFR. (ENT == Empty Non-Terminal)
774	- Fix bug if the zonefile is changed for a secondary but stored
775	  transfers are applied, and stop it from applying ixfr to empty zone.
776	  The zone is flagged with error and AXFR-ed.
777	- Fix to have no authority NS set processing for CNAMEs.
778	- Fix nsd-checkconf to check tsig algorithms properly.
779	- Set the AA bit on responses that have an authoritative CNAME.
780	- Fix denial of existence response for empty non-terminal that looks
781	  like a NSEC3-only domain (but has data below it).
782
783OPERATIONAL NOTES:
784	- nsd.db version number increased because NSD 3.2.7 and earlier
785	  zonec is not compatible due to the TXT strings change. Please
786	  run nsdc rebuild before running NSD 3.2.9 and later versions.
787
788
7893.2.8
790=============
791
792BUG FIXES:
793	- Do setusercontext() before chroot(), otherwise login.conf etc. are
794	  required inside chroot.
795	- Bugfix #216: Fix leak of compressiontable when the domain table increases
796	  in size.
797	- Bugfix #348: Don't include header/library path if OpenSSL is in /usr
798	- Bugfix #350: Refused notifies should log client ip.
799	- Bugfix #352: Fix hard coded paths in man pages.
800	- Bugfix #354: The realclean target deletes a bit too much.
801	- Bugfix #357, make xfrd quit with many zones.
802	- Bugfix #362: outgoing-interface and v4 vs. v6 leads to spurious
803	  warning messages.
804	- Bugfix #363: nsd-checkconf -v does not print outgoing-interface ok.
805	- Bugfix: nsd-checkconf -o outgoing-interface omits NOKEY.
806
807OPERATIONAL NOTES:
808	- Use 'make clean' to clean up files that make created.
809	- Use 'make realclean' to also clean up files that were generated by
810	  running ./configure.
811	- Use 'make devclean' to also clean up autoconf, autoheader files.
812
8133.2.7
814=============
815
816BUG FIXES:
817	- Bugfix #253: Don't put NS RRs in a response with QTYPE=DS.
818	- Bugfix #320: use arcrandom(4) for QID generation if available.
819	- Bugfix #328: nsd-checkconf overrun.
820	- Bugfix #343: nsdc update fix.
821	- Bugfix #347: Wrong NSEC3 returned for nodata response QTYPE=DS no delegation.
822	- Bugfix: Allow for huge amount of strings in TXT (and other) records.
823	- Bugfix: nsdc can now deal with tsig algorithms other than hmac-md5.
824	- Fixed several parts in the documentation, including #306, #345.
825
8263.2.6
827=============
828
829BUG FIXES:
830	- Bugfix #314: correctly print NSEC next field, escape spaces and
831	  fix label overflows.
832
833FEATURES:
834	- Expand command line option '-a' and config option 'ip-address:'
835	  with port number.
836
837OPERATIONAL NOTES:
838	- Configure options --disable-dnssec, --disable-nsid, --disable-tsig
839	  are removed.
840	- Configure option --max-interfaces is renamed to --max-ips.
841
8423.2.5
843=============
844BUG FIXES:
845	- NSD will not start if chroot is configured, but changing root is
846	  not possible (it used to ignore the badly configured chroot).
847	- Make use of the more secure strl* functions.
848	- Bugfix #303: spelling error.
849
850FEATURES:
851	- New option 'nsid:', to specify the NSID (Bugfix #298).
852	- The default chroot can be set with --with-chroot=<dir>.
853	  If not set, by default chroot will not be used (thanks Jakob Schlyter).
854	- Optimized zonec and b64_pton compatibility code (thanks Martin Svec).
855	- Optimized memory allocations. Use mmap/munmap instead of malloc/free.
856		Experimental, by default off. Enable it at build time with
857		--enable-mmap (thanks Martin Svec).
858
859OPERATIONAL NOTES:
860	- NSID support is now enabled by default.
861
8623.2.4
863=============
864BUG FIXES:
865	- Bugfix #269: Additional C99 syntax.
866	- Bugfix #276: Zonec prints debug data to stderr.
867	- Bugfix #286: Document verbosity levels in nsd.conf manual page.
868	- Bugfix #288: Ignore SIGHUP to child processes.
869	- Fix typo in include file for setusercontext.
870
871FEATURES:
872	- Support DLV records.
873	- New option 'tcp-query-count:', to limit the maximum number of
874		DNS queries on a single tcp connection.
875	- New option 'tcp-timeout:', to override the default tcp timeout.
876		The default can also be set at build time, --with-tcp-timeout=<number>.
877	- New option 'notify-retry:', to configure how many times NSD should retry
878		a NOTIFY message.
879	- New options 'ipv4-edns-size:' and 'ipv6-edns-size:'. to set your preferred
880		EDNS buffer size.
881
882OPERATIONAL NOTES:
883	- UDP/IPv4 sockets have new options set that will disable the DF flag in IP
884		packets.
885
8863.2.3
887=============
888BUG FIXES:
889	- Bugfix #236: Allow RRs before the SOA in a zonefile.
890	- Bugfix #249: Remove the C99 code.
891	- Bugfix #253: Don't put NS RRs in a response with QTYPE=DNSKEY.
892	- Bugfix #263: Make TSIG algorithm comparison case insensitive.
893	- Bugfix #266: Build failed on systems without strptime.
894	- Bugfix: install hickup.
895	- Fix to use 4096 EDNS limit for IPv6 on Linux.
896
8973.2.2
898=============
899BUG FIXES:
900	- Off-by-one buffer overflow fix while processing the QUESTION section.
901	- Return BADVERS when NSD does not implement the VERSION level of the
902	  request, instead of 0x1<FORMERR>.
903	- Bugfix #234.
904	- Bugfix #235.
905	- Reset 'error occurred' after notifying an error occurred at the $TTL or
906		$ORIGIN directive (Otherwise, the whole zone is skipped because the
907		error is reset after reading the SOA).
908	- Minor bugfixes.
909
9103.2.1
911=============
912OPERATIONAL NOTES:
913	- NSD will now fallback to AXFR, only if the master does not support IXFR.
914	- You can adjust nsdc patch to skip textfile patching. This will
915	  increase the patching process, but will not output to zonefiles
916	  anymore. By default, this is off.
917
918BUG FIXES:
919	- When configuring, don't do strptime test when cross-compiling.
920	- Bug #230: Output non-error messages to stdout.
921	- Better error message when ixfr.db old file format is read.
922	- Bug #218: shared UDP query for all interfaces.
923	- Bug #222: Remove bashism from nsdc script.
924	- Nicer check for SHA-256 functionality.
925	- Fixed some minor memory leaks that occurred on reload.
926	- nsdc: check if a lockfile has not gone stale, when lock failed.
927	- Bugfix strptime compatibility function
928
929FEATURES:
930	- New configuration option 'allow-afxr-fallback', "yes" by default. If
931		set to "no", NSD will never do AXFR fallback, even if the master
932		does not support IXFR.
933	- Allow file rotation on nsd.log.
934	- The new nsd-patch options -s and -o allows you to skip writing
935		zonefiles and store the output directly to a database file,
936		respectively.
937
9383.2.0
939=============
940OPERATIONAL NOTES:
941	- Format of ixfr.db has changed. When you are planning an upgrade to the
942	  new NSD release, make sure to process the old ixfr.db before starting
943	  the new release (by running nsdc patch).
944	- IXFR is transmitted over TCP by default instead of UDP. If you want to
945	  continue the use of IXFR/UDP, please modify your zone configuration
946	  file to:
947		request-xfr: UDP 1.2.3.4 tsigkey
948	  We strongly recommend to enable TSIG if you send IXFR over UDP.
949	  When all masters fail to transmit IXFR/UDP, slave will fallback to
950		IXFR/TCP and eventually AXFR/TCP.
951	- nsd-patch prints errors to stderr instead of stdout.
952
953BUG FIXES:
954	- Only normalize dnames in rdatas when rrtype is listed in RFC 4034,
955	  section 6.2: Canonical RR Form, following
956	  draft-ietf-dnsext-dnssec-bis-updates (affects RRSIG and NSEC records).
957	- Typo in zonec manpage.
958	- Bugfix in log_finalize.
959	- Fix race condition between nsdc patch and server reload.
960
961FEATURES:
962	- AXFR/TCP fallback in case of failing IXFR zone transfers.
963	- RFC 4635: support for hmac-sha1 and hmac-sha256 TSIG algorithm
964		identifiers, "Bugfix #130".
965	- Configure the source ip-address for notifies (master) and zone
966		requests (slave) in nsd.conf, "Bugfix #148".
967	- nsd-notify and nsd-xfer allow you to configure the outgoing
968		hostname and source port, in addition to the source address.
969	- Additional debug and verbose log messages.
970
9713.1.1
972=============
973BUG FIXES:
974	- Try to avoid race conditions with NSD reloading and nsdc running,
975		by writing pidfile before closing old parent process.
976	- Fixed NSEC3 memory leak in the case NSEC3 is not needed.
977	- Fixed some memory leaks that happened on error, mostly on
978		zone transfer errors.
979	- Bugfix #191: nsd-checkconf allowed only (max_interfaces-1) interfaces.
980
981FEATURES:
982	- The number of maximum interfaces allowed is configurable with
983		--with-max_interfaces=<number> (thanks John Lightsey).
984
9853.1.0
986=============
987OPERATIONAL NOTES:
988	- Default locations of nsd.db, ixfr.db & xfrd.state are changed to
989          the /var/db/nsd directory.
990
991BUG FIXES:
992	- Zone compiler gives more sane error messages when out of
993	  diskspace and bug #172: when compiling single zone file.
994	- Changed man pages format from mdoc to mansun, to support the Solaris OS.
995	- Log tcp read error only when connection not reset by peer or when
996	  verbosity level is high.
997	- RRs are compared without checking the TTL value.
998
999FEATURES:
1000	- NSD is now NSEC3 enabled by default. You can disable it by configuring
1001		NSD with --disable-nsec3.
1002	- Added "hide-version" configuration setting. Enabling this feature
1003		stops NSD from answering to CHAOS class version requests.
1004	- Added bind2nsd 0.5.0 (http://bind2nsd.sourceforge.net) in contrib/.
1005	- Report source and zone for denied AXFR attempts.
1006
10073.0.8
1008=============
1009FEATURES:
1010	- Better logging for nsd-notify (show 'broken' zone)
1011	- Add configuration for chkconfig to control nsd service.
1012
1013BUG FIXES:
1014	- Fixed nsdc start when nsd already running: do not initialize server,
1015		since it is already running.
1016	- Fixup bug where data related files are looked up in the wrong
1017	  directory when chrooted with chrootdir ending with a slash.
1018	- Fixup bug where nsd would return FORMERR if received an edns
1019	  query with version set to zero and rdlen larger than zero.
1020	- Fixed strptime, so that zonec will also work on systems with broken
1021		strptime (like leopard :-))
1022	- Do not answer nsec3 wildcard information when DO bit is not set
1023	- Better logging when creating database failed.
1024	- Various spelling errors
1025
10263.0.7
1027=============
1028BUG FIXES:
1029	- Error handling for malformed IXFRs improved.
1030	- Fixed man pages, consistent syntax.
1031
10323.0.6
1033=============
1034FEATURES:
1035	- Report source and zone for denied AXFR attempts.
1036
1037BUG FIXES:
1038	- More elegant handling of malformed nsec3 records from a zone
1039	  transfer.
1040	- Fixup ignored return value in region-allocator.
1041        - Added bind2nsd 0.5.0 (http://bind2nsd.sourceforge.net) in contrib/.
1042
10433.0.5
1044=============
1045BUG FIXES:
1046	- Fixed problem with reload waiting very long. If the OS has a
1047	  raging herd problem, NSD could block in a UDP operation and
1048	  that process would stop reload from finishing. Made UDP sockets
1049	  nonblocking.
1050	- Made TCP listen sockets nonblocking. NSD could block in accept.
1051	- Handle the new CERT RDATA types defined in RFC 4398 (submitted by
1052	  Mans Nilsson).
1053	- Fixed a bug where zonec would choke on unknown CERT RDATA types.
1054	- Change nsd-notify retry timer from linear into exponential
1055	  backoff (submitted by Mans Nilsson).
1056	- Debug flag (-d) behavior changed. Nsd now also forks children when
1057	  run in debug mode.
1058	- Added verbosity mode (-V <level>) for extra operational logging.
1059	- zonesdir default is /etc/nsd.  This can be overridden in nsd.conf.
1060	- if clients drop the tcp connection this does not result in a logfile
1061	  entry, unless verbosity is set 2 or more.
1062
10633.0.4
1064=============
1065BUG FIXES:
1066	- zonec will print an error when other data is put next to a CNAME.
1067	- Fixup unaligned memory access that could occur when reading ixfr.db
1068	  with a partial transfer inside.
1069	- Fixup for the WKS RR type printout by nsd-patch and nsd-xfer.
1070	- Error message 'could not read database CRC' now only given on error.
1071	- ./configure --zonesdir=<directory for zone files> now works to
1072	  set a default value for the zonesdir: <dir> nsd.conf directive.
1073	  Set zonesdir: "" to disable the change of directory.
1074	- Bug: reload crashes with log message 'continuing with old database',
1075	  and after that no more zone updates. Manual fix is to kill -HUP,
1076	  but now fixed in software to try to reload again (and again).
1077	- Small speedup where xfrd could briefly be busy-waiting.
1078	- If master sends IXFR with glue that is already present in the zone
1079	  this is silently accepted. Printed in debug mode -L 2. To make
1080	  the log file smaller.
1081	- Exponential backoff for zones that never worked to max of 4 hours.
1082	  For expired zones the SOA retry values are used.
1083	- allow-notify acl entries 'NOKEY' match only queries without TSIG.
1084	- Answers to valid notifies contained wrong RR counts in the header.
1085	  The notifies were processed correctly, but now the acknowledgement
1086	  reply is in correct DNS format.
1087FEATURES:
1088	- Added contrib/nsd.zones2nsd.conf python script to convert NSD 2 to
1089	  NSD 3 config files, contributed by Stephane Bortzmeyer.
1090	- The nsdc control script will print 'nsd startup failed' if the nsd
1091	  executable does not start (due to bad permissions, bad config, ...).
1092
10933.0.3
1094=============
1095BUG FIXES:
1096	- Bug #152: NSD would not use the identity from nsd.conf, fixed.
1097	- Bug #153: When running with thousands of secondary zones, NSD would
1098	  run out of UDP sockets. Caused crash on FreeBSD, errors on Linux
1099	  ('out of file descriptors'), depending on ulimits. Fixed.
1100	- Fixed getaddrinfo error message to be more descriptive.
1101	- Fallback to ip4 if getaddrinfo fails for ip6.
1102	- Will no longer lose a notify message during reloads (IPC).
1103	- Will no longer lose transfer in progress when notified for that zone.
1104	- Nicer error when operator forgets to rebuild after deleting a zone.
1105
11063.0.2
1107=============
1108BUG FIXES:
1109	- Nice error from zonec on a wrong configuration zone name.
1110	- Nicer warning from zonec when starting secondary zone with
1111	  no zone file for the first time.
1112	- nsdc makes more portable use of 'which' (for SunOS5.9/bash2.05).
1113	- Bug #143: Improved handling of zonesdir: directive and relative
1114	  pidfile, database, diff file, xfrdfile paths in nsdc.sh and
1115	  nsd-patch. They would not find the files.
1116	- Bug #144: LOC RRtype default values for precision wrong. Fixed.
1117	- Bug #145: NSD failed to reload cases of simultaneous zone transfer.
1118	- Bug #146: NSD fails to write to xfrdfile when chrooted. Fixed.
1119		Also fix for difffile when chrooted.
1120	- Bug #147: NSD runs out of memory. Fixed, memory is reused.
1121	  Occurred when running NSD with very big zones and large updates.
1122	- nsd -L 1 logging is smaller, -L 2 contains all debug information.
1123	  (only available for debug compiles).
1124	- Bug #149: Fixed text for NOTAUTH error code. When notify is not
1125	  authorised REFUSED error code returned instead.
1126
11273.0.1
1128=============
1129BUG FIXES:
1130	- nsd-patch prints SOA record at start of zone files.
1131
11323.0.0
1133=============
1134FEATURES:
1135	- AXFR/IXFR zone transfer supported.
1136		- NSD requests but does not provide IXFR transfers.
1137		- NSD keeps track of SOA timeouts for secondary zones.
1138	- TSIG authentication supported.
1139		- For queries, for notifies, for zone transfers.
1140	- NOTIFY messages of zone updates, incoming and outgoing.
1141	- DNAME type is supported, including CNAME synthesis.
1142	- config file, nsd.conf(5), place to put TSIG keys, server settings,
1143	  and lists of ip-addresses/ranges for AXFR/IXFR and NOTIFY.
1144	- prepared for NSEC3 (--enable-nsec3), experimental code for testing
1145	  in workshops.
1146	- prepared for NSID (--enable-nsid), experimental code for testing in
1147	  workshops.
1148
1149OPERATIONAL NOTES:
1150	- config file needed, nsd.conf(5) supersedes nsd.zones and nsdc.conf.
1151	- AXFR transfers are denied by default. Allow in config file.
1152	- Zones only become secondary with "request-xfr:" items in config file.
1153	- NSD produces "ixfr.db" file with a journal of zone transfers.
1154	  Use nsdc patch to merge changes back to zone files and remake db.
1155	- NSD produces "xfrd.state" file with zone timeout information.
1156	  The file is text formatted.
1157	- NSD sends notifies automatically,
1158	  nsd-notify is deprecated and will be removed from the package.
1159	- NSD requests AXFR/IXFR and reloads the updates automatically,
1160	  nsd-xfer is deprecated and will be removed from the package.
1161	- Check your config file with nsd-checkconf.
1162
1163BUG FIXES:
1164	- contains all bug fixes from 2.3.5 and before.
1165	- The sighandler() bug is fixed more thoroughly,
1166	  by using pipes for interprocess communication.
1167	- CNAMEs are followed by the server to different zones and
1168	  information from that zone is returned. This saves a followup
1169	  query.
1170	- bug fixes (ported) 2.3.6.
1171		- nsd-notify will retry max 15 times 5 second retries.
1172		- Bug #105: nsdc lacks locking, fixed locking for root user.
1173		- Bug #134: nsd: make -N <large number> work again
1174		- Bug #135: Typo in locking code for nsdc, fixed.
1175		- uninitialised variable fixed.
1176		- unaligned memory access (on Solaris SPARC), in zonec
1177		  LOC parsing, fixed.
1178		- Bug #138: nsd aborts trying to bind all interfaces if ip6
1179		  is not enabled, instead it will fallback to ip4.
1180		- Bug #139: resync timer for stats to whole minute.
1181		- Bug #140: NSD did not clear CD bit on authoritative answers.
1182		- Bug #141: NSD did not clear flags on a formerror reply.
1183
11842.3.5
1185=============
1186BUG FIXES:
1187        - Bug #132: regression, nsd: fix compile with --disable-ipv6
1188        - Makefile: remove gnuisms
1189
11902.3.4
1191=============
1192BUG FIXES:
1193        - Unknown type codes for type code numbers > 48 and < 97 work again.
1194          (this implies --enable-checking can be enabled again)
1195        - nsd: sighandler() fixes
1196	- Bug #118: nsd: nsd_notify waits for a response. Will retry the notify
1197	  after a timeout.
1198        - Bug #124: $(DESTDIR) was added to Makefile.in.
1199	- Bug #128: zonec: parser can handle \\ at the end of a string.
1200        - zonec: lexer: add \r to the newline delimeter
1201        - zonec: use strtol with an explicit base 10 as parameter.
1202          (Scott Rose, Roy Arends)
1203        - nsd-xfer: print human readable error codes. Change logging to
1204          be more in line with the rest
1205
12062.3.3
1207=============
1208BUG FIXES:
1209        - Apply the correct patch to nsdc.sh.in.
1210
12112.3.2
1212=============
1213FEATURES:
1214        - Bug #101: add support for the SPF record.
1215
1216BUG FIXES:
1217        - Bug #100: replaced non-portable use of timegm(3) with
1218          portable implementation (mktime_from_utc).
1219        - Bug #103: nsd: trim the SOA's TTL to the MINIMUM value when returning a
1220          negative answer.
1221        - Bug #104: nsd: add a time_t timestamp to the log when logging to
1222          a file.
1223        - Bug #105: nsdc: use a lock file when rebuilding the database (patch by
1224          Jakob Schlyter/Ted Lindgreen/Sebastian/Ondrej Sury).
1225        - Bug #106: zonec: don't walk all 256 NSEC windows when that is not
1226          needed.
1227        - Bug #107: zonec: fixed a crash when encountering bad unknown rdata.
1228        - nsd: Don't print: "error: nsd is already running as <pid>, stopping"
1229          when in fact NSD continues to run.
1230        - nsd: Minimize the race window in sig_handler().
1231
12322.3.1
1233=============
1234BUG FIXES:
1235        - zonec: Don't crash when generating error messages outside of zone
1236          files.
1237        - nsd: when logging to a file the pid is now printed.
1238        - nsd: Reset 'boot' time in statistics when reloading the database,
1239          since the statistics are reset to 0 on a reload.
1240        - nsd-xfer.c: Added '-a' option to specify local address to connect
1241          from.  Original patch supplied by Walter Hop <nsd@walter.transip.nl>.
1242        - Bug #98: Allow mnemonics for DS and RRSIG algorithm field.
1243
12442.3.0
1245=============
1246FEATURES:
1247        - DNSSEC is now enabled by default. NSD should be fully
1248          compliant with RFC4033, RFC4034, and RFC4035.
1249
1250BUG FIXES:
1251        - nsd: Ensure that the number of -a flags does not exceed the
1252          maximum specified by MAX_INTERFACES in config.h.
1253        - nsd-xfer: Use serial number arithmetic (RFC1982) for the
1254          zone serial check
1255        - nsdc: Don't pass (fake) serial number to nsd-xfer if the
1256          zone file does not exist.
1257        - zonec: Loading many zones would cause namedb_find_zone to
1258          slow down, performance patch by Kazunori Fujiwara.
1259        - Bug #96: nsd-xfer did not handle 8-bit domain names
1260          correctly.
1261
12622.2.1
1263=============
1264FEATURES:
1265        - The message priority is now included when logging to a file.
1266
1267BUG FIXES:
1268        - Zero length RDATA using the unknown RR notation was not
1269          working (except for the APL RR type).
1270        - Bug #93: './configure' error message containing a comma must
1271          be properly bracketed.
1272        - Bug #94: nsd-xfer: Handle unexpected EOF when receiving AXFR
1273          data.  Timeout if no data is received for more than 120
1274          seconds (see the TCP_TIMEOUT parameter in config.h).
1275        - Bug #95: An owner starting with an asterisk label ("*") was
1276          being treated as its own wildcard child.
1277
12782.2.0
1279=============
1280FEATURES:
1281        - nsd-xfer: replacement program for named-xfer to perform zone
1282          transfers using AXFR. TSIG is supported by nsd-xfer but not
1283          yet by the nsd server. DNSSEC is also supported.  TSIG
1284          requires OpenSSL version 0.9.7 or higher, configure using
1285          --disable-tsig if you do not have OpenSSL installed.
1286          Configure using --with-ssl=path if OpenSSL is not installed
1287          at a standard location.
1288
1289CODE CHANGES:
1290        - New data structure 'buffer_type' for representing binary
1291          buffers that can be read, written, and resized.  Data in
1292          these buffers is stored in network byte order.  This data
1293          structure replaces the iobuf field of 'struct query'.
1294
1295BUG FIXES:
1296        - Fixed endian problem in WKS record.
1297        - Protocol can now be specified numerically in WKS record.
1298        - Allow escape sequences (\DDD) in TTL, RR class, and RR type.
1299        - The zone compiler now accepts many more characters in
1300          unquoted strings such as domain name labels.  The characters
1301          no longer need to be escaped with a backslash.
1302        - Close included files after reading.
1303        - Maximum TCP message size is now 65535 bytes.  AXFR response
1304          packets are still limited to 16383 bytes for optimal
1305          compression of dnames.
1306        - The TSIG key for AXFRs can now also be stored in the file
1307          <zonename>.tsiginfo.  This makes it possible to use TSIG
1308          with multiple master servers.
1309        - Signals are no longer blocked while performing I/O so the
1310          server should respond quicker to signals.
1311        - Fixed parsing of LOC rdata.  Fractions and altitude were not
1312          handled correctly.
1313
13142.1.5
1315=============
1316BUG FIXES:
1317        - Bug #90: handle \000 in TXT records correctly
1318        - Fixed undefined behavior in the use of vsnprintf when
1319          logging messages.  This caused crashes on Linux/PPC.
1320
13212.1.4
1322=============
1323BUG FIXES:
1324        - nsdc: Fixed a typo that caused AXFRs to stop working.
1325
13262.1.3
1327=============
1328FEATURES:
1329        - nsd: The pidfile can be specified using the '-P' option.
1330
1331BUG FIXES:
1332        - Bug #87: allow @ in the rdata
1333        - Bug #88: allow ::FFFF:ipv4addr in AAAA records
1334        - Bug #89: Count the number of queries received over TCP,
1335          instead of the number of TCP connections.
1336        - Zonec: when - is used as input, set the filename to 'STDIN'.
1337        - The nsdc script handles failed AXFRs more gracefully.
1338        - NSD emits an error when it sees bitlabels (RFC 2673).
1339        - Only copy the CD bit when DNSSEC is enabled.
1340
13412.1.2
1342=============
1343FEATURES:
1344        - NSD now fully supports unknown record types using the
1345          notation specified in RFC3597.
1346        - Support for the following RR types has been added: WKS, X25,
1347          ISDN, RT, NSAP, PX, NAPTR, KX, CERT, DNAME, and APL.  DNAME
1348          special processing is not supported.
1349
1350BUG FIXES:
1351        - Bug #84: NSD now uses SIGUSR1 instead of SIGILL to report stats.
1352        - Bug #85: Support for WKS records.
1353        - Bug #86: The characters "#%&^[]?" can now be used without
1354          backslash in zone file domain names.
1355        - Plugin callback return type fixed.
1356        - The maximum message length for IPv6 UDP packets is now
1357          limited to the IPv6 minimum MTU (1280) unless the
1358          IPV6_USE_MIN_MTU socket option is supported.
1359
13602.1.1
1361=============
1362BUG FIXES:
1363        - Bug #81: Handle unknown types correctly.
1364        - Bug #82: Zonec: don't report "0 errors" unless -v is
1365          specified.
1366        - Bug #83: Close zone files after parsing.
1367        - Handle AFSDB RR type.
1368
13692.1.0
1370=============
1371FEATURES:
1372        - New networking code allows a single server to handle both
1373          UDP and TCP connections.  By default up to 10 simultaneous
1374          TCP connections are supported.  Use the '-n' flag to change
1375          the default.
1376
13772.0.2
1378=============
1379BUG FIXES:
1380        - Allow the use of a mnemonic for the algorithm field of a
1381          DNSKEY record.
1382        - Behavior of the zonec -v flag has been modified.  By default
1383          zonec will only print a single line with a summary of the
1384          error count.
1385        - Bug #75: Fixed typo in previous "fix".
1386
13872.0.1
1388=============
1389BUG FIXES:
1390        - Queries for QTYPE DS (DNSSEC) were not handled correctly in
1391          certain cases.
1392        - Partial support for unknown RRs.  Known RR types with
1393          unknown RR data format is not yet supported.
1394        - Bug #75: Fixed bad error message when nsdc update is run for
1395          the first time.
1396        - Bug #78: Multiple zones, each with include directives, are
1397          now compiled correctly.
1398
13992.0.0
1400=============
1401FEATURES:
1402        - Experimental DNSSEC support implemented, but disabled by
1403          default.  Enable using the --enable-dnssec configuration
1404          option.
1405        - IPv6 enabled by default.  Disable using the --disable-ipv6
1406          configuration option.
1407
1408BUG FIXES:
1409        - Bug #47: Domain name is now logged when a notify is
1410          received.
1411        - Bug #70: First include all A records in the additional
1412          section, followed by AAAA records.
1413        - Bug #77: Check length of domain name and label.
1414        - LOC records are supported again.
1415
14161.4.0-alpha1
1417=============
1418FEATURES:
1419        - New database format that is much more compact and portable
1420          across architectures.
1421        - The new zone compiler is now the default and the old zone
1422          compiler has been removed.
1423        - Name compression is done dynamically, removing one other
1424          difference with BIND in the responses generated (the full
1425          query name is now used for compression).
1426        - CNAME target records are now generated from wildcard
1427          records if necessary.
1428
1429REGRESSIONS:
1430        - mmap(2) isn't currently supported.
1431        - Not all RR types are supported by zonec (such as LOC).
1432
14331.3.0-alpha1
1434=============
1435FEATURES:
1436        - New name lookup algorithm.  This required a change to the
1437          database format.  Performance should increase at the expense
1438          of database size and memory usage.
1439        - New zone compiler (zonec2) based on flex and yacc, fully RFC
1440          compliant (still in alpha).
1441        - Database can be loaded using mmap(2) (use the --enable-mmap
1442          configure option to enable).  This is useful on operating
1443          systems such as Solaris that do not allow memory overcommit.
1444        - Region based memory allocation and resource management.
1445        - New internal format for storing domain names.  Each dname
1446          now includes an array of label offsets within the domain
1447          name.
1448        - Updates to the plugin API.
1449
1450BUG FIXES:
1451        - Bug #65: The syslog facility is now a compile time option
1452          (--with-facility=FACILITY).  The default facility is DAEMON.
1453        - Bug #66: Automatic periodic dumping of the statistics (using
1454          the -s option) is now continued after a database reload.
1455
14561.2.4
1457=============
1458BUG FIXES:
1459        - Bug #72: If an RRset for a child domain is defined before
1460          the RRset of the parent domain the parent's RRset would be
1461          "lost".
1462
14631.2.3
1464=============
1465BUG FIXES:
1466        - Bug #65: The syslog facility is now a compile time option
1467          (--with-facility=FACILITY).  The default facility is DAEMON.
1468        - Bug #66: Automatic periodic dumping of the statistics (using
1469          the -s option) is now continued after a database reload.
1470        - NSD would try to kill pid -1 on startup if forking of a child
1471          process failed.
1472        - Do not log EAGAIN errors on calls to recvfrom.  These errors
1473          should be harmless.
1474
14751.2.2
1476=============
1477BUG FIXES:
1478        - Bug #59: NSD returns FORMERR when the query name is >= 246
1479          bytes.
1480        - Bug #60: Zonec runs out of file descriptors with many zones.
1481        - Bug #61: nsdc uses /bin/sh hardwired (and should not).
1482        - Bug #62: NSD is not able to log to a file.
1483        - Bug #63: nsdc update and zonec are too talkative.
1484        - Bug #64: Answer for request of a host resolved by a
1485          wildcard-resource-record is not understandable by dig.
1486
14871.2.1
1488=============
1489BUG FIXES:
1490        - AXFR terminates early if a zone contains a CNAME pointing
1491          the the zone's domain name (SOA record) (bug #56).
1492        - During an AXFR memory above the top of the stack was
1493          accessed.  This could lead to occasional AXFR errors (bad
1494          packets).
1495        - NSD now prints its version number and exits when invoked
1496          with the -v flag (bug #57).
1497        - NSD prints help information and exits when invoked with the
1498          -h flag.
1499
15001.2.0
1501=============
1502FEATURES:
1503        - NSD is now a single parent process (handling child
1504          termination and database reloads) plus multiple UDP and TCP
1505          child processes handling queries.  Before the parent process
1506          also handled UDP queries.  This change simplifies the parent
1507          and child processes and allows the use of multiple
1508          concurrent UDP servers.
1509        - Experimental plugin support.  This required a minor,
1510          incompatible change to the database format.  Make sure you
1511          recompile your database.  Use --enable-plugins to enable.
1512        - Full IPv6 support (for multi-homing and for Linux, thanks to
1513          Colm MacCárthaigh and Jun-ichiro itojun Hagino).  Use
1514          --enable-ipv6 to enable.
1515        - Support for multi-homing with TCP connections.
1516        - Support for SunOS 4.x has been dropped.
1517
1518CODE CHANGES:
1519        - NSD should now conform to the Single Unix Specification
1520          (http://www.unix.org/).
1521        - Const correctness for strings and some other data types.
1522        - Removed code for Berkeley DB, hash tables, and mmap(2).
1523        - Separate preprocessor flags from code flags (CPPFLAGS and
1524          CFLAGS).
1525        - Use uint8_t instead of u_char, uint{16,32}_t instead of
1526          u_int{16,32}_t.
1527        - Fixed warnings from mixing signed and unsigned types.
1528        - Use sigaction(2) instead of signal(2).
1529        - The query_process function has been split up for clarity.
1530
1531BUG FIXES:
1532        - CHAOS TXT queries failed on big-endian machines.
1533        - Portability fixes for Tru64 (thanks to Stephane Bortzmeyer),
1534          HP-UX, and MacOS X (thanks to Ronald van der Pol).
1535        - Removed compile time limit on maximum number of TCP child
1536          servers.
1537        - Support for debugging UDP and TCP queries.
1538        - Always ensure there is enough room for the EDNS record when
1539          answering a query with EDNS enabled.
1540
15411.1
1542=============
1543FEATURES:
1544        - ANSI C
1545        - autoconf/configure
1546        - new parser
1547        - support for various RR types in zonec
1548        - support for UNKN RR types
1549
1550BUG FIXES:
1551        - lots of zone parsing errors eliminated
1552        - empty node matching bug gives NXDOMAIN
1553
15541.0.3
1555=============
1556This release is a bug fix release and does not add any new features.
1557
1558BUG FIXES:
1559        - Ignore SIGPIPE errors (bug #43).
1560        - Keep track of TCP child servers and restart if necessary.
1561          (bug #55)
1562        - Handle database reload failures correctly.
1563        - Close UDP sockets in TCP child servers.
1564        - Handle escaped characters (besides \.) in labels.
1565        - Preserve the query's RD flag in the answer.
1566
15671.0.2
1568=============
1569FEATURES:
1570        - -DBIND8_STATS to enable bind8 like [NX]STATS
1571        - -t flag to make nsd chroot to a certain directory
1572        - -s flag to make nsd produce statistics every s seconds
1573        - /etc/nsd/nsdc.conf to overwrite default variables
1574          for nsdc.sh
1575        - less loggin and more radical tcp connection (mis)handling
1576        - prefork -n processes to handle tcp connections
1577        - multiple -a flags
1578
1579CHANGES:
1580        - named.stats file functionality is removed
1581
1582BUG FIXES:
1583        - couple of pedantic fixes in C code
1584        - last zone in database axfr bug fixed
1585        - nsdc update wont update bug fixed
1586
15871.0.1
1588=============
1589
1590FEATURES:
1591        - NSD drops permissions after binding the sockets
1592        - ``cache'' zones are no longer allowed
1593        - ID.Server & Version.Server compile time options
1594        - AXFR implemented (with tcpwrapper for access control)
1595        - nsdc update and nsdc notify functionality
1596        - using named-xfer with TSIG for inbound axfr
1597
1598
1599CHANGES:
1600        - the order of records in the database is from now
1601          on significant
1602        - since Berkeley DB doesnt define order for sequential
1603          access it is no longer supported
1604
1605BUG FIXES:
1606        - white space problem in zonec is fixed
1607
1608KNOWN BUGS:
1609        - please see appropriate man pages for the known bugs
1610
16111.0.0 RELEASE
1612=============
1613
1614KNOWN BUGS:
1615
1616- Although NSD allows one to configure a zone without SOA record and
1617  use it as so called ``cached'' non-authoritative data, it is decided
1618  that having this functionality is wrong, dangerous and will be removed
1619  from the further versions.
1620
1621- If while processing EDNS(0) OPT record NSD encounters bad EDNS(0)
1622  version it will answer with Format Error instead of EDNS(0) BADVERS
1623
1624PLATFORMS:
1625
1626        Tested and working on i386 FreeBSD-4.4, i386 Linux, dec alpha Linux,
1627        sparc SunOS 4.x
1628
1629
16301.0.0-BETA2
1631===========
1632
1633FIXES:
1634        - wildcards bug fixed
1635        - AA bit for class ANY bug fixed
1636        - minor coredumps with really broken zones in zonec fixed
1637        - linux & SunOS port
1638
16391.0-ALPHA2
1640==========
1641FIXES:
1642        - IPv6 transport support added by Jun-ichiro itojun Hagino (Use -DINET6)
1643        - Makefile modified for easier compile time configuration
1644        - EDNS(0) bug fixed
1645        - Default database changed to all lowercase, red-black tree to make nsd
1646          DNSSEC ready
1647        - REQUIREMENTS are cleaned up and updated
1648        - Signal names changed in nsdc.sh.in
1649        - Default compile options dont include -DMIMIC_BIND8
1650