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