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