xref: /openbsd-src/usr.sbin/nsd/doc/RELNOTES (revision fc405d53b73a2d73393cb97f684863d17b583e38)
1NSD RELEASE NOTES
2
34.6.1
4================
5FEATURES:
6	- Set ALPN "dot" token during connection establishment as per RFC9103
7	  section 7.1 (Thanks Cesar Kuroiwa).
8	- Add SVCB dohpath support
9BUG FIXES:
10	- Fix static analyzer reports, fix wrong log print when skipping xfr,
11	  fix to print error on pipe read fail, and assert an xfr is in
12	  progress during packet checks.
13	- Use AC_PROG_CC_STDC with autoconf versions prior to 2.70.
14	- Add missing documentation for zone verification.
15	- Fix #212: Change commandline control actions to always log.
16	- Merge #231 from moritzbuhl: Fix checking if nonblocking sockets work
17	  on OpenBSD.
18	- Change zone parsing to accept non-trailing newline.
19
204.6.0
21================
22FEATURES:
23	- Port zone-verification from CreDNS to NSD4.
24BUG FIXES:
25	- Fix static analyzer reports on ixfrcreate temp file.
26	- Fixup wrong ixfrcreate fread return check.
27
284.5.0
29================
30FEATURES:
31	- Merge PR #209: IXFR out
32	  This adds IXFR out functionality to NSD. NSD can copy IXFRs from
33	  upstream to downstream clients, or create IXFRs from zonefiles.
34	  The options store-ixfr: yes and create-ixfr: yes can be used to
35	  turn this on. Default is turned off. The options ixfr-number and
36	  ixfr-size can be used to tune the number of IXFR transfers and
37	  total data size stored. This is configured per zone, the IXFRs
38	  are served to the hosts that are allowed to perform zone transfers.
39	  And if TSIG is configured, signed with the same key. The content
40	  is stored to file if a zonefile is configured for the zone, in
41	  the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain
42	  readable text format. The number of IXFRs is num.rixfr in
43	  statistics output, also per zone if per zone statistics are enabled.
44	  If offline, nsd-checkzone -i can create ixfr files.
45	  NSD already supports requesting IXFRs, this addition allows NSD
46	  to serve IXFR transfers to clients.
47	  NSD stops responding with NOTIMPL to IXFR requests, also for zones
48	  that do not have IXFR enabled. The clients gets a full zone reply
49	  or a status reply if the serial is up to date.
50BUG FIXES:
51	- Fix code analyzer zero divide warning.
52	- Fix code analyzer large value with assertion.
53	- Fix another code analyzer zero divide warning.
54	- Fix code analyzer warning about uninitialized temp storage in loop.
55	- Fix spelling error in comment in svcbparam_lookup_key.
56	- Update cirrus script FreeBSD version.
57
584.4.0
59================
60FEATURES:
61	- Merge #193: Lower memory usage of the XFRD process by default.
62	  Instead of preallocating all elements, they are allocated when used.
63	  There are options for managing the memory usage, defaults are the
64	  same as before. xfrd-tcp-max sets the number of sockets for tcp
65	  connections that xfrd can make to download zone contents. And
66	  xfrd-tcp-pipeline the number of simultaneous transfers over the
67	  same connection.
68BUG FIXES:
69	- Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA
70	  record.
71	- Merge #204 from jonathangray: correct some spelling mistakes.
72	- Fix to change file mode before changing file owner for the
73	  nsd-control unix socket file.
74	- Fix to document nsd-checkzone -p in the man page for nsd-checkzone.
75	- Fix #206: build with --without-ssl fails.
76	- Merge #207 Sync nsd-control-setup with unbound-control-setup to
77	  generate certificates with SANs.
78	- Fix unit tests for nds-control-setup exit code and the
79	  xfrd-tcp-max default.
80
814.3.9
82================
83BUG FIXES:
84	- Fix #198: nsd-control reconfig core dump.
85	- Fix to remove git tracking and ci information from release tarballs.
86	- Fix unit tests for new answer-cookie default.
87	- Fix socket_partitioning unit test for FreeBSD.
88	- Fix SVCB test to work around older dig with drill.
89
904.3.8
91================
92FEATURES:
93	- Merge #185 by cesarkuroiwa: Mutual TLS.
94	- Set default for answer-cookie to no. Because in server deployments
95	  with mixed server software, a default of yes causes issues.
96BUG FIXES:
97	- Fix to compile with OpenSSL 3.0.0beta2.
98	- Fix configure detection of SSL_CTX_set_security_level.
99	- Fix deprecated functions use from openssl 3.0.0beta2.
100	- For #184: Note that all zones can be targeted by some nsd-control
101	  commands in the man page.
102	- Fixes for #185: Document client-cert, client-key and client-key-pw
103	  in the man page. Fix yacc semicolon. Fix unused variable warning.
104	  Use strlcpy instead of strncpy. Fix spelling error in error
105	  printout.
106	- Merge #187: Support using system-wide crypto policies.
107	- Fix #188: NSD fails to build against openssl 1.1 on CentOS 7.
108	- Fix sed script in ssldir split handling.
109	- Fix #189: nsd 4.3.7 crash answer_delegation: Assertion
110	  `query->delegation_rrset' failed.
111	- Fix #190: NSD returns 3 NSEC3 records for NODATA response.
112	- Fix compile failure with openssl 1.0.2.
113	- Fix #194: Incorrect NSEC3 response for SOA query below delegation
114	  point.
115
1164.3.7
117================
118FEATURES:
119	- Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https
120	- Client side DNS Zone Transfer-over-TLS (XoT) support as per
121	  draft-ietf-dprive-xfr-over-tls
122	- Interoperable DNS Cookies support as per RFC7873 and RFC9018
123BUG FIXES:
124	- Fix for #170: Fix build warnings when IPv6 is disabled.
125	- Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error.
126	- Fix for #128: Skip over sendmmsg invalid argument when port is zero.
127	- Fix #171: Invalid negative response (NSEC3) after IXFR.
128	- Fix to make nsec3_chain_find_prev return NULL if one nsec3 left.
129	- Fix #174: NS Records below delegation are not ignored (nsd-checkzone
130	  also does not raise any issue).
131	- Fix #176: please review Loglevel on missing zonefile.
132	- Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure
133	  script.
134	- Fix #179: log notice and server-count.
135	- Update configure nonblocking test to use host.
136	- Fix #168: Buffer overflow in the dname_to_string() function
137	- Fixes for child server processes getting out of sync with the
138	  dnstap-collector process
139	- Fix gcc-11 warning on array bounds.
140	- Fix compile of cookies on FreeBSD without IPv6.
141	- Fix for loop initial declaration for nonc99 compiler
142	- Fix typo in xfrd-tcp.c.
143
1444.3.6
145================
146FEATURES:
147	- Fix #146 with #147: DNSTAP log the local address of the server
148	  with the dnstap logs.
149	- Enable configuring a control-interface by interface name.
150	- A -p option to nsd-checkzone to print a successfully read zone.
151	- Add Extended DNS Errors RFC8914
152	- Per zone Access Control List for queries
153	  with an allow-query: option.
154BUG FIXES:
155	- Prevent a few more yacc clashes.
156	- Merge PR #153 from fobser: Repair -fno-common linker errors
157	  automatically.
158	- Fix uninitialized access of log_buf in error printout on apply ixfr.
159	- Fix AF_LOCAL compile error for Solaris.
160	- Fix ifaddrs compile error for Solaris.
161	- Fix ifaddrs.h compile error for Solaris.
162	- Man page documentation for dnstap options.
163	- Fix segfault on high verbosity for TLS channels with dnstap log
164	  local address.
165	- Fix #163: A TSIG noncompliance with RFC 2845.
166	- Fix that wildcard is printed as a star instead of escaped, in
167	  logs and in written zone files.
168	- Fix double config.h include in configlexer.c
169	- Fix to remove configyyrename from makedist.sh and also
170	  update the flex and bison rules there to add the "c_" prefix.
171	- Fix configure to use header checks with compile.
172	- Fix warning about unused function log_addr.
173	- Fix #154: TXT with parentheses fails in 4.3.5.
174	- Align parsing of TXT elements with how bind does it.
175	- Fix configure failure for enable systemd because of autoconf.
176
177
1784.3.5
179================
180BUG FIXES:
181	- Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode.
182	- Fix #144: Typo fix in nsd.conf.5.in.
183	- For #145: Fix that service of remaining TCP and TLS connections
184	  does not allow new queries to be made, the connection is closed.
185	  Only existing queries and zone transfers are answered, new ones
186	  are rejected by a close of the channel.
187	- Fix that nsd-control has timeout when connection is down.
188	- remove windows socket ifdefs from nsd-control.
189	- Fix #148: CNAME need not be followed after a synthesized CNAME
190	  for a CNAME query.
191	- Fix configure.ac for autoconf 2.70.
192	- Fix #150: TXT record validation difference with BIND.
193	- Fix #151: DNAME not applied more than once to resolve the query.
194	- Fix #152: '*' in Rdata causes the return code to be NOERROR instead
195	  of NX.
196
197
1984.3.4
199================
200FEATURES:
201	- Merge PR #141: ZONEMD RR type.
202BUG FIXES:
203	- Fix #129: ambiguous use of errno, in log message if sendmmsg fails.
204	- Fix #128: Fix that the invalid port number is logged for sendmmsg
205	  failed: Invalid argument.
206	- Fix #127: two minor `-Wcast-qual` cleanups
207	- Fix #126: minor header hygiene
208	- Fix #125: include config.h in compat/setproctitle.c and fix
209	  prototype of `setproctitle`
210	- Fix #133: fix 0-init of local ( stack ) buffer.
211	- Fix missing parenthesis on size of fix to init buffer.
212	- Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN.
213	- Fix to add missing closest encloser NSEC3 for wildcard nodata type
214	  DS answer.
215	- Remove unused init_cfg_parse routine from configlexer.
216	- Fix #138: NSD returns non-EDNS answer when QUESTION is empty.
217	- Fix #142: NODATA answers missin SOA in authority section after
218	  CNAME chain.
219	- Fix for CVE-2020-28935 : Fix that symlink does not interfere
220	  with chown of pidfile.
221
222
2234.3.3
224================
225FEATURES:
226	- Follow DNS flag day 2020 advice and
227	  set default EDNS message size to 1232.
228	- Merged PR #113 with fixes.  Instead of listing an IP-address to
229	  listen on, an interface name can be specified in nsd.conf, with
230	  ip-address: eth0.  The IP-addresses for that interface are then used.
231	- Port TSIG code for openssl 3.0.0-alpha6.
232BUG FIXES:
233	- Fix make install with --with-pidfile="".
234	- Merge #115 from millert: Fix strlcpy() usage. From OpenBSD.
235	- Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find
236	  fd_set - patch.
237	- Fix that configure checks for EVP_sha256 to detect openssl, because
238	  HMAC_CTX_new is deprecated in 3.0.0.
239	- Fix #119: fix compile warnings from new gcc.
240	- Fix #119: warn when trying to parse a directory.
241	- Merge PR #121: Increase log level of recreated database from
242	  WARNING to ERR.
243	- Remove unused space from LIBS on link line.
244	- Updated date in nsd -v output.
245
246
2474.3.2
248================
249FEATURES:
250	- Fix #96: log-only-syslog: yes sets to only use syslog, fixes
251	  that the default configuration and systemd results in duplicate
252	  log messages.
253	- Fix #107: nsd -v shows configure line, openssl version and libevent version.
254	- Fix #103 with #110: min-expire-time option.  To provide a lower
255	  bound for expire period.  Expressed in number of seconds or
256	  refresh+retry+1.
257BUG FIXES:
258	- Fix for posix shell syntax for trap in nsd-control-setup
259	- Fix to omit the listen-on lines from log at startup, unless verbose.
260	- Fix uninitialised values for bindtodevice option at startup with
261	  reuseport and multiple interfaces.
262	- Fix #95: Removed make test check because tpkg not included in
263	  release tarballs.
264	- Fix unused parameter compile warnings.
265	- Fix #97: EDNS unknown version: query not in response.
266	- Fix #99: Fix copying of socket properties with reuseport enabled.
267	- Document default value for tcp-timeout.
268	- Merge PR#102 from and0x000: add missing default in documentation
269	  for drop-updates.
270	- Fix unlink of pidfile warning if not possible due to permissions,
271	  nsd can display the message at high verbosity levels.
272	- Removed contrib/nsd.service, example is too complicated and not
273	  useful.
274	- Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD.
275	- Merge #108 from Nomis: Make the max-retry-time description clearer.
276	- Retry when udp send buffer is full to wait until buffer space is
277	  available.
278	- Remove errno reset behaviour from sendmmsg and recvmmsg
279	  replacement functions.
280	- Fix unit test for different nsd-control-setup -h exit code.
281	- Merge #112 from jaredmauch: log old and new serials when NSD
282	  rejects an IXFR due to an old serial number.
283	- Fix #106: Adhere better to xfrd bounds.  Refresh and retry times.
284	- Fix #105: Clearing hash_tree means just emptying the tree.
285
286
2874.3.1
288================
289BUG FIXES:
290	- Fix #70: error: 'fd_set' undeclared.
291	- Fix #71: error: 'for' loop initial declaration used outside C99
292	  mode.
293	- Fix to move declarations out of for loops in event test too.
294	- Fix #76: cpuid typedef for Hurd, DragonflyBSD compile.
295	- Fix #75: configure test for sched_setaffinity, and use
296	  cpuset_setaffinity otherwise.  Also test for presence of sysconf.
297	- Fix #74: GNU Hurd fix cast from pointer to integer of different size.
298	- Fix for #74, #75: cpuset test for header contents and provide code.
299	- Fix #78: Fix SO_SETFIB error on FreeBSD.
300	- Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile.
301	- Fix #80: NetBSD and implicit declaration of reallocarray.
302	- Fix unknown u_long in util.c for Issue #80 .
303	- Merge PR #86 from noloader: Use precious variables for GREP, EGREP,
304	  SED, AWK, LEX and YACC.
305	- For PR #86: Fix that programs loaded after CFLAGS and stuff is
306	  set, specifically the compiler, so that it can work if it needs
307	  special flags from that.  Fix that lex only needs to support -i
308	  if actually defined, otherwise the output included in the source
309	  tarball can be used.
310	- Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC.
311	- Merge PR #92 by tonysgi: Fix typo.
312	- Merge PR #91 by gearnode: nsd-control-setup recreate certificates.
313	  The '-r' option recreates certificates.  Without it it creates them
314	  if they do not exist, and does not modify them otherwise.
315
316
3174.3.0
318================
319FEATURES:
320	- Fix to use getrandom() for randomness, if available.
321	- Fix #56: Drop sparse TSIG signing support in NSD.
322	  Sign every axfr packet with TSIG, according to the latest
323	  draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1.
324	- Merge pull request #59 from buddyns: add FreeBSD support
325	  for conf key ip-transparent.
326	- Add feature to pin server processes to specific cpus.
327	- Add feature to pin IP addresses to selected server processes.
328	- Set process title to identify individual processes.
329	- Merge PR#22: minimise-any: prefer polular and not large RRset,
330	  from Daisuke Higashi.
331	- Add support for SO_BINDTODEVICE on Linux.
332	- Add support for SO_SETFIB on FreeBSD.
333	- Add feature to drop queries with opcode UPDATE.
334BUG FIXES:
335	- Fix fname null check of fname in namedb_read_zonefile.
336	- Fix implicit cast of size in udb_radnode_array_grow.
337	- Fix ignore of return value of ssl_printf in remote.c.
338	- Fix unused check of fd in parent_handle_reload_command.
339	- Attempt to fix signedness of nscount lookup in ixfr query_process.
340	- Fix identical branches for ssl_print of errors in remote.c.
341	- Fix type cast bounds, signedness of opt_rdlen in edns_parse_record.
342	- Fix to separate header and data lines in parse_zone_list_file.
343	- Fix to define max number of EDNS records we are willing to
344	  spend time on.
345	- Fix size of string len and capacity type cast in udbradtree.
346	- Fix to protect rrcount in tsig_find_rr from overflow.
347	- Annotate radix_find_prefix_node not reachable trail code.
348	- Fix to protect rrcount in packet_find_notify_serial from overflow.
349	- Fix to close socket on error in create_tcp_accept_sock.
350	- Fix to log on failure to chmod for socket for remote control.
351	- Fix to remove unneeded if in open of socket for remote control.
352	- Fix to restore input parameter on call failure in create_dirs.
353	- Please checker by terminating and initialising string read
354	  by remote control.
355	- Fix to define upper bounds on rr counts read from untrusted packet
356	  data.
357	- Separate acl_addr_match_range functions for ip4 and ip6, to
358	  please checkers.
359	- Avoid unused variable warning in new match_range_v4 function.
360	- Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters.
361	- use-systemd is ignored in nsd.conf, when NSD is compiled with
362	  libsystemd it always signals readiness, if possible.
363	- Note that use-systemd is not necessary and ignored in man page.
364	- Fix unreachable code in ssl set options code.
365	- Fix bad shift in assertion code analyzer complaint.
366	- Fix responses for IXFR so that the authority section is not echoed
367	  in the response.
368	- Merge PR#60: Minor portability fixes from michaelforney, with
369	  avoid pointer arithmetic on void* and avoid unnecessary VLA.
370	- Fix that the retry wait does not exceed one day for zone transfers.
371CHANGES:
372	- Set FD_CLOEXEC on opened sockets.
373
374
3754.2.4
376================
377FEATURES:
378	- Fix #48: Add make distclean that removes config.h made by configure.
379	  And add maintainer-clean that removes bison and flex output.
380BUG FIXES:
381	- Detect fixed time memcmp for openssl 0.9.8 compatibility.
382	- Detect EC_KEY_new_by_curve_name for openssl 0.9.8.
383	- include limits.h for UINT_MAX.
384	- If no recvmmsg, dont use msg_flags member, but errno for error,
385	  where our fallback function left it, msg_flags also does not exist
386	  on some systems.
387	- Remove unused variable warning for portability.
388	- Fix #52: do not log transient network full errors unless higher
389	  verbosity is set.
390	- Fix regressions in configparser.y where global variables were not
391	  set for minimal-responses, round-robin and log-time-ascii.
392
393
3944.2.3
395================
396FEATURES:
397	- For #39: confine-to-zone configures NSD to not return out-of-zone
398	  additional information. Contributed by Greg Bock.
399	- For #21: pidfile "" allows to run NSD without a pidfile, for
400	  startup management tools like daemontools.
401	- For #21 add
402	  contrib/patch_for_s6_startup_and_other_service_supervisors.diff
403	  that adds support for readiness notification with READY_FD from
404	  Cameron Nemo.
405BUG FIXES:
406	- Fix #35: excessive logging of ixfr failures, it stops the log when
407	  fallback to axfr is possible. log is enabled at high verbosity.
408	- Fixup warnings during --disable-ipv6 compile.
409	- The nsd.conf includes are sorted ascending, for include statements
410	  with a '*' from glob.
411	- Fix #38: log address and failure reason with tls handshake errors,
412	  squelches (the same as unbound) some unless high verbosity is used.
413	- Fixup clang analysis warning in xfrd_parse_received_xfr_packet
414	  master dereference.
415CHANGES:
416	- Number of different UDP handlers has been reduced to one. recvmmsg
417	  and sendmmsg implementations are now used on all platforms.
418	  Compatible implementations are in place for systems that lack the
419	  system calls.
420	- Socket options are now set in designated functions for easy reuse.
421	- Socket setup has been simplified for easy reuse.
422	- Configuration parser is now aware of the context in which an option
423	  was specified.
424	- Fix #44: document that remote-control is a top-level nsd.conf
425	  attribute.
426
427
4284.2.2
429================
430BUG FIXES:
431	- Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the
432	  dname_concatenate() function.  Reported by Frederic Cambus.
433	  It causes the zone parser to crash on a malformed zone file,
434	  with assertions enabled, an assertion catches it.
435	- Fix #19: Out-of-bounds read caused by improper validation of
436	  array index.  Reported by Frederic Cambus.  The zone parser
437	  fails on type SIG because of mismatched definition with RRSIG.
438	- PR #23: Fix typo in nsd.conf man-page.
439	- Fix that NSD warns for wrong length of the hash in SSHFP records.
440	- Fix #25: NSD doesn't refresh zones after extended downtime,
441	  it refreshes the old zones.
442	- Set no renegotiation on the SSL context to stop client
443	  session renegotiation.
444	- Fix #29: SSHFP check NULL pointer dereference.
445	- Fix #30: SSHFP check failure due to missing domain name.
446	- Fix to timeval_add in minievent for remaining second in microseconds.
447	- PR #31: nsd-control: Add missing stdio header.
448	- PR #32: tsig: Fix compilation without HAVE_SSL.
449	- Cleanup tls context on xfrd exit.
450	- Fix #33: Fix segfault in service of remaining streams on exit.
451	- Fix error message for out of zone data to have more information.
452
453
4544.2.1
455================
456FEATURES:
457	- Added num.tls and num.tls6 stat counters.
458	- PR #12: send-buffer-size, receive-buffer-size,
459	  tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek.
460	- Fix #14, tcp connections have 1/10 to be active and have to work
461	  every second, and then they get time to complete during a reload,
462	  this is a process that lingers with the old version during a version
463	  update.
464BUG FIXES:
465	- Fix #13: Stray dot at the end of some log entries, removes dot
466	  after updated serial number in log entry.
467	- Fix TLS cipher selection, the previous was redundant, prefers
468	  CHACHA20-POLY1305 over AESGCM and was not as readable as it
469	  could be.
470	- Consolidate server tls context create and remote control context
471	  create, with hardening for the remote control tls context too.
472	- Fix to init event structure for reassignment.
473	- Fix to init event not pointer, in reassignment.
474	- Fix #15: crash in SSL library, initialize variables for TCP access
475	  when TLS is configured.
476	- Fix tls handshake event callback function mistake, reported
477	  by Mykhailo Danylenko.
478	- Initialize event structures before event_set, to stop uninitialized
479	  values from setting event library lists and assertions, that would
480	  sometimes also show after event_del.
481	- Do not use symbol from libc, instead use own replacement, if not
482	  available, for accept4.
483	- Fix output of nsd-checkconf -h.
484
485
4864.2.0
487================
488FEATURES:
489	- Print IP address when bind socket fails with error.
490	- Fix #4249: The option hide-identity: yes stops NSD from responding
491	  with the hostname for chaos class queries.  Implements the RFC4892
492	  security considerations.
493	- Patch to add support for TCP Fast Open, from Sara
494	  Dickinson (Sinodun).
495	- Patch to add support for tls service on a specified tls port,
496	  from Sara Dickinson (Sinodun).
497	- Use travis for build check, initial unit test and clang analysis.
498	- TLS OCSP stapling support, enabled with tls-service-ocsp: filename,
499	  patch from Andreas Schulze.
500BUG FIXES:
501	- Fix to delete unused zparser.default_apex member.
502	- Fix that the TLS handshake routine sets the correct event to
503	  continue when done.
504	- Fix that TLS renegotiation calls the read and write routines again
505	  with the same parameters when the desired event has been satisfied.
506	- Fix that TCP Fastopen has better error message and supports OSX.
507	- Fix to avoid buffer alloc with global buffer in tls write handler.
508	- Fix to initialize event structure when accepting TCP connection.
509	- Disable TLS1.0, TLS1.1 and weak ciphers, enable
510	  CIPHER_SERVER_PREFERENCE, patch from Andreas Schulze.
511	- further setup ssl ctx after the keys are loaded, for ECDH.
512	- Fix #10: Fix memory leaks caused by duplicate rr and include
513	  instructions.
514	- Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD.
515
516
5174.1.27
518================
519FEATURES:
520	- Deny ANY with only one RR in response, by default.  Patch from
521	  Daisuke Higashi.  The deny-any statement in nsd.conf sets ANY
522	  queries over UDP to be further moved to TCP as well.
523	  Also no additional section processing for type ANY, reducing
524	  the response size.
525	- Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds
526	  nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig
527	  and del_tsig.  These changes are gone after reload, edit the
528	  config file (or a file included from it) to make changes that
529	  last after restart.
530BUG FIXES:
531	- Fix #4213: disable-ipv6 and dnstap compile error.
532	- Fix to reduce region_log_stats if condition, this removes a
533	  debug statement.
534        - Fix for FreeBSD port with dnstap enabled.
535	- Fix to remove unused code.
536	- Fix #6: nsd-control-setup: Change validity time to a shorter
537	  period (<2038).
538	- Fix unused definition in header remote.h.
539	- Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big.
540	- Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets.
541	- Fixed radtree_insert memory leak.
542	- Fixed access recycled variable.
543
544
5454.1.26
546================
547FEATURES:
548	- DNSTAP support for NSD, --enable-dnstap and then config in nsd.conf.
549	- Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes
550	  option in nsd.conf.
551	- Added nsd-control changezone.  nsd-control changezone name pattern
552	  allows the change of a zone pattern option without downtime for
553	  the zone, in one operation.
554BUG FIXES:
555	- Fix #4194: Zone file parser derailed by non-FQDN names in RHS of
556	  DNSSEC RRs.
557	- Fix #4202: nsd-control delzone incorrect exit code on error.
558	- Tab style fix to use tab for 8 spaces, from Xiaobo Liu.
559	- Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails.
560	  This sets the msg_hdr.msg_namelen correctly after receipt.
561	- Fix to not set GLOB_NOSORT so the nsd.conf include: files are
562	  sorted and in a predictable order.
563	- Fix #3433: document that reconfig does not change per-zone stats.
564
565
5664.1.25
567================
568FEATURES:
569	- nsd-control prints neater errors for file failures.
570BUG FIXES:
571	- Fix that nsec3 precompile deletion happens before the RRs of
572	  the zone are deleted.
573	- Fix printout of accepted remote control connection for unix sockets.
574	- Fix use_systemd typo/leftover in remote.c.
575	- Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu.
576	- append_trailing_slash has one implementation and is not repeated
577	  differently.
578	- Fix coding style in nsd.c
579	- Fix to combine the same error function into one, from Xiaobo Liu.
580	- Fix initialisation in remote.c.
581	- please clang analyzer and fix parse of IPSECKEY with bad gateway.
582	- Fix nsd-checkconf fail on bad zone name.
583	- Annotate exit functions with noreturn.
584	- Remove unused if clause during server service startup.
585	- Fix #4156: Fix systemd service manager state change notification
586	  When it is compiled, systemd readiness signalling is enabled.
587	  The option in nsd.conf is not used, it is ignored when read.
588
589
5904.1.24
591================
592FEATURES:
593	- #4102: control interface via local socket.
594	  configure it with control-interface: "/path/nsd.ctl"  The path
595	  has to start with a / to separate it from an IP address.
596	  The local socket does not use SSL, but unencrypted traffic, use
597	  file and containing directory permissions to restrict access.
598	- configure --enable-systemd (needs pkg-config and libsystemd) can
599	  be used to then use-systemd: yes in nsd.conf and have readiness
600	  signalling with systemd.
601	- RFC8162 support, for record type SMIMEA.
602BUG FIXES:
603	- Patch to fix openwrt for mac os build darwin detection in configure.
604	- Fix that first control-interface determines if TLS is used.  Warn
605	  when IP address interfaces are used without TLS.
606	- #4106: Fix that stats printed from nsd-control are recast from
607	  unsigned long to unsigned (remote.c).
608	- Fix that type CAA (and URI) in the zone file can contain
609	  dots when not in quotes.
610	- #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM
611	  chain, NSD leniently attempts to find a working NSEC3PARAM.
612
613
6144.1.23
615================
616BUG FIXES:
617	- Fix NSD time sensitive TSIG compare vulnerability.
618
619
6204.1.22
621================
622FEATURES:
623	- refuse-any sends truncation (+TC) in reply to ANY queries over UDP,
624	  and allows TCP queries like normal.
625	- Use accept4 to speed up answer of TCP queries, on Linux, FreeBSD
626	  and OpenBSD.
627BUG FIXES:
628	- Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones.
629	- Fix to use same condition for nsec3 hash allocation and free.
630
631
6324.1.21
633================
634FEATURES:
635	- --enable-memclean cleans up memory for use with memory checkers,
636	  eg. valgrind.
637	- refuse-any nsd.conf option that refuses queries of type ANY.
638	- lower memory usage for tcp connections, so tcp-count can be higher.
639BUG FIXES:
640	- Fix unused variable warnings and uninit variable in statistics
641	  printout from clang analyzer.
642	- Fix spelling error in xfr-inspect.
643	- Fix #3562: explain build error when flex missing.
644	- Fix buffer size warnings from compiler on filename lengths.
645	- Fix #4093: Release notes not using 2018.
646
647
6484.1.20
649================
650BUG FIXES:
651	- Fix memory leak in zone file read of unknown rr formatted RRs.
652	- Fix memory leak when rehashing nsec3 after axfr or zonefile read,
653	  in the selectively allocated precompiled nsec3 hashes.
654
655
6564.1.19
657================
658BUG FIXES:
659	- ignore fallthrough compiler warning in flex EOF rule.
660	- Fix warnings emitted by clang for --enable-packed.  Alignment is not
661	  a problem for x86_64, don't enable packed when the platform
662	  requires aligned access.
663	- Fix spelling error in xfr-inspect.
664	- Fix 3392: Fix regression in 4.1.18 for notify lists with ip4
665	  and ip6 targets.
666	- Add test for support of -Wno-address-of-packed-member for
667	  --enable-packed.
668
669
6704.1.18
671================
672FEATURES:
673	- xfr-inspect, it is not installed, it prints xfr files from /tmp
674	  made with 'make xfr-inspect' in the source dir.
675	- retry timeout between sending notifies dropped from 15 to 3 sec.
676	- NSD sends 16 notifies simultaneously.
677	- configure --enable-packed reduces memory usage, at expense of
678	  unaligned reads.  Saves about 17%.
679	- Save memory by selectively allocate precompiled nsec3 hashes,
680	  saves about 16% memory.
681	- make ip-transparent option work on OpenBSD.
682	- Save about 2% memory by changing usage count size in name tree.
683	- Fix #2871: Increase number of sockets for xfrd transfers.
684BUG FIXES:
685	- Fix gcc 7.1.1 warnings.
686	- Fix writev compile warning on FreeBSD.
687	- Fix #1446: A corrupted zone file "propagates" to good ones.
688	- nsd-control zonestatus prints wait time between attempts, for zones
689	  that are in that waiting time.
690	- Fix collision printout of nsec3 to print name, hash and reverse.
691	- Fix #1567: Change crit to err log level for gettimeofday failure.
692	  Add defines for compile without syslog.
693	- Fix crash for DS query when parent and child zones both configured
694	  in nsd.conf and parent zone has not loaded properly.
695
696
6974.1.17
698================
699FEATURES:
700	- zone parser parses type AVC (it has TXT format).
701	- Fix #1272: use writev to put tcp length field with data for outgoing
702	  zone transfer requests.
703BUG FIXES:
704	- Fix potential null pointer in nsec3 adjustment tree.
705	- Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
706	  empty base64 or hex string.
707
708
7094.1.16
710================
711FEATURES:
712	- zone parser can parse acronyms for algorithms ED25519 and ED448.
713	- Fix 1243: Option to make NSD emit really minimal responses,
714	  minimal-responses: yes in nsd.conf.
715BUG FIXES:
716	- Calculate new udb index after growing the array, fix from
717	  Chaofeng Liu.
718	- Fix missing _t to _type conversion for disable-radix-tree option.
719	- Printout serial error with hint it may be too big.
720	- Fix 1228: OpenSSL include is not guarded with HAVE_SSL
721	- Patch for expire state in multi-master when masters includes
722	  broken master, from Manabu Sonoda.
723	- minor manpage fix.
724
725
7264.1.15
727================
728BUG FIXES:
729	- Fix nsd-control and ipv6 only.
730	- Squelch zone transfer error address family not supported by protocol
731	  at low verbosity levels.
732	- Fix #1195: Fix so that NSD fails on non-compliant values for Serial.
733	- Fix to rename _t typedefs because POSIX reserves them.
734	- Fix that nsec3 hash collisions only reported on verbosity level 3.
735
736
7374.1.14
738================
739FEATURES:
740	- Fix #1132 for SERVFAIL zones perform backoff, and remembers the
741	  timeout on next startup.
742BUG FIXES:
743	- Fix null memcpy for radixtree with single link element.
744	- Robust fix against missing master in tcp_open for xfrd.
745	- Fix wildcards in include: config statements with chroot enabled.
746	- suppress compile warning in lex files.
747	- Fix to try every master once, then wait for timeout or notify.
748	- Save backoff timeout into xfrd.state file, this file has a higher
749	  version number now.  Old files are skipped silently (causes
750	  refresh) and created as new files upon exit.
751	- Fix restart of zone transfers when new config becomes available.
752
753
7544.1.13
755================
756FEATURES:
757	- multi-master-check: yes can be used to check all masters for the
758	  last version, using the higher version from the configured masters,
759	  from Manabu Sonoda.
760	- Support RR type OPENPGPKEY from RFC 7929.
761	- Can config key algorithms with the digest name, eg. 'sha256'.
762	- configure --disable-radix-tree for about 15% lower memory usage.
763	- for type SRV add A/AAAA to the additional section (if possible),
764	  just like we already do for type MX.
765	- more extensible edns option handling.
766BUG FIXES:
767	- Fix compile warnings about unused result from write and strtol.
768	  and signcompare in minmax retrytime.
769	- Fix #812: fix that make depend fails after distribution.
770	- Fix #817: xfrd update failed loop.
771	- Add robustness against unallocated data in nsec3 trees.
772	- Fix README spelling error of BSD license (reported by Joerg Jung).
773	- Fix multimaster for not tried full zone transfer for a expired zone.
774	- Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
775
776
7774.1.12
778================
779BUG FIXES:
780	- Fix malformed edns query assertion failure, reported by
781	  Michal Kepien (NASK).
782
783
7844.1.11
785================
786FEATURES:
787	- When tcp is more than half full, use short timeout for tcp session.
788	- Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
789	- Fix #790: size-limit-xfr can stop NSD from downloading infinite zone
790	  transfer data size, from Toshifumi Sakaguchi.  Fixes CVE-2016-6173
791	  JVN#63359718 JPCERT#91251865.
792BUG FIXES:
793	- Fix build without IPv6, patch from Zdenek Kaspar.
794	- Fix #783: Trying to run a root server without having configured it
795	  silently gives wrong answers.
796	- Fix #782: Serve DS record but parent zone has no NS record.
797	- Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.
798
799
8004.1.10
801================
802FEATURES:
803	- ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option
804	  for Linux, binds to interfaces and addresses that are down.
805	- NSD includes AAAA before A for queries over IPV6 (in delegations).
806	  And TC is set if no glue can be provided with a delegation because
807	  of packet size.
808	- print notice that nsd is starting before taking off.
809BUG FIXES:
810	- Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl.
811	- Fix #751: NSD fails to occlude names below a DNAME.
812	- If set without nsd.db print "" as the default in the man pages.
813	- Fix #755: NSD spins after a zone update and a lot of TCP queries.
814	- Fix for NSEC3 with zone signed without exact match for empty
815	  nonterminals, the answer for that domain gets closest encloser.
816	- #772 Document that recvmmsg has IPv6 problems on some linux kernels.
817
818
8194.1.9
820================
821BUG FIXES:
822	- Change the nsd.db file version because of nanosecond precision fix.
823
824
8254.1.8
826================
827FEATURES:
828	- #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch
829	  from Daisuke Higashi.
830	- #739: zonefile changes when mtime is small are detected on reload,
831	  if filesystem supports precision mtime values.
832	- RR type CSYNC (RFC7477) syntax is supported.
833BUG FIXES:
834	- take advantage of arc4random_uniform if available, patch from
835	  Loganaden Velvindron.
836	- Fix flto check for OSX clang.
837	- Define _DEFAULT_SOURCE with _BSD_SOURCE for glibc 2.20 on Linux.
838	- Fix #736: segfault during zone transfer.
839	- Fix #744: Fix that NSD replies for configured but unloaded zone
840	  with SERVFAIL, not REFUSED.
841
842
8434.1.7
844================
845FEATURES:
846	- support configure --with-dbfile="" for nodb mode by default, where
847	  there is no binary database, but nsd reads and writes zonefiles.
848	- reuseport: no is the default, because the feature is not troublefree.
849	- configure --enable-ratelimit-default-is-off with --enable-ratelimit
850	  to set the default ratelimit to disabled but available in nsd.conf.
851	- version: "string" option to set chaos version query reply string.
852BUG FIXES:
853	- Fix zones updates from nsd parent event loop when there are a lot
854	  of interfaces.
855	- portability fixes.
856	- patch from Doug Hogan for SSL_OP_NO_SSLvx options, for the new
857	  defaults in the ssl libraries.
858	- updated contrib/nsd.spec, from Bálint Szigeti, with new configure
859	  options.
860	- Allocate less memory for TSIG digest.
861	- Fix #721: Fix wrong error code (FORMERR) returned for unknown
862	  opcode.  NOTIMP expected.
863	- Fix zonec ttl mismatch printout to include more information.
864	- Fix TCP responses when REUSEPORT is in use by turning it off.
865	- Document default in manpage for rrl-slip, ip4 and 6 prefixlength.
866	- Explain rrl-slip better in documentation.
867	- Document that ratelimit qps and slip are updated in reconfig.
868	- Fix up defaults in manpage.
869
870
8714.1.6
872================
873BUG FIXES:
874	- Fix #701: Fix that AD=1 set in a BADVERS response.
875	- Fix typo in zonec.c inside error message.
876	- Fix #711: Document that debug-mode yes is used for staying
877	  attached to the supervisor console.
878	- Document verbosity 3 prints more information.
879	- nsd-checkconf warns for master zones with no zonefile statement.
880	- Fix start failure when many file descriptors are in use.
881	- The servfail rcode is not printed with a space in the middle.
882	- print failed token for config syntax error or parse error.
883
884
8854.1.5
886================
887BUG FIXES:
888	- Fix #706: default port 53 not opened on ip4 because of getaddrinfo
889	  hints initialisation failure.
890
891
8924.1.4
893================
894FEATURES:
895	- RFC7553 RR Type URI support.
896	- removed hardcoded interface limit, --with-max-ips removed.
897	- SO_REUSEPORT support, by default on Linux, or with reuseport: yes.
898	- Admitted axfrs are logged at verbosity 1.  Refused at verbosity 2.
899	- --enable-pie and --enable-relro-now options for a safer executable.
900BUG FIXES:
901	- Fix NSID response for short edns sizes.
902	- Fix that for expired zones NSD performs an AXFR and accepts newer
903	  and older serial numbers.
904	- Document that minimal responses only minimizes responses to fit
905	  in one datagram.  It does not minimize smaller responses.
906	- Fix #618: documented need to list ip-addresses separately in
907	  nsd.conf if there are multiple, because the source address of
908	  replies can otherwise go wrong.
909	- Fix that notify from nsd-control contains soa serial.
910	- Fix #698 formatting errors and typos in nsd.8.in.
911
912
9134.1.3
914================
915FEATURES:
916	- nsd-control addzones and delzones read list of zones from stdin.
917	- hmac sha224, sha384 and sha512 support, patch from David Gwynne.
918	- max-interfaces raised to 32.
919BUG FIXES:
920	- Fix #665: when removing subdomain, nsd does not reparse parent zone.
921	- Fix task and zonestat files to be stored in a subdirectory in tmp
922	  to stop privilege elevation.
923	- Fix crash in zone parser for relative dname after error in origin.
924	- Fix that formerrors are ratelimited.
925
926
9274.1.2
928================
929FEATURES:
930	- Incoming notifies have serial number logged (at verbosity 1).
931BUG FIXES:
932	- Remove some duplicate header includes (from Brad Smith).
933	- Fix tcp waiting list for zone transfers where the bind and connect
934	  calls fail.
935	- Fix segfault in zone reader on invalid input. (thanks John Van de
936	  Meulebrouck Brendgard)
937	- Fix segfault on double origin in zone reader (thanks John Van de
938	  Meulebrouck Brendgard).
939	- Fix b64pton out of bounds error on invalid zonefile input.
940	  (thanks John Van de Meulebrouck Brendgard)
941	- Fix origin directive from unused old value and subdomain parser
942	  failure, reported by John Van de Meulebrouck Brendgard.
943	- Fix use after free after zonefile syntax error followed by ttl
944	  or origin directive, reported by John Van de Meulebrouck Brendgard.
945	- Fix syntax error followed by too many TXT elements parse crash
946	  reported by John Van de Meulebrouck Brendgard.
947	- Fix buffer overflow in config parse of domain name,
948	  reported by John Van de Meulebrouck Brendgard.
949	- Use reallocarray for integer overflow protection, patch submitted
950	  by Loganaden Velvindron.
951	- Fix allocation integer overflow checks.
952	- Fix #654: Fix contradiction in notify logging verbosity level.
953	- Fix #655: Fix contradiction in verbosity for zone transfers.
954	- Made log message more consistent, changed 'axfr refused' log message
955	  to be more consistent with other messages.  Also notify refused.
956	- verbosity 2 logs axfr refused and notify refused.
957	  verbosity 1 contains less log messages.
958
959
9604.1.1
961================
962FEATURES:
963	- RFC 7344: CDS and CDNSKEY (read record types).
964	- per zone statistics with --enable-zone-stats, config zone with
965	  zonestats: "name", zones configured with the same string are added.
966	- Disabled use of SSLv3 in nsd-control.
967	- nsd-checkconf -f prints out full name of pidfile (with dir).
968	- Synthesize CNAMEs with same TTL as DNAME.
969BUG FIXES:
970	- Fix that expired zones stay expired after a server restart.
971	- Fix "xfrd_handle_ipc: bad mode" log errors when compiled
972	  with --disable-bind8-stats.
973	- Fix #616: retry xfer for zones with no content after command.
974	- Fix char used as array index warnings on NetBSD.
975	- Fix that queries for noname CH TXT are REFUSED instead of nodata.
976	- Fixes for wildcard addition and deletion, speedup for some cases.
977	- Fix that failure to add tcp to tcp base does not leak the socket.
978	- Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE.
979	- Fix spinning NSD with lots of failing transfers, due to pointer
980	  comparison using void pointer subtraction (from Otto Moerbeek).
981	- Fix bug#637: fix that nsd.db grows limitlessly, an off by one
982	  on one megabyte free chunks, created during AXFRs of large zones,
983	  that caused the one megabyte chunk to be leaked.
984	- Fix casts for ctype functions (from Todd Miller).
985	- correct some hyphen-used-as-minus-sign (from Andreas Schulze) in
986	  man pages.
987	- Fix zonesdir chroot error message.
988
989
9904.1.0
991================
992FEATURES:
993	- database: "" starts without mmap of database.  Less memory is used,
994	  zones are read from text zonefile.
995	- optimised zonefile parse code and zonefile write code.
996	- zonefiles-write option in nsd.conf, enabled when database is "".
997	  The server writes changed zonefiles to disk every hour.
998	- xfrdfile: "" disables xfrd.state.  If enabled, zones that are
999	  same as before are not checked for a serial update at server start.
1000	- include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
1001	- nsd shuts down during init process if given signal.
1002	- log-time-ascii option, default yes, with readable timestamp in log.
1003	- nsd-control addzone reports if zone already exists.
1004	- Fix #564: add nsd-checkzone tool to check zonefile correctness.
1005	- Increased default --with-max-ips from 8 to 16, this increases the
1006	  number of interfaces you can specify in nsd.conf to listen to.
1007BUG FIXES:
1008	- Fixed shutdown message sporadically not printed on exit
1009	  (Thanks Anand Buddhdev).
1010	- Documented zonefile %s syntax in nsd.conf man page.
1011	- Fix manpage to put colon after zonefiles check and write.
1012	- Change from 'Zone" to "zone" with ".. serial .. is updated" log
1013	  message.
1014	- Changed maxbackoff for no-content secondary zones from 4h to 24h.
1015	- Fix print filename of encompassing config file on read failure.
1016	- Fix delete or rename of a lot of zones and make it take a
1017	  non-enormous time.
1018	- Speed up deletion of zone contents a lot, (56s to 1s), speeds up
1019	  delete, rename and AXFR for zones.
1020	- Fix #571: unused variable and incompatible pointer warnings when
1021	  compiled on a system without INET6.
1022	- Fix write_socket return value check in server.c (Thanks Brad Smith,
1023	  Mark Kettenis).
1024	- Fix that xfrd reaps children also if the signal is lost.
1025	- Fix #577: makefile incorrectly installed manpages from srcdir.
1026	- Fix #587: Default value for statistics is 0.
1027	- Fix #553: Improve TXT parsing.
1028	- Fix #590: rrl log does not print wildcard as a star but escaped.
1029	- Fix #591: rrl log messages at verbosity level 1.
1030	- fix strptime implicit declaration error on OpenBSD.
1031	- Fix -O3 compile flag to -O2 to avoid miscompilations.
1032	- Allow user to override the -g -O2 CFLAGS in ./configure.
1033	- Fix endian.h include for OpenBSD.
1034	- Fix #600: document that provide-xfr provides AXFR and not IXFR.
1035	- Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
1036	  that keep track of all past process parents, or leak memory
1037	  for them.  Fix makes it so there is no very deep string of
1038	  process parents.
1039	- Remove .LP after .SH in man pages.
1040
1041
10424.0.3
1043================
1044BUG FIXES:
1045	- Fix nsd.db unclean close check.  Previous databases are considered
1046	  unclean by the code and are created anew.
1047	- Adds nsd.db larger than 400Tb check for sanity. Also test if
1048	  filesize as documented in the file is correct.
1049	- nsd waits for tasks to complete on stop, prevents nsd.db corruption.
1050	- fix to not delete tmpdir too early in shutdown process.
1051	- disabled udb checking functionality that made it very slow,
1052	  this was enabled when enable-checking was turned on.
1053
1054
10554.0.2
1056================
1057FEATURES:
1058	- Return REFUSED for queries to non-hosted zones.
1059
1060BUG FIXES:
1061	- Fix expired zones to give SERVFAIL, also when parent zone loaded.
1062	- documented nsd-control zonestatus output in nsd-control manpage.
1063	- remove mention of nsdc from nsd-checkconf manpage.
1064	- Disabled recvmmsg and sendmmsg usage by default because kernel
1065	  versions have implementation issues: ipv6 ignored, security issues.
1066	- Detect libevent2 install automatically by configure, and use
1067	  event2 header files if necessary.
1068	- Fix #551: change Regent to Copyright holder in the LICENSE,
1069	  to match the definition on opensource.org for the BSD License.
1070	- Fix #552: zonefile loads on nsd-control reconfig when the name
1071	  of the file has changed.
1072	- Fix leak of zone name after zonefile read and fix malloc too
1073	  large that would be leaked in the radix tree.
1074	- Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only
1075	  check serial).
1076	- Fix that NSD will delete and recreate not-clean-closed databases.
1077
1078
10794.0.1
1080================
1081FEATURES:
1082	- recognizes ip-address and interface as synonyms for convenience.
1083	- Support for EUI48 and EUI64 RR types enabled by default (RFC 7043).
1084	- Support for CAA RRtype (RFC 6844).
1085	- NSID can be set with "ascii_somestring" in ascii.
1086
1087BUG FIXES:
1088	- Fix xfrd when zone transfer TCP contains zero length packets.
1089	- Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
1090	  because AXFRs overwrote nsec3 administration in the child zone.
1091   	- Fix that bad IXFR updates do not result in double SOA records,
1092	  and that an AXFR is started (attempted) when the zone state seems
1093	  to be inconsistent with the master's zone state.
1094	- Log ip address for sendto and sendmmsg failures.
1095	- Fix segfaults after read of zones with rr type WKS from zonefile.
1096	- Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
1097	- Bugfix #534: IXFR query loop over UDP for zones that are unchanged.
1098	- (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
1099	- (same as in 3.2.16): Bugfix #542: Match RRSIG TTL with SOA TTL in
1100	  negative response.
1101	- Check if configure in srcdir collides with outofdir build.
1102	- Fix #546:  output format errors in nsd_munin_ (Thanks Tom Hendrikx).
1103	- Fix printout of high-chars in TXT on NetBSD.
1104
11054.0.0	NSD 4.0
1106===============
1107FEATURES:
1108	- documented in doc/NSD-4-features. Change configuration without
1109	  restart, direct nameserver control with nsd-control, support a
1110	  higher number of zones. Higher performance (compared to NSD3).
1111	- nsdc is gone. Use kill -HUP for reload (also checks if zonefiles
1112	  have changed and rereads them), and kill -TERM for quit. Or use
1113	  nsd-control for detailed control.
1114	- cron job for nsdcpatch is gone. nsd-control write creates zonefiles.
1115	- nsd.db has a new format that compacts itself when it is changed,
1116	  thus nsdc patch is no longer necessary.
1117	- nsd.db is memory mapped, NSD needs (part of) that mmap in ram.
1118	- tcp-count can go above 1000; epoll/kqueue support with libevent.
1119	- nsd-control reconfig for updates with no restart (zones, keys, ..)
1120	- nsd-control-setup to create keys for nsd-control (enable nsd-control
1121	  with remote-control: yes in nsd.conf).
1122	- the NSD 3 feature of special zone stats are not ported to 4 yet,
1123	  as it would entail a complete reimplementation of the feature.
1124FEATURES (incremental from BETA5):
1125	- configure --disable-recvmmsg for compat with older Linux kernels,
1126	  by default it autodetects support in the kernel on the buildmachine.
1127	- Fix time at 2038, uint32s changed to time_t, support 64bit time_t.
1128	- Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch.
1129BUG FIXES (incremental from BETA5):
1130	- Bugfix #518 Incorrect RRL prefix length option names in nsd.conf
1131	  man page from Ville Mattila.
1132	- Fix that xfrd, and nsd-control, does not stop responding when reload
1133	  errors out. The pid is sent like it should by server_main.
1134	- Fix that EOF in quoted string error does not cause reload to exit.
1135	- Fixup errors from the stack code checker.
1136	- Removed use of random when arc4random is available. Thus, random
1137	  and srandom are then not linked with the executable.
1138	- Fix segfault with no logfile and chroot (Thanks Patrik Lundin).
1139
11404.0.0b5   BETA 5 release of NSD 4.0
1141==================================
1142FEATURES:
1143	- Optimizations for startup, qps and tcp speed, beta bug fixes and
1144	  merge with code changes with NSD 3.2.16.
1145	- nsd-mem tool (make nsd-mem) to estimate memory usage.
1146	- Same as NSD 3.2.16: --enable-draft-rrtypes(EUI48, EUI64), rr-slip,
1147	  rrl-ipv[46]-prefix-length, ip-transparent config options.
1148	- configure option --disable-flto.
1149	- improved RRL logging (query details that caused blockage).
1150	- nsd-control status prints out ratelimit if ratelimit is enabled.
1151	- nsd-control verbosity prints out verbosity level without argument.
1152	- Fix #491: pick program name (of executable) as syslog identity.
1153	- printout percentage for long activities (to log).  After about 5
1154	  seconds have passed.
1155BUG FIXES:
1156	- The same fixes up to NSD 3.2.16.
1157	- Fix that old zonefile does not override newer AXFR for slave zones.
1158	- Nicer printout of notify.
1159	- Fix tcp zonetransfer pipeline lookup function.
1160	- Fix compile on bigendian netbsd alpha.
1161	- Fixup the growth and shrinkage of nsd.db.  This should use less
1162	  calls to remap and change the file and mmap size.
1163	- notify information is logged at correct verbosity level, 1.
1164	- Fix memory statistics in nsd_munin_.
1165	- faster nsec3 updates.
1166	- Fixup contrib/bug390.patch for 4.0.0b4.
1167	- remove leak of nsec3.
1168	- allocate radixtree in region for small (5%) total savings and
1169	  about 15% savings in the radixtree itself (due to many small alloc
1170	  savings in region).
1171	- Patch from Lukas Wunner that makes nsd.conf include files work
1172	  inside chroot/etc environments on repattern and reconfig.
1173	- Fix race on exit of nsd, for restarts, so that the pidfile-pid
1174	  process waits until port53 has been closed before exiting.
1175	- Patch from Lukas Wunner that makes chroot more consistent.
1176	  Make all paths absolute with the chrootdir in front, or use
1177	  an absolute zonesdir with other paths relative to that.
1178	- Fix segfault on repeated reconfigs, double free of zone apex name.
1179	- Fix zone parser allocations are put in the db region.
1180	- Fix memory leak in zone parser for txt record.
1181	- Optimizations: -O3 if possible (user can override CFLAGS), udp
1182	  buffers are set to 1m by default (if socket options exist),
1183	  use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom.
1184	- nsd.db 12% smaller, no nsec3 hash storage.  Also ups udb version
1185	  because of the format change.  The nsd.db is recreated when a
1186	  different version number is detected on startup.
1187	- Fix region-allocator for speedup of load and change of large data.
1188	- Increase tcpbacklog default to 256 (silently capped to 128 on BSD).
1189	  For remote control keep it at 16, it has less TCP load.
1190	  It does not actually increase TCP performance (some except), but
1191	  reduces connection loss when there is a spike in TCP connections.
1192	- unlink xfr file if transfer is stopped, timeouted or interrupted.
1193	  And unlink xfr file in progress when the zone is deleted.
1194
11954.0.0b4   BETA 4 release of NSD 4.0
1196==================================
1197BUG FIXES:
1198	- remove -fwhole-program gcc flag usage.  We cannot reliably detect
1199	  if it works without failure.
1200	- fix zonefiles-check: entry in nsd.conf
1201	- fix gcc warning, do not use uninit value for rng init.
1202	- remove printout of "bad transfer" to the log for notimpl.
1203	- printout log less verbosely, not every axfr packet.
1204	- RRL documented in nsd.conf.sample
1205	- Fix is_apex flag for zones read from udb.
1206	- Fix that nsec3 zones are precompiled when read from udb.  This
1207	  caused assertion failures.
1208	- Less printout of 'bad transfer'.
1209	- Fix AXFR of NSEC3 slave zone.
1210	- Fix that old zonefile does not override newer AXFR for slave zones.
1211	- Nicer printout of notify on verbosity 2.
1212
12134.0.0b3   BETA 3 release of NSD 4.0
1214==================================
1215BUG FIXES:
1216	- applied patch from Robin Hack to remove double pid file truncation.
1217	- repattern is called reconfig (because most config options are
1218	  picked up, except for superuser options (chroot, logfile, port))
1219	- document that the zonefile attribute can be empty.
1220	- documented that the _implicit_ pattern names are used internally.
1221	- Added zonefiles-check option, default yes, check mtimes of zone files
1222	  on sighup and startup (from Robin Hack).
1223	- Fix spurious assertion failure for some rrl blocks.
1224	- Tabs and spaces nicer in nsd.conf.sample.
1225	- List libevent in README.
1226	- Fix configure for gentoo gcc and headers.
1227	- do-ip4 and do-ip6 nsd.conf options just like unbound.
1228	- do not leave task files in /tmp if nsd fails to startup because
1229	  of file permissions.
1230	- create xfrdir on make install (does not remove on make uninstall,
1231	  because this could be /tmp).
1232	- Fix segv if xfrdir does not exit.
1233	- log ip address with tcp failure.
1234	- Fix time calculation of zone transfer.
1235
12364.0.0b2   BETA 2 release of NSD 4.0
1237==================================
1238FEATURES:
1239	- Add and remove zones from nsd.conf with nsd-control repattern.
1240	- Merge changes from 3.2.15 (such as xname-rcode fix).
1241
1242BUG FIXES:
1243	- Fix for use with libev.
1244	- 'nsd-control start' runs an absolute path to start sbin/nsd.
1245	- Fix for use with libevent-2.1.2.
1246	- --with-logfile sets the logfile inside the example documentation.
1247	- Fixed addzone and delzone inside chroot (thanks Will Pressly).
1248	- Fix make outside of source directory.
1249
12504.0.0b1   BETA 1 release of NSD 4.0
1251==================================
1252FEATURES:
1253	- add and remove zones without restart.
1254	- nsdc is gone, use nsd-control for direct server control.
1255	- performance increases
1256	- support lots of zones
1257	- and more ...
1258	- longer desc in doc/NSD-4-features
1259
1260BUG FIXES:
1261	- core code is fixed like 3.2.15r3763 (12 dec 2012).
1262
1263
12643.2.16 (development branch)
1265=================================
1266
1267FEATURES:
1268	- New config option "ip-transparent:" to allow NSD to bind to
1269	  non local addresses. Default no.
1270	- Use IPV6 minimum MTU settings with TCP to reduce failures that
1271	  are caused by delays in learning working PMTU when communicating
1272	  through a tunnel.
1273	- Bugfix #496: Support for EUI48 and EUI64 RR types. Experimental,
1274	  turned off by default. Enable with --enable-draft-rrtypes.
1275	- New config option "rrl-slip:" to set the average number of
1276	  packets discarded before we send back a truncated response.
1277	- New config option "rrl-ipv4-prefix-length:" and
1278	  "rrl-ipv6-prefix-length:" to set the prefix lengths.
1279	- Improved RRL logging, also print triggering query src address and
1280	  QTYPE.
1281	- Provide RRL documentation in nsd.conf.sample.
1282
1283BUG FIXES:
1284	- Bugfix #357: Parent process waits until children closed down
1285	  sockets, to prevent NSD failing to bind to sockets when restarting.
1286	- Bugfix #487: lookup3.c determine endianness for BSD systems.
1287	- Bugfix #491: pick program name (0th argument) as syslog identity.
1288	- Bugfix #494: Exit with return code 1 if socket code fails.
1289	- RRtypes ASFDB, RP, RT should not compress dnames.
1290	- Fix outgoing-interface: Don't fail if family is IPv6 but
1291	  only IPv4 outgoing-interface is set, or vice versa.
1292	- RRtypes ASFDB, RP, RT should not compress dnames.
1293	- Check that zone directory is within chroot directory.
1294	- Better XFR checking, fallback to AXFR (if allowed) if three
1295	  malformed XFR packets have been seen.
1296
1297
12983.2.15
1299=================================
1300
1301FEATURES:
1302	- Support for ILNP RR types: NID, L32, L64, LP (RFC6742).
1303	- RRL, --enable-ratelimit at configure time and config options.
1304	- TSIG initialization only fails when there is no digest found
1305	  at all.
1306
1307BUG FIXES:
1308	- Bugfix #478: Declaration after statement (for gcc 2.95).
1309	- Bugfix #483: Better error message in case of TSIG error.
1310	- Bugfix #485: TTL should not be greater than 2^31 - 1.
1311	- Fix RCODE when CNAME loop final answer does not exist, should
1312	  return NXDOMAIN as stated by RFC 6604.
1313	- Fix --disable-full-prehash bug, where after multiple incoming
1314	  IXFRs, NSEC3 can be removed unjustified.
1315
13163.2.14
1317================
1318
1319FEATURES:
1320	- TCP writev support.
1321
1322BUG FIXES:
1323	- Fix build on OpenBSD (thanks Oliver Peter).
1324	- Prioritize notify sender for requesting XFR (thanks Ilya Bakulin).
1325	- Fix crash in zonec if TXT string too long  (thanks Ilya Bakulin).
1326	- tzset before chroot for correct timezone (thanks Camiel Dobbelaar).
1327	- Fix --disable-full-prehash bug when nsdc patch happens while ixfr too,
1328	  it did not rehash the new database.
1329	- Bugfix #464: Conditionally define MAXHOSTNAMELEN.
1330
13313.2.13
1332================
1333
1334BUG FIXES:
1335	- Fix for nsd-patch segfault if zone has been removed from nsd.conf
1336	  (thanks Ilya Bakulin).
1337	- Bugfix #460: man page correction - identity.
1338	- Bugfix #461: NSD child segfaults when asked for out-of-zone data
1339	  with --enable-zone-stats. [VU#517036 CVE-2012-2979]
1340
1341
13423.2.12
1343================
1344
1345BUG FIXES:
1346	- Fix for VU#624931 CVE-2012-2978: NSD denial of service
1347	  vulnerability from non-standard DNS packet from any host
1348	  on the internet.
1349	  http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt
1350
1351
13523.2.11
1353================
1354
1355FEATURES:
1356	- Fallback to AXFR if IXFR is unknown at the primary. NSD considers
1357	  IXFR unknown at the primary if there is a negative response for the
1358	  IXFR RRtype. This does not override the value for
1359	  'allow-axfr-fallback'.
1360	- Allow for reading in new DNSKEY algorithm mnemonics (RFC5155,
1361	  RFC5702, RFC5933, and RFC6605 (ECDSA)).
1362	- Zone statistics, enable with --enable-zone-stats. This stores the
1363	  BIND8 stats per zone in a configurable statistics file. This option
1364	  does not scale and should therefore not be enabled when serving
1365	  many zones.
1366	- Support for TLSA RRtype (DANE).
1367
1368BUG FIXES:
1369	- Fix for qtype ANY for a wildcard domain in NSEC signed zone: Don't
1370	  add the wildcard domain NSEC into the answer section. Instead,
1371	  put the wildcard expanded NSEC into the answer section and keep the
1372	  wildcard domain NSEC in the authority section.
1373	- Fix for accept spinning reported by OpenBSD.
1374	- Fix restart failed due to bad ixfr packet because of zone removed
1375	  from nsd.conf.
1376	- Bugfix #453: typo in nsdc man page.
1377
1378OPERATIONAL NOTES:
1379	- NSD uses the query name for dname compression again (Fix #235
1380	  had as side effect that this didn't happen anymore and is hereby
1381	  undone).
1382
1383
13843.2.10
1385================
1386
1387BUG FIXES:
1388	- Bugfix #421: Truncate pidfile on shutdown, before unlink.
1389	- Bugfix #423: Fix slow zone transfer processing due to
1390	  'Fix is_existing flag for ENT' bugfix.
1391	- Fix bug #430: segfault when MAX_INTERFACES set to more than 65K.
1392	- Fix configure.ac strptime check for gcc 4.6.2, acx_nlnetlabs update.
1393
1394
13953.2.9
1396================
1397
1398FEATURES:
1399	- Minimize responses to reduce truncation: NSD will only add optional
1400	  records to the authority and additional sections when the response
1401	  size does not exceed the minimal response size.
1402
1403	  The minimal response size is 512 (no-EDNS), 1480 (EDNS/IPv4),
1404	  1220 (EDNS/IPv6), or the advertized EDNS buffer size if that is
1405	  smaller than the EDNS default.
1406
1407	  The feature is enabled by default. You can disable it by configuring
1408	  NSD with --disable-minimal-responses.
1409
1410	- Less NSEC3 prehashing. This will make NSD handle zone transfers
1411	  faster, but will decrease the performance of NXDOMAIN and wildcard
1412	  NODATA responses. Full prehashing is enabled by default. If you want
1413	  less NSEC3 prehashing, configure NSD with --disable-full-prehash.
1414	  Thanks Secure64 for the patch.
1415
1416BUG FIXES:
1417	- Bugfix #302: nsd accepts XFR but refuses to re-read the slave zone.
1418	- Bugfix #365: set patch style and zonec verbose for nsdc.
1419	- First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC.
1420	- Bugfix #375: typos in nsd.conf.5.
1421	- Bugfix #381: Binary escaped and transfers.
1422	- Bugfix #397: Don't allow relative domain names as origin in $INCLUDE
1423	  directives.
1424	- Fix printout of IPSECKEY by nsd-patch.
1425	- Fix is_existing flag for ENT when domain that has a shared ENT
1426	  is deleted by IXFR. (ENT == Empty Non-Terminal)
1427	- Fix bug if the zonefile is changed for a secondary but stored
1428	  transfers are applied, and stop it from applying ixfr to empty zone.
1429	  The zone is flagged with error and AXFR-ed.
1430	- Fix to have no authority NS set processing for CNAMEs.
1431	- Fix nsd-checkconf to check tsig algorithms properly.
1432	- Set the AA bit on responses that have an authoritative CNAME.
1433	- Fix denial of existence response for empty non-terminal that looks
1434	  like a NSEC3-only domain (but has data below it).
1435
1436OPERATIONAL NOTES:
1437	- nsd.db version number increased because NSD 3.2.7 and earlier
1438	  zonec is not compatible due to the TXT strings change. Please
1439	  run nsdc rebuild before running NSD 3.2.9 and later versions.
1440
1441
14423.2.8
1443=============
1444
1445BUG FIXES:
1446	- Do setusercontext() before chroot(), otherwise login.conf etc. are
1447	  required inside chroot.
1448	- Bugfix #216: Fix leak of compressiontable when the domain table increases
1449	  in size.
1450	- Bugfix #348: Don't include header/library path if OpenSSL is in /usr
1451	- Bugfix #350: Refused notifies should log client ip.
1452	- Bugfix #352: Fix hard coded paths in man pages.
1453	- Bugfix #354: The realclean target deletes a bit too much.
1454	- Bugfix #357, make xfrd quit with many zones.
1455	- Bugfix #362: outgoing-interface and v4 vs. v6 leads to spurious
1456	  warning messages.
1457	- Bugfix #363: nsd-checkconf -v does not print outgoing-interface ok.
1458	- Bugfix: nsd-checkconf -o outgoing-interface omits NOKEY.
1459
1460OPERATIONAL NOTES:
1461	- Use 'make clean' to clean up files that make created.
1462	- Use 'make realclean' to also clean up files that were generated by
1463	  running ./configure.
1464	- Use 'make devclean' to also clean up autoconf, autoheader files.
1465
14663.2.7
1467=============
1468
1469BUG FIXES:
1470	- Bugfix #253: Don't put NS RRs in a response with QTYPE=DS.
1471	- Bugfix #320: use arcrandom(4) for QID generation if available.
1472	- Bugfix #328: nsd-checkconf overrun.
1473	- Bugfix #343: nsdc update fix.
1474	- Bugfix #347: Wrong NSEC3 returned for nodata response QTYPE=DS no delegation.
1475	- Bugfix: Allow for huge amount of strings in TXT (and other) records.
1476	- Bugfix: nsdc can now deal with tsig algorithms other than hmac-md5.
1477	- Fixed several parts in the documentation, including #306, #345.
1478
14793.2.6
1480=============
1481
1482BUG FIXES:
1483	- Bugfix #314: correctly print NSEC next field, escape spaces and
1484	  fix label overflows.
1485
1486FEATURES:
1487	- Expand command line option '-a' and config option 'ip-address:'
1488	  with port number.
1489
1490OPERATIONAL NOTES:
1491	- Configure options --disable-dnssec, --disable-nsid, --disable-tsig
1492	  are removed.
1493	- Configure option --max-interfaces is renamed to --max-ips.
1494
14953.2.5
1496=============
1497BUG FIXES:
1498	- NSD will not start if chroot is configured, but changing root is
1499	  not possible (it used to ignore the badly configured chroot).
1500	- Make use of the more secure strl* functions.
1501	- Bugfix #303: spelling error.
1502
1503FEATURES:
1504	- New option 'nsid:', to specify the NSID (Bugfix #298).
1505	- The default chroot can be set with --with-chroot=<dir>.
1506	  If not set, by default chroot will not be used (thanks Jakob Schlyter).
1507	- Optimized zonec and b64_pton compatibility code (thanks Martin Svec).
1508	- Optimized memory allocations. Use mmap/munmap instead of malloc/free.
1509		Experimental, by default off. Enable it at build time with
1510		--enable-mmap (thanks Martin Svec).
1511
1512OPERATIONAL NOTES:
1513	- NSID support is now enabled by default.
1514
15153.2.4
1516=============
1517BUG FIXES:
1518	- Bugfix #269: Additional C99 syntax.
1519	- Bugfix #276: Zonec prints debug data to stderr.
1520	- Bugfix #286: Document verbosity levels in nsd.conf manual page.
1521	- Bugfix #288: Ignore SIGHUP to child processes.
1522	- Fix typo in include file for setusercontext.
1523
1524FEATURES:
1525	- Support DLV records.
1526	- New option 'tcp-query-count:', to limit the maximum number of
1527		DNS queries on a single tcp connection.
1528	- New option 'tcp-timeout:', to override the default tcp timeout.
1529		The default can also be set at build time, --with-tcp-timeout=<number>.
1530	- New option 'notify-retry:', to configure how many times NSD should retry
1531		a NOTIFY message.
1532	- New options 'ipv4-edns-size:' and 'ipv6-edns-size:'. to set your preferred
1533		EDNS buffer size.
1534
1535OPERATIONAL NOTES:
1536	- UDP/IPv4 sockets have new options set that will disable the DF flag in IP
1537		packets.
1538
15393.2.3
1540=============
1541BUG FIXES:
1542	- Bugfix #236: Allow RRs before the SOA in a zonefile.
1543	- Bugfix #249: Remove the C99 code.
1544	- Bugfix #253: Don't put NS RRs in a response with QTYPE=DNSKEY.
1545	- Bugfix #263: Make TSIG algorithm comparison case insensitive.
1546	- Bugfix #266: Build failed on systems without strptime.
1547	- Bugfix: install hickup.
1548	- Fix to use 4096 EDNS limit for IPv6 on Linux.
1549
15503.2.2
1551=============
1552BUG FIXES:
1553	- Off-by-one buffer overflow fix while processing the QUESTION section.
1554	- Return BADVERS when NSD does not implement the VERSION level of the
1555	  request, instead of 0x1<FORMERR>.
1556	- Bugfix #234.
1557	- Bugfix #235.
1558	- Reset 'error occurred' after notifying an error occurred at the $TTL or
1559		$ORIGIN directive (Otherwise, the whole zone is skipped because the
1560		error is reset after reading the SOA).
1561	- Minor bugfixes.
1562
15633.2.1
1564=============
1565OPERATIONAL NOTES:
1566	- NSD will now fallback to AXFR, only if the master does not support IXFR.
1567	- You can adjust nsdc patch to skip textfile patching. This will
1568	  increase the patching process, but will not output to zonefiles
1569	  anymore. By default, this is off.
1570
1571BUG FIXES:
1572	- When configuring, don't do strptime test when cross-compiling.
1573	- Bug #230: Output non-error messages to stdout.
1574	- Better error message when ixfr.db old file format is read.
1575	- Bug #218: shared UDP query for all interfaces.
1576	- Bug #222: Remove bashism from nsdc script.
1577	- Nicer check for SHA-256 functionality.
1578	- Fixed some minor memory leaks that occurred on reload.
1579	- nsdc: check if a lockfile has not gone stale, when lock failed.
1580	- Bugfix strptime compatibility function
1581
1582FEATURES:
1583	- New configuration option 'allow-afxr-fallback', "yes" by default. If
1584		set to "no", NSD will never do AXFR fallback, even if the master
1585		does not support IXFR.
1586	- Allow file rotation on nsd.log.
1587	- The new nsd-patch options -s and -o allows you to skip writing
1588		zonefiles and store the output directly to a database file,
1589		respectively.
1590
15913.2.0
1592=============
1593OPERATIONAL NOTES:
1594	- Format of ixfr.db has changed. When you are planning an upgrade to the
1595	  new NSD release, make sure to process the old ixfr.db before starting
1596	  the new release (by running nsdc patch).
1597	- IXFR is transmitted over TCP by default instead of UDP. If you want to
1598	  continue the use of IXFR/UDP, please modify your zone configuration
1599	  file to:
1600		request-xfr: UDP 1.2.3.4 tsigkey
1601	  We strongly recommend to enable TSIG if you send IXFR over UDP.
1602	  When all masters fail to transmit IXFR/UDP, slave will fallback to
1603		IXFR/TCP and eventually AXFR/TCP.
1604	- nsd-patch prints errors to stderr instead of stdout.
1605
1606BUG FIXES:
1607	- Only normalize dnames in rdatas when rrtype is listed in RFC 4034,
1608	  section 6.2: Canonical RR Form, following
1609	  draft-ietf-dnsext-dnssec-bis-updates (affects RRSIG and NSEC records).
1610	- Typo in zonec manpage.
1611	- Bugfix in log_finalize.
1612	- Fix race condition between nsdc patch and server reload.
1613
1614FEATURES:
1615	- AXFR/TCP fallback in case of failing IXFR zone transfers.
1616	- RFC 4635: support for hmac-sha1 and hmac-sha256 TSIG algorithm
1617		identifiers, "Bugfix #130".
1618	- Configure the source ip-address for notifies (master) and zone
1619		requests (slave) in nsd.conf, "Bugfix #148".
1620	- nsd-notify and nsd-xfer allow you to configure the outgoing
1621		hostname and source port, in addition to the source address.
1622	- Additional debug and verbose log messages.
1623
16243.1.1
1625=============
1626BUG FIXES:
1627	- Try to avoid race conditions with NSD reloading and nsdc running,
1628		by writing pidfile before closing old parent process.
1629	- Fixed NSEC3 memory leak in the case NSEC3 is not needed.
1630	- Fixed some memory leaks that happened on error, mostly on
1631		zone transfer errors.
1632	- Bugfix #191: nsd-checkconf allowed only (max_interfaces-1) interfaces.
1633
1634FEATURES:
1635	- The number of maximum interfaces allowed is configurable with
1636		--with-max_interfaces=<number> (thanks John Lightsey).
1637
16383.1.0
1639=============
1640OPERATIONAL NOTES:
1641	- Default locations of nsd.db, ixfr.db & xfrd.state are changed to
1642          the /var/db/nsd directory.
1643
1644BUG FIXES:
1645	- Zone compiler gives more sane error messages when out of
1646	  diskspace and bug #172: when compiling single zone file.
1647	- Changed man pages format from mdoc to mansun, to support the Solaris OS.
1648	- Log tcp read error only when connection not reset by peer or when
1649	  verbosity level is high.
1650	- RRs are compared without checking the TTL value.
1651
1652FEATURES:
1653	- NSD is now NSEC3 enabled by default. You can disable it by configuring
1654		NSD with --disable-nsec3.
1655	- Added "hide-version" configuration setting. Enabling this feature
1656		stops NSD from answering to CHAOS class version requests.
1657	- Added bind2nsd 0.5.0 (http://bind2nsd.sourceforge.net) in contrib/.
1658	- Report source and zone for denied AXFR attempts.
1659
16603.0.8
1661=============
1662FEATURES:
1663	- Better logging for nsd-notify (show 'broken' zone)
1664	- Add configuration for chkconfig to control nsd service.
1665
1666BUG FIXES:
1667	- Fixed nsdc start when nsd already running: do not initialize server,
1668		since it is already running.
1669	- Fixup bug where data related files are looked up in the wrong
1670	  directory when chrooted with chrootdir ending with a slash.
1671	- Fixup bug where nsd would return FORMERR if received an edns
1672	  query with version set to zero and rdlen larger than zero.
1673	- Fixed strptime, so that zonec will also work on systems with broken
1674		strptime (like leopard :-))
1675	- Do not answer nsec3 wildcard information when DO bit is not set
1676	- Better logging when creating database failed.
1677	- Various spelling errors
1678
16793.0.7
1680=============
1681BUG FIXES:
1682	- Error handling for malformed IXFRs improved.
1683	- Fixed man pages, consistent syntax.
1684
16853.0.6
1686=============
1687FEATURES:
1688	- Report source and zone for denied AXFR attempts.
1689
1690BUG FIXES:
1691	- More elegant handling of malformed nsec3 records from a zone
1692	  transfer.
1693	- Fixup ignored return value in region-allocator.
1694        - Added bind2nsd 0.5.0 (http://bind2nsd.sourceforge.net) in contrib/.
1695
16963.0.5
1697=============
1698BUG FIXES:
1699	- Fixed problem with reload waiting very long. If the OS has a
1700	  raging herd problem, NSD could block in a UDP operation and
1701	  that process would stop reload from finishing. Made UDP sockets
1702	  nonblocking.
1703	- Made TCP listen sockets nonblocking. NSD could block in accept.
1704	- Handle the new CERT RDATA types defined in RFC 4398 (submitted by
1705	  Mans Nilsson).
1706	- Fixed a bug where zonec would choke on unknown CERT RDATA types.
1707	- Change nsd-notify retry timer from linear into exponential
1708	  backoff (submitted by Mans Nilsson).
1709	- Debug flag (-d) behavior changed. Nsd now also forks children when
1710	  run in debug mode.
1711	- Added verbosity mode (-V <level>) for extra operational logging.
1712	- zonesdir default is /etc/nsd.  This can be overridden in nsd.conf.
1713	- if clients drop the tcp connection this does not result in a logfile
1714	  entry, unless verbosity is set 2 or more.
1715
17163.0.4
1717=============
1718BUG FIXES:
1719	- zonec will print an error when other data is put next to a CNAME.
1720	- Fixup unaligned memory access that could occur when reading ixfr.db
1721	  with a partial transfer inside.
1722	- Fixup for the WKS RR type printout by nsd-patch and nsd-xfer.
1723	- Error message 'could not read database CRC' now only given on error.
1724	- ./configure --zonesdir=<directory for zone files> now works to
1725	  set a default value for the zonesdir: <dir> nsd.conf directive.
1726	  Set zonesdir: "" to disable the change of directory.
1727	- Bug: reload crashes with log message 'continuing with old database',
1728	  and after that no more zone updates. Manual fix is to kill -HUP,
1729	  but now fixed in software to try to reload again (and again).
1730	- Small speedup where xfrd could briefly be busy-waiting.
1731	- If master sends IXFR with glue that is already present in the zone
1732	  this is silently accepted. Printed in debug mode -L 2. To make
1733	  the log file smaller.
1734	- Exponential backoff for zones that never worked to max of 4 hours.
1735	  For expired zones the SOA retry values are used.
1736	- allow-notify acl entries 'NOKEY' match only queries without TSIG.
1737	- Answers to valid notifies contained wrong RR counts in the header.
1738	  The notifies were processed correctly, but now the acknowledgement
1739	  reply is in correct DNS format.
1740FEATURES:
1741	- Added contrib/nsd.zones2nsd.conf python script to convert NSD 2 to
1742	  NSD 3 config files, contributed by Stephane Bortzmeyer.
1743	- The nsdc control script will print 'nsd startup failed' if the nsd
1744	  executable does not start (due to bad permissions, bad config, ...).
1745
17463.0.3
1747=============
1748BUG FIXES:
1749	- Bug #152: NSD would not use the identity from nsd.conf, fixed.
1750	- Bug #153: When running with thousands of secondary zones, NSD would
1751	  run out of UDP sockets. Caused crash on FreeBSD, errors on Linux
1752	  ('out of file descriptors'), depending on ulimits. Fixed.
1753	- Fixed getaddrinfo error message to be more descriptive.
1754	- Fallback to ip4 if getaddrinfo fails for ip6.
1755	- Will no longer lose a notify message during reloads (IPC).
1756	- Will no longer lose transfer in progress when notified for that zone.
1757	- Nicer error when operator forgets to rebuild after deleting a zone.
1758
17593.0.2
1760=============
1761BUG FIXES:
1762	- Nice error from zonec on a wrong configuration zone name.
1763	- Nicer warning from zonec when starting secondary zone with
1764	  no zone file for the first time.
1765	- nsdc makes more portable use of 'which' (for SunOS5.9/bash2.05).
1766	- Bug #143: Improved handling of zonesdir: directive and relative
1767	  pidfile, database, diff file, xfrdfile paths in nsdc.sh and
1768	  nsd-patch. They would not find the files.
1769	- Bug #144: LOC RRtype default values for precision wrong. Fixed.
1770	- Bug #145: NSD failed to reload cases of simultaneous zone transfer.
1771	- Bug #146: NSD fails to write to xfrdfile when chrooted. Fixed.
1772		Also fix for difffile when chrooted.
1773	- Bug #147: NSD runs out of memory. Fixed, memory is reused.
1774	  Occurred when running NSD with very big zones and large updates.
1775	- nsd -L 1 logging is smaller, -L 2 contains all debug information.
1776	  (only available for debug compiles).
1777	- Bug #149: Fixed text for NOTAUTH error code. When notify is not
1778	  authorised REFUSED error code returned instead.
1779
17803.0.1
1781=============
1782BUG FIXES:
1783	- nsd-patch prints SOA record at start of zone files.
1784
17853.0.0
1786=============
1787FEATURES:
1788	- AXFR/IXFR zone transfer supported.
1789		- NSD requests but does not provide IXFR transfers.
1790		- NSD keeps track of SOA timeouts for secondary zones.
1791	- TSIG authentication supported.
1792		- For queries, for notifies, for zone transfers.
1793	- NOTIFY messages of zone updates, incoming and outgoing.
1794	- DNAME type is supported, including CNAME synthesis.
1795	- config file, nsd.conf(5), place to put TSIG keys, server settings,
1796	  and lists of ip-addresses/ranges for AXFR/IXFR and NOTIFY.
1797	- prepared for NSEC3 (--enable-nsec3), experimental code for testing
1798	  in workshops.
1799	- prepared for NSID (--enable-nsid), experimental code for testing in
1800	  workshops.
1801
1802OPERATIONAL NOTES:
1803	- config file needed, nsd.conf(5) supersedes nsd.zones and nsdc.conf.
1804	- AXFR transfers are denied by default. Allow in config file.
1805	- Zones only become secondary with "request-xfr:" items in config file.
1806	- NSD produces "ixfr.db" file with a journal of zone transfers.
1807	  Use nsdc patch to merge changes back to zone files and remake db.
1808	- NSD produces "xfrd.state" file with zone timeout information.
1809	  The file is text formatted.
1810	- NSD sends notifies automatically,
1811	  nsd-notify is deprecated and will be removed from the package.
1812	- NSD requests AXFR/IXFR and reloads the updates automatically,
1813	  nsd-xfer is deprecated and will be removed from the package.
1814	- Check your config file with nsd-checkconf.
1815
1816BUG FIXES:
1817	- contains all bug fixes from 2.3.5 and before.
1818	- The sighandler() bug is fixed more thoroughly,
1819	  by using pipes for interprocess communication.
1820	- CNAMEs are followed by the server to different zones and
1821	  information from that zone is returned. This saves a followup
1822	  query.
1823	- bug fixes (ported) 2.3.6.
1824		- nsd-notify will retry max 15 times 5 second retries.
1825		- Bug #105: nsdc lacks locking, fixed locking for root user.
1826		- Bug #134: nsd: make -N <large number> work again
1827		- Bug #135: Typo in locking code for nsdc, fixed.
1828		- uninitialised variable fixed.
1829		- unaligned memory access (on Solaris SPARC), in zonec
1830		  LOC parsing, fixed.
1831		- Bug #138: nsd aborts trying to bind all interfaces if ip6
1832		  is not enabled, instead it will fallback to ip4.
1833		- Bug #139: resync timer for stats to whole minute.
1834		- Bug #140: NSD did not clear CD bit on authoritative answers.
1835		- Bug #141: NSD did not clear flags on a formerror reply.
1836
18372.3.5
1838=============
1839BUG FIXES:
1840        - Bug #132: regression, nsd: fix compile with --disable-ipv6
1841        - Makefile: remove gnuisms
1842
18432.3.4
1844=============
1845BUG FIXES:
1846        - Unknown type codes for type code numbers > 48 and < 97 work again.
1847          (this implies --enable-checking can be enabled again)
1848        - nsd: sighandler() fixes
1849	- Bug #118: nsd: nsd_notify waits for a response. Will retry the notify
1850	  after a timeout.
1851        - Bug #124: $(DESTDIR) was added to Makefile.in.
1852	- Bug #128: zonec: parser can handle \\ at the end of a string.
1853        - zonec: lexer: add \r to the newline delimeter
1854        - zonec: use strtol with an explicit base 10 as parameter.
1855          (Scott Rose, Roy Arends)
1856        - nsd-xfer: print human readable error codes. Change logging to
1857          be more in line with the rest
1858
18592.3.3
1860=============
1861BUG FIXES:
1862        - Apply the correct patch to nsdc.sh.in.
1863
18642.3.2
1865=============
1866FEATURES:
1867        - Bug #101: add support for the SPF record.
1868
1869BUG FIXES:
1870        - Bug #100: replaced non-portable use of timegm(3) with
1871          portable implementation (mktime_from_utc).
1872        - Bug #103: nsd: trim the SOA's TTL to the MINIMUM value when returning a
1873          negative answer.
1874        - Bug #104: nsd: add a time_t timestamp to the log when logging to
1875          a file.
1876        - Bug #105: nsdc: use a lock file when rebuilding the database (patch by
1877          Jakob Schlyter/Ted Lindgreen/Sebastian/Ondrej Sury).
1878        - Bug #106: zonec: don't walk all 256 NSEC windows when that is not
1879          needed.
1880        - Bug #107: zonec: fixed a crash when encountering bad unknown rdata.
1881        - nsd: Don't print: "error: nsd is already running as <pid>, stopping"
1882          when in fact NSD continues to run.
1883        - nsd: Minimize the race window in sig_handler().
1884
18852.3.1
1886=============
1887BUG FIXES:
1888        - zonec: Don't crash when generating error messages outside of zone
1889          files.
1890        - nsd: when logging to a file the pid is now printed.
1891        - nsd: Reset 'boot' time in statistics when reloading the database,
1892          since the statistics are reset to 0 on a reload.
1893        - nsd-xfer.c: Added '-a' option to specify local address to connect
1894          from.  Original patch supplied by Walter Hop <nsd@walter.transip.nl>.
1895        - Bug #98: Allow mnemonics for DS and RRSIG algorithm field.
1896
18972.3.0
1898=============
1899FEATURES:
1900        - DNSSEC is now enabled by default. NSD should be fully
1901          compliant with RFC4033, RFC4034, and RFC4035.
1902
1903BUG FIXES:
1904        - nsd: Ensure that the number of -a flags does not exceed the
1905          maximum specified by MAX_INTERFACES in config.h.
1906        - nsd-xfer: Use serial number arithmetic (RFC1982) for the
1907          zone serial check
1908        - nsdc: Don't pass (fake) serial number to nsd-xfer if the
1909          zone file does not exist.
1910        - zonec: Loading many zones would cause namedb_find_zone to
1911          slow down, performance patch by Kazunori Fujiwara.
1912        - Bug #96: nsd-xfer did not handle 8-bit domain names
1913          correctly.
1914
19152.2.1
1916=============
1917FEATURES:
1918        - The message priority is now included when logging to a file.
1919
1920BUG FIXES:
1921        - Zero length RDATA using the unknown RR notation was not
1922          working (except for the APL RR type).
1923        - Bug #93: './configure' error message containing a comma must
1924          be properly bracketed.
1925        - Bug #94: nsd-xfer: Handle unexpected EOF when receiving AXFR
1926          data.  Timeout if no data is received for more than 120
1927          seconds (see the TCP_TIMEOUT parameter in config.h).
1928        - Bug #95: An owner starting with an asterisk label ("*") was
1929          being treated as its own wildcard child.
1930
19312.2.0
1932=============
1933FEATURES:
1934        - nsd-xfer: replacement program for named-xfer to perform zone
1935          transfers using AXFR. TSIG is supported by nsd-xfer but not
1936          yet by the nsd server. DNSSEC is also supported.  TSIG
1937          requires OpenSSL version 0.9.7 or higher, configure using
1938          --disable-tsig if you do not have OpenSSL installed.
1939          Configure using --with-ssl=path if OpenSSL is not installed
1940          at a standard location.
1941
1942CODE CHANGES:
1943        - New data structure 'buffer_type' for representing binary
1944          buffers that can be read, written, and resized.  Data in
1945          these buffers is stored in network byte order.  This data
1946          structure replaces the iobuf field of 'struct query'.
1947
1948BUG FIXES:
1949        - Fixed endian problem in WKS record.
1950        - Protocol can now be specified numerically in WKS record.
1951        - Allow escape sequences (\DDD) in TTL, RR class, and RR type.
1952        - The zone compiler now accepts many more characters in
1953          unquoted strings such as domain name labels.  The characters
1954          no longer need to be escaped with a backslash.
1955        - Close included files after reading.
1956        - Maximum TCP message size is now 65535 bytes.  AXFR response
1957          packets are still limited to 16383 bytes for optimal
1958          compression of dnames.
1959        - The TSIG key for AXFRs can now also be stored in the file
1960          <zonename>.tsiginfo.  This makes it possible to use TSIG
1961          with multiple master servers.
1962        - Signals are no longer blocked while performing I/O so the
1963          server should respond quicker to signals.
1964        - Fixed parsing of LOC rdata.  Fractions and altitude were not
1965          handled correctly.
1966
19672.1.5
1968=============
1969BUG FIXES:
1970        - Bug #90: handle \000 in TXT records correctly
1971        - Fixed undefined behavior in the use of vsnprintf when
1972          logging messages.  This caused crashes on Linux/PPC.
1973
19742.1.4
1975=============
1976BUG FIXES:
1977        - nsdc: Fixed a typo that caused AXFRs to stop working.
1978
19792.1.3
1980=============
1981FEATURES:
1982        - nsd: The pidfile can be specified using the '-P' option.
1983
1984BUG FIXES:
1985        - Bug #87: allow @ in the rdata
1986        - Bug #88: allow ::FFFF:ipv4addr in AAAA records
1987        - Bug #89: Count the number of queries received over TCP,
1988          instead of the number of TCP connections.
1989        - Zonec: when - is used as input, set the filename to 'STDIN'.
1990        - The nsdc script handles failed AXFRs more gracefully.
1991        - NSD emits an error when it sees bitlabels (RFC 2673).
1992        - Only copy the CD bit when DNSSEC is enabled.
1993
19942.1.2
1995=============
1996FEATURES:
1997        - NSD now fully supports unknown record types using the
1998          notation specified in RFC3597.
1999        - Support for the following RR types has been added: WKS, X25,
2000          ISDN, RT, NSAP, PX, NAPTR, KX, CERT, DNAME, and APL.  DNAME
2001          special processing is not supported.
2002
2003BUG FIXES:
2004        - Bug #84: NSD now uses SIGUSR1 instead of SIGILL to report stats.
2005        - Bug #85: Support for WKS records.
2006        - Bug #86: The characters "#%&^[]?" can now be used without
2007          backslash in zone file domain names.
2008        - Plugin callback return type fixed.
2009        - The maximum message length for IPv6 UDP packets is now
2010          limited to the IPv6 minimum MTU (1280) unless the
2011          IPV6_USE_MIN_MTU socket option is supported.
2012
20132.1.1
2014=============
2015BUG FIXES:
2016        - Bug #81: Handle unknown types correctly.
2017        - Bug #82: Zonec: don't report "0 errors" unless -v is
2018          specified.
2019        - Bug #83: Close zone files after parsing.
2020        - Handle AFSDB RR type.
2021
20222.1.0
2023=============
2024FEATURES:
2025        - New networking code allows a single server to handle both
2026          UDP and TCP connections.  By default up to 10 simultaneous
2027          TCP connections are supported.  Use the '-n' flag to change
2028          the default.
2029
20302.0.2
2031=============
2032BUG FIXES:
2033        - Allow the use of a mnemonic for the algorithm field of a
2034          DNSKEY record.
2035        - Behavior of the zonec -v flag has been modified.  By default
2036          zonec will only print a single line with a summary of the
2037          error count.
2038        - Bug #75: Fixed typo in previous "fix".
2039
20402.0.1
2041=============
2042BUG FIXES:
2043        - Queries for QTYPE DS (DNSSEC) were not handled correctly in
2044          certain cases.
2045        - Partial support for unknown RRs.  Known RR types with
2046          unknown RR data format is not yet supported.
2047        - Bug #75: Fixed bad error message when nsdc update is run for
2048          the first time.
2049        - Bug #78: Multiple zones, each with include directives, are
2050          now compiled correctly.
2051
20522.0.0
2053=============
2054FEATURES:
2055        - Experimental DNSSEC support implemented, but disabled by
2056          default.  Enable using the --enable-dnssec configuration
2057          option.
2058        - IPv6 enabled by default.  Disable using the --disable-ipv6
2059          configuration option.
2060
2061BUG FIXES:
2062        - Bug #47: Domain name is now logged when a notify is
2063          received.
2064        - Bug #70: First include all A records in the additional
2065          section, followed by AAAA records.
2066        - Bug #77: Check length of domain name and label.
2067        - LOC records are supported again.
2068
20691.4.0-alpha1
2070=============
2071FEATURES:
2072        - New database format that is much more compact and portable
2073          across architectures.
2074        - The new zone compiler is now the default and the old zone
2075          compiler has been removed.
2076        - Name compression is done dynamically, removing one other
2077          difference with BIND in the responses generated (the full
2078          query name is now used for compression).
2079        - CNAME target records are now generated from wildcard
2080          records if necessary.
2081
2082REGRESSIONS:
2083        - mmap(2) isn't currently supported.
2084        - Not all RR types are supported by zonec (such as LOC).
2085
20861.3.0-alpha1
2087=============
2088FEATURES:
2089        - New name lookup algorithm.  This required a change to the
2090          database format.  Performance should increase at the expense
2091          of database size and memory usage.
2092        - New zone compiler (zonec2) based on flex and yacc, fully RFC
2093          compliant (still in alpha).
2094        - Database can be loaded using mmap(2) (use the --enable-mmap
2095          configure option to enable).  This is useful on operating
2096          systems such as Solaris that do not allow memory overcommit.
2097        - Region based memory allocation and resource management.
2098        - New internal format for storing domain names.  Each dname
2099          now includes an array of label offsets within the domain
2100          name.
2101        - Updates to the plugin API.
2102
2103BUG FIXES:
2104        - Bug #65: The syslog facility is now a compile time option
2105          (--with-facility=FACILITY).  The default facility is DAEMON.
2106        - Bug #66: Automatic periodic dumping of the statistics (using
2107          the -s option) is now continued after a database reload.
2108
21091.2.4
2110=============
2111BUG FIXES:
2112        - Bug #72: If an RRset for a child domain is defined before
2113          the RRset of the parent domain the parent's RRset would be
2114          "lost".
2115
21161.2.3
2117=============
2118BUG FIXES:
2119        - Bug #65: The syslog facility is now a compile time option
2120          (--with-facility=FACILITY).  The default facility is DAEMON.
2121        - Bug #66: Automatic periodic dumping of the statistics (using
2122          the -s option) is now continued after a database reload.
2123        - NSD would try to kill pid -1 on startup if forking of a child
2124          process failed.
2125        - Do not log EAGAIN errors on calls to recvfrom.  These errors
2126          should be harmless.
2127
21281.2.2
2129=============
2130BUG FIXES:
2131        - Bug #59: NSD returns FORMERR when the query name is >= 246
2132          bytes.
2133        - Bug #60: Zonec runs out of file descriptors with many zones.
2134        - Bug #61: nsdc uses /bin/sh hardwired (and should not).
2135        - Bug #62: NSD is not able to log to a file.
2136        - Bug #63: nsdc update and zonec are too talkative.
2137        - Bug #64: Answer for request of a host resolved by a
2138          wildcard-resource-record is not understandable by dig.
2139
21401.2.1
2141=============
2142BUG FIXES:
2143        - AXFR terminates early if a zone contains a CNAME pointing
2144          the the zone's domain name (SOA record) (bug #56).
2145        - During an AXFR memory above the top of the stack was
2146          accessed.  This could lead to occasional AXFR errors (bad
2147          packets).
2148        - NSD now prints its version number and exits when invoked
2149          with the -v flag (bug #57).
2150        - NSD prints help information and exits when invoked with the
2151          -h flag.
2152
21531.2.0
2154=============
2155FEATURES:
2156        - NSD is now a single parent process (handling child
2157          termination and database reloads) plus multiple UDP and TCP
2158          child processes handling queries.  Before the parent process
2159          also handled UDP queries.  This change simplifies the parent
2160          and child processes and allows the use of multiple
2161          concurrent UDP servers.
2162        - Experimental plugin support.  This required a minor,
2163          incompatible change to the database format.  Make sure you
2164          recompile your database.  Use --enable-plugins to enable.
2165        - Full IPv6 support (for multi-homing and for Linux, thanks to
2166          Colm MacCárthaigh and Jun-ichiro itojun Hagino).  Use
2167          --enable-ipv6 to enable.
2168        - Support for multi-homing with TCP connections.
2169        - Support for SunOS 4.x has been dropped.
2170
2171CODE CHANGES:
2172        - NSD should now conform to the Single Unix Specification
2173          (http://www.unix.org/).
2174        - Const correctness for strings and some other data types.
2175        - Removed code for Berkeley DB, hash tables, and mmap(2).
2176        - Separate preprocessor flags from code flags (CPPFLAGS and
2177          CFLAGS).
2178        - Use uint8_t instead of u_char, uint{16,32}_t instead of
2179          u_int{16,32}_t.
2180        - Fixed warnings from mixing signed and unsigned types.
2181        - Use sigaction(2) instead of signal(2).
2182        - The query_process function has been split up for clarity.
2183
2184BUG FIXES:
2185        - CHAOS TXT queries failed on big-endian machines.
2186        - Portability fixes for Tru64 (thanks to Stephane Bortzmeyer),
2187          HP-UX, and MacOS X (thanks to Ronald van der Pol).
2188        - Removed compile time limit on maximum number of TCP child
2189          servers.
2190        - Support for debugging UDP and TCP queries.
2191        - Always ensure there is enough room for the EDNS record when
2192          answering a query with EDNS enabled.
2193
21941.1
2195=============
2196FEATURES:
2197        - ANSI C
2198        - autoconf/configure
2199        - new parser
2200        - support for various RR types in zonec
2201        - support for UNKN RR types
2202
2203BUG FIXES:
2204        - lots of zone parsing errors eliminated
2205        - empty node matching bug gives NXDOMAIN
2206
22071.0.3
2208=============
2209This release is a bug fix release and does not add any new features.
2210
2211BUG FIXES:
2212        - Ignore SIGPIPE errors (bug #43).
2213        - Keep track of TCP child servers and restart if necessary.
2214          (bug #55)
2215        - Handle database reload failures correctly.
2216        - Close UDP sockets in TCP child servers.
2217        - Handle escaped characters (besides \.) in labels.
2218        - Preserve the query's RD flag in the answer.
2219
22201.0.2
2221=============
2222FEATURES:
2223        - -DBIND8_STATS to enable bind8 like [NX]STATS
2224        - -t flag to make nsd chroot to a certain directory
2225        - -s flag to make nsd produce statistics every s seconds
2226        - /etc/nsd/nsdc.conf to overwrite default variables
2227          for nsdc.sh
2228        - less loggin and more radical tcp connection (mis)handling
2229        - prefork -n processes to handle tcp connections
2230        - multiple -a flags
2231
2232CHANGES:
2233        - named.stats file functionality is removed
2234
2235BUG FIXES:
2236        - couple of pedantic fixes in C code
2237        - last zone in database axfr bug fixed
2238        - nsdc update wont update bug fixed
2239
22401.0.1
2241=============
2242
2243FEATURES:
2244        - NSD drops permissions after binding the sockets
2245        - ``cache'' zones are no longer allowed
2246        - ID.Server & Version.Server compile time options
2247        - AXFR implemented (with tcpwrapper for access control)
2248        - nsdc update and nsdc notify functionality
2249        - using named-xfer with TSIG for inbound axfr
2250
2251
2252CHANGES:
2253        - the order of records in the database is from now
2254          on significant
2255        - since Berkeley DB doesnt define order for sequential
2256          access it is no longer supported
2257
2258BUG FIXES:
2259        - white space problem in zonec is fixed
2260
2261KNOWN BUGS:
2262        - please see appropriate man pages for the known bugs
2263
22641.0.0 RELEASE
2265=============
2266
2267KNOWN BUGS:
2268
2269- Although NSD allows one to configure a zone without SOA record and
2270  use it as so called ``cached'' non-authoritative data, it is decided
2271  that having this functionality is wrong, dangerous and will be removed
2272  from the further versions.
2273
2274- If while processing EDNS(0) OPT record NSD encounters bad EDNS(0)
2275  version it will answer with Format Error instead of EDNS(0) BADVERS
2276
2277PLATFORMS:
2278
2279        Tested and working on i386 FreeBSD-4.4, i386 Linux, dec alpha Linux,
2280        sparc SunOS 4.x
2281
2282
22831.0.0-BETA2
2284===========
2285
2286FIXES:
2287        - wildcards bug fixed
2288        - AA bit for class ANY bug fixed
2289        - minor coredumps with really broken zones in zonec fixed
2290        - linux & SunOS port
2291
22921.0-ALPHA2
2293==========
2294FIXES:
2295        - IPv6 transport support added by Jun-ichiro itojun Hagino (Use -DINET6)
2296        - Makefile modified for easier compile time configuration
2297        - EDNS(0) bug fixed
2298        - Default database changed to all lowercase, red-black tree to make nsd
2299          DNSSEC ready
2300        - REQUIREMENTS are cleaned up and updated
2301        - Signal names changed in nsdc.sh.in
2302        - Default compile options dont include -DMIMIC_BIND8
2303