xref: /openbsd/usr.sbin/nsd/doc/ChangeLog (revision bf87c3c0)
14 April 2024: Jeroen
2	- Use rooted temporary path in makedist.sh.
3
43 April 2024: Jeroen
5	- Replace multiple strcat and strcpy by snprintf.
6	- Tag for 4.9.0.
7
826 March 2024: Jeroen
9	- Test if debug is available in do-tests.
10	- Enforce timeout from NSD in ixfr_gone test.
11	- Update expressions in ixfr_and_restart test.
12	- Make algorithm explicit in control-repattern test.
13	- Switch algorithm to hmac-256 for testplan_mess test.
14	- Tag for 4.9.0rc1.
15
1625 March 2024: Jeroen
17	- Fix timing sensitivity in ixfr_outsync test.
18
1922 March 2024: Jeroen
20	- Set up doc/RELNOTES for upcoming release.
21
2226 February 2024: Willem
23	- Merge #316: Fix to reap defunct children by the reload process that
24	  emerged when some serve child processes were still serving TCP
25	  request while the others had already quit, while the reload process
26	  was waiting for the signal from the backup/old main process that all
27	  children exited.
28	- Fix (also from Merge #316) to reap exited children more frequently
29	  from server main loop for processes that exited during reload, but
30	  missed the initial reaping at start of the main loop because they
31	  took somewhat longer to exit.
32
3316 February 2024: Wouter
34	- Fix compile with memclean for xfrd nsd.db close.
35	- In xfrd del secondary zone, the timer could perhaps have
36	  event_added, and if so, it would not be event_del if a tcp connection
37	  is active at the time. This could cause the libevent event lists
38	  to fail. Also fix to make sure to set event_added for the
39	  nsd-control ssl nonblocking handshake and check event_added there
40	  too, for extra certainty.
41
4215 February 2024: Willem
43	- Merge #304: Support for Catalog zones version "2" as specified in
44	  RFC 9432. Both the consumer as well as the producer role are
45	  implemented, but only a single catalog consumer zone is allowed.
46	  The "coo" property, only relevant with multiple catalog consumer,
47	  is therefore not supported. The "group" property is supported.
48	  Have a look at the nsd.conf man page for details on how to
49	  configure and use catalog zones.
50
5112 February 2024: Willem
52	- Allow SOA apex queries to otherwise with allow-query protected zones
53	  for clients matching a provide-xfr rule, because clients that are
54	  allowed to transfer the zone need to be able to query SOA at the
55	  apex preceding the actual transfer.
56
576 February 2024: Wouter
58	- Fix #313: nsd 4.8 stats with implausible spikes.
59
6016 January 2024: Wouter
61	- Move acx_nlnetlabs.m4 to version 48, with ssp and getaddrinfo
62	  include check.
63
6414 January 2024: Wouter
65	- Move acx_nlnetlabs.m4 to version 47, with crypt32 check.
66
678 December 2023: Wouter
68	- Merge #309: More RFC 8499 compliance.
69	- Fix #310: NSD stats contain the terms "master" and "slave".
70	- Fix control-reconfig-xfrd test for zonestatus primary that is
71	  printed by nsd-control zonestatus.
72
737 December 2023: Wouter
74	- Merge #307 from anandb-ripencc: Many improvements to the nsd.conf
75	  man page.
76	- Fix #308: Deprecate "multi-master-check" in favour of
77	  "multi-primary-check".
78
796 December 2023: Wouter
80	- Fix to sync the tests script file common.sh.
81	- Update test script file common.sh.
82	- Fix #306: Missing AC_SUBST(dbdir) breaks installation with 4.8.0.
83	- Fix for #306: Create directory for xfrd.state and zone.list files
84	  in make install.
85
8629 November 2023: Wouter
87	- Tag for 4.8.0rc1. This became 4.8.0 release on 6 December 2023.
88	  The repository continues with version 4.8.1 under development.
89
9028 November 2023: Wouter
91	- Set up doc/RELNOTES for upcoming release.
92	- Fix unit test kill_from_pidfile function for nonexistent files
93	  because the argument is evaluated before the test expression.
94	- Fix rr-test to also convert the contents of the just written output
95	  file.
96	- Fix test set to remove -f nsd.db and rm nsd.db commands.
97	- Fix test set to remove difffile option.
98
9927 November 2023: Jeroen
100	- Fix #14: Set timeout to 3s when servicing remaining TCP connections.
101	- Fix: Always instate write handler after reading queries from TCP.
102	- Answer first query on connections accepted just before reload.
103
10427 November 2023: Wouter
105	- Merge #305: faster stats. Statistics can be gathered while a reload
106	  is in progress.
107
10827 November 2023: Willem
109	- Merge #302: Test package fixes. Correct Auxfiles, kill_from_pidfile
110	  function and fix drop_updates, rr-test and xfr_update tests.
111
1121 November 2023: Jeroen
113	- Remove on-disk database.
114
11531 October 2023: Wouter
116	- Merge #301: improve the logging of ixfr fallbacks to axfr.
117
11830 October 2023: Jeroen
119	- Fix processing of consolidated IXFRs.
120
12130 October 2023: Wouter
122	- Fix for interprocess communication to set quit sync command from
123	  main process explicitly.
124
1253 October 2023: Wouter
126	- Merge #281: Proxy protocol. An implementation of PROXYv2 for NSD.
127	  It can be configured with proxy-protocol-port: portnum with the
128	  port number of the interface on which proxy traffic is handled.
129	  The interface can support proxy traffic for UDP, TCP and TLS.
130
13121 September 2023: Wouter
132	- Merge #295: Update e-mail addresses, add ref to support contracts
133
13431 August 2023: Wouter
135	- Fix autoconf 2.69 warnings in configure.
136
13714 July 2023: Wouter
138	- Merge #287: Update nsd.conf.5.in.
139
14011 July 2023: Wouter
141	- Fix unused variable warning in unit test of udb.
142
14322 June 2023: Wouter
144	- Fix #284: dnstap_collector.c: SOCK_NONBLOCK is not available on
145	  Mac/Darwin.
146
1477 June 2023: Wouter
148	- Merge #282: Improve nsd.conf man page.
149	- Fix unused but set variable warning.
150	- Fix #283: Compile failure in remote.c when --disable-bind8-stats
151	  and --without-ssl are specified.
152
15331 May 2023: Wouter
154	- Add missing items to doc/RELNOTES.
155	- Tag for 4.7.0rc1. It became release 4.7.0 on 7 june 2023. The code
156	  repository continues with 4.7.1.
157
15830 May 2023: Jeroen
159	- Fix #240: Prefix messages originating from verifier.
160	- Fix #275: Drop unnecessary root server checks.
161
16230 May 2023: Wouter
163	- Next version is 4.7.0, instead of 4.6.2, because of the added
164	  features, like TLS for DNSTAP.
165	- Fix unused variable warning in unit test, from clang compile.
166
16724 May 2023: Wouter
168	- For #279: Note that autoreconf -fi creates the configure script
169	  and also the needed auxiliary files, for autoconf 2.69 and 2.71.
170
1714 May 2023: Wouter
172	- Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h.
173
1741 May 2023: Wouter
175	- make depend.
176	- Fix for build to run flex and bison before compiling code that needs
177	  the headers.
178
17913 April 2023: Wouter
180	- Fix cirrus script for submit to coverity scan to libtoolize
181	  the configure script components config.guess and config.sub.
182	- Fix readme status badge links.
183
18428 March 2023: Wouter
185	- Fix #273: Large TXT record breaks AXFR.
186	- Fix ixfr create from adding too many record types.
187
18816 March 2023: Wouter
189	- Fix include brackets for ssl.h include statements, instead of quotes.
190	- Fix static analyzer warning about nsd_event_method initialization.
191
19215 March 2023: Wouter
193	- Dnstap tls code fixes.
194
19514 March 2023: Wouter
196	- Fix dnstap to not check socket path when using IP address.
197	- dnstap over TLS, default enabled. Configured with the
198	  options dnstap-tls, dnstap-tls-server-name, dnstap-tls-cert-bundle,
199	  dnstap-tls-client-key-file and dnstap-tls-client-cert-file.
200	- Fix to compile without ssl with dnstap-tls code.
201
2029 March 2023: Wouter
203	- Fix #271: DNSTAP over TCP, with dnstap-ip: "127.0.0.1@3333".
204	- Fix to clean more memory on exit of dnstap collector.
205
20623 February 2023: Wouter
207	- Fix #270: reserved identifier violation.
208
20920 February 2023: Wouter
210	- Merge #269 from Fale: Add systemd service unit.
211
21216 February 2023: Wouter
213	- Fix #266: Fix build with --without-ssl.
214	- Fix #267: Allow unencrypted local operation of nsd-control.
215	- Fix for #267: neater variable definitions.
216
2172 February 2023: Wouter
218	- Merge #265: Fix C99 compatibility issue.
219
22030 January 2023: Wouter
221	- Merge #263: Add bash autocompletion script for nsd-control.
222	- Fix for #262: More error logging for SSL read failures for zone
223	  transfers.
224
22527 January 2023: Wouter
226	- Fix #262: Zone(s) not synchronizing properly via TLS.
227	- Fix ixfr_and_restart test to wait for processes to come to a stop.
228
22926 January 2023: Wouter
230	- Fix configure for -Wstrict-prototypes.
231
23210 November 2022: Wouter
233	- Tag for NSD 4.6.1, the repository continues with version 4.6.2.
234	- Fix #239: -Wincompatible-pointer-types warning in remote.c.
235	- Fix unit tests to succeed with --disable-bind8-stats.
236
2371 November 2022: Wouter
238	- Fixup for non-trailing newline lexer change warnings.
239	- Update doc/RELNOTES for changes.
240	- Fix ixfr_gone unit test to not use system default zone list file.
241	- Fix credns tests for vm usage, and not use system default zone
242	  list file.
243	- Fix verify tests to use more portable bash location in script.
244	- Fix verify_again test to use ipv4 address for test.
245
2461 November 2022: Tom
247	- Add SVCB dohpath support
248
24928 September 2022: Jeroen
250	- Set ALPN "dot" token during connection establishment as per RFC9103
251	  section 7.1 (Thanks Cesar Kuroiwa).
252
25321 September 2022: Tom
254	- Change zone parsing to accept non-trailing newline.
255
2561 September 2022: Wouter
257	- Merge #231 from moritzbuhl: Fix checking if nonblocking sockets work
258	  on OpenBSD.
259
26019 August 2022: Wouter
261	- Update cirrus build script for newer Ubuntu image, and FreeBSD
262	  build with libtoolize to install auxiliary files.
263	- Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04.
264
2657 July 2022: Tom
266	- Fix #212: Change commandline control actions to always log.
267
2681 July 2022: Wouter
269	- Fix static analyzer reports, fix wrong log print when skipping xfr,
270	  fix to print error on pipe read fail, and assert an xfr is in
271	  progress during packet checks.
272
27323 June 2022: Wouter
274	- Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues
275	  with version 4.6.1.
276
27717 June 2022: Wouter
278	- Fix compilation with libev, without event_base_loopbreak.
279
28016 June 2022: Wouter
281	- Fix that the unit test verify_repat cleans up nsd on exit.
282	- Fix to remove ixfrcreate.c asserts about uint16 within limits
283	  because of warnings from analyzers.
284
28514 June 2022: Wouter
286	- Fix compilation without libevent and compilation of nsd-mem.
287	- Fix verify handler add of sigchld event for compilation without
288	  libevent.
289
2903 June 2022: Wouter
291	- Fix static analyzer reports on ixfrcreate temp file.
292	- Fixup wrong ixfrcreate fread return check.
293
29413 May 2022: Wouter
295	- The code repo continues with version 4.5.1.
296
2976 May 2022: Wouter
298	- Merge PR #209: IXFR out
299	  This adds IXFR out functionality to NSD. NSD can copy IXFRs from
300	  upstream to downstream clients, or create IXFRs from zonefiles.
301	  The options store-ixfr: yes and create-ixfr: yes can be used to
302	  turn this on. Default is turned off. The options ixfr-number and
303	  ixfr-size can be used to tune the number of IXFR transfers and
304	  total data size stored. This is configured per zone, the IXFRs
305	  are served to the hosts that are allowed to perform zone transfers.
306	  And if TSIG is configured, signed with the same key. The content
307	  is stored to file if a zonefile is configured for the zone, in
308	  the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain
309	  readable text format. The number of IXFRs is num.rixfr in
310	  statistics output, also per zone if per zone statistics are enabled.
311	  If offline, nsd-checkzone -i can create ixfr files.
312	  NSD already supports requesting IXFRs, this addition allows NSD
313	  to serve IXFR transfers to clients.
314	  NSD stops responding with NOTIMPL to IXFR requests, also for zones
315	  that do not have IXFR enabled. The clients gets a full zone reply
316	  or a status reply if the serial is up to date.
317	- set version to 4.5.0 for feature change.
318	- Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022.
319
32014 April 2022: Wouter
321	- Update cirrus script FreeBSD version.
322
32325 March 2022: Wouter
324	- Fix spelling error in comment in svcbparam_lookup_key.
325
3262 March 2022: Wouter
327	- Fix code analyzer zero divide warning.
328	- Fix code analyzer large value with assertion.
329	- Fix another code analyzer zero divide warning.
330	- Fix code analyzer warning about uninitialized temp storage in loop.
331
33210 February 2022: Wouter
333	- Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022,
334	  the code repository continues with version 4.4.1.
335
3369 February 2022: Wouter
337	- Fix unit tests for nds-control-setup exit code and the
338	  xfrd-tcp-max default.
339
3407 February 2022: Wouter
341	- Merge #207 Sync nsd-control-setup with unbound-control-setup to
342	  generate certificates with SANs.
343
34428 January 2022: Wouter
345	- Fix #206: build with --without-ssl fails.
346
34727 January 2022: Wouter
348	- current code branch continues as version 4.4.0, because of added
349	  feature.
350
35126 January 2022: Wouter
352	- Merge #193: Lower memory usage of the XFRD process by default.
353	  Instead of preallocating all elements, they are allocated when used.
354	  There are options for managing the memory usage, defaults are the
355	  same as before. xfrd-tcp-max sets the number of sockets for tcp
356	  connections that xfrd can make to download zone contents. And
357	  xfrd-tcp-pipeline the number of simultaneous transfers over the
358	  same connection.
359
36012 January 2022: Wouter
361	- Fix to document nsd-checkzone -p in the man page for nsd-checkzone.
362
3637 January 2022: Wouter
364	- Fix to change file mode before changing file owner for the
365	  nsd-control unix socket file.
366
3673 January 2022: Wouter
368	- Merge #204 from jonathangray: correct some spelling mistakes.
369
37015 December 2021: Wouter
371	- Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA
372	  record.
373
3742 December 2021: Wouter
375	- Fix socket_partitioning unit test for FreeBSD.
376	- Fix SVCB test to work around older dig with drill.
377	- Fix unit test to not syslog setlogin failures.
378
3791 December 2021: Wouter
380	- Set up for branch for 4.3.9 release.
381	  This became release 4.3.9 on 9 Dec 2021 and included the changes
382	  until the SVCB fix on 2 dec 2021, but not the setlogin fix.
383	  The main branch continues as 4.3.10.
384	- Fix unit tests for new answer-cookie default.
385
38630 November 2021: Wouter
387	- Fix to remove git tracking and ci information from release tarballs.
388
3893 November 2021: Wouter
390	- Fix #198: nsd-control reconfig core dump.
391
39212 October 2021: Wouter
393	- Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues
394	  with version 4.3.9 in development.
395
3967 October 2021: Wouter
397	- Set default for answer-cookie to no. Because in server deployments
398	  with mixed server software, a default of yes causes issues.
399	- Tag for 4.3.8rc2, includes the new answer-cookie default.
400
4014 October 2021: Wouter
402	- Tag for 4.3.8rc1.
403
40429 September 2021: Wouter
405	- Fix unit tests for svcb and xot to not touch the default
406	  zonelistfile.
407	- Fix unit test for xot tertiary config for zonelistfile default.
408	- Fix unit test for dns-cookies for no unshare, and allow-query
409	  for no IPv6 loopback.
410	- Fix unit test allow query to check for IPv6.
411
41222 September 2021: Wouter
413	- Fix #194: Incorrect NSEC3 response for SOA query below delegation
414	  point.
415
41613 September 2021: Wouter
417	- Fix compile failure with openssl 1.0.2.
418
4193 September 2021: Wouter
420	- Fix not reachable annotation in radix_find_prefix_node.
421
42231 August 2021: Willem
423	- Fix #191: dname_parse_wire() returns fqdn wireformat length.
424
42526 August 2021: Wouter
426	- Fix #190: NSD returns 3 NSEC3 records for NODATA response.
427
42823 August 2021: Wouter
429	- Fix #189: nsd 4.3.7 crash answer_delegation: Assertion
430	  `query->delegation_rrset' failed.
431
43217 August 2021: Wouter
433	- Fix #188: NSD fails to build against openssl 1.1 on CentOS 7.
434	- Fix sed script in ssldir split handling.
435
43613 August 2021: Wouter
437	- Merge #187: Support using system-wide crypto policies.
438
43910 August 2021: Wouter
440	- Merge #185 by cesarkuroiwa: Mutual TLS.
441	- Fixes for #185: Document client-cert, client-key and client-key-pw
442	  in the man page. Fix yacc semicolon. Fix unused variable warning.
443	  Use strlcpy instead of strncpy. Fix spelling error in error
444	  printout.
445
4462 August 2021: Wouter
447	- Quieter tpkg/do-tests shell script with -q flag.
448	- For #184: Note that all zones can be targeted by some nsd-control
449	  commands in the man page.
450
45130 July 2021: Wouter
452	- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.
453	- Fix to compile with OpenSSL 3.0.0beta2.
454	- Fix configure detection of SSL_CTX_set_security_level.
455	- Fix deprecated functions use from openssl 3.0.0beta2.
456
45723 July 2021: Wouter
458	- Fix free on shutdown of XoT SSL context.
459
46022 July 2021: Wouter
461	- tag 4.3.7 release, with the fixes between rc1 and this release.
462	- main branch continues for 4.3.8.
463
46420 July 2021: Wouter
465	- Fix typo in xfrd-tcp.c.
466
46715 July 2021: Wouter
468	- tag for 4.3.7rc1.
469	- Fix compile of cookies on FreeBSD without IPv6.
470	- Fix for loop initial declaration for nonc99 compiler.
471
47214 July 2021: Wouter
473	- Fix truncate test for EDNS COOKIE making one less RR is added.
474	- Attempt to fix gcc11 warning.
475
47613 July 2021: Willem
477	- Fixes for child server processes getting out of sync with the
478	  dnstap-collector process
479
48013 July 2021: Willem
481	- Interoperable DNS Cookies support as per RFC7873 and RFC9018
482
4839 July 2021: Willem
484	- Client side DNS Zone Transfer-over-TLS (XoT) support as per
485	  draft-ietf-dprive-xfr-over-tls
486
48729 June 2021: Willem
488	- Fix #168: Buffer overflow in the dname_to_string() function
489
49014 June 2021: Wouter
491	- Update configure nonblocking test to use host.
492
49325 May 2021: Wouter
494	- Fix #179: log notice and server-count.
495
49621 May 2021: Wouter
497	- Test code has -q option for quiet output.
498
49917 May 2021: Wouter
500	- Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure
501	  script.
502
5037 May 2021: Wouter
504	- Fix #176: please review Loglevel on missing zonefile.
505
5066 May 2021: Wouter
507	- Fix #174: NS Records below delegation are not ignored (nsd-checkzone
508	  also does not raise any issue).
509
5104 May 2021: Wouter
511	- Fix SVCB sort call sizeof to be the size of the elements sorted.
512
51329 April 2021: Tom
514	- Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https
515
51613 April 2021: Wouter
517	- Fix for #128: Skip over sendmmsg invalid argument when port is zero.
518	- Fix #171: Invalid negative response (NSEC3) after IXFR.
519	- Fix to make nsec3_chain_find_prev return NULL if one nsec3 left.
520	- remove debug settings from unit test.
521
5229 April 2021: Wouter
523	- Fix for #170: Fix build warnings when IPv6 is disabled.
524	- Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error.
525
52630 March 2021: Wouter
527	- Fix configure failure for enable systemd because of autoconf.
528	- This became release 4.3.6, the repository continues for 4.3.7
529	  in development.
530
53129 March 2021: Wouter
532	- Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag.
533
53429 March 2021: Willem
535	- Per zone Access Control List for queries
536	  with an allow-query: option.
537
53824 March 2021: Wouter
539	- Update acx_nlnetlabs.m4 to version 38, fix deprecation test.
540	- Fix configure to use header checks with compile.
541	- Fix warning about unused function log_addr.
542
54318 March 2021: Tom
544	- Add Extended DNS Errors RFC8914
545
54615 March 2021: Wouter
547	- Fix double config.h include in configlexer.c
548	- Fix to remove configyyrename from makedist.sh and also
549	  update the flex and bison rules there to add the "c_" prefix.
550
55113 March 2021: Willem
552	- Fix #154: TXT with parentheses fails in 4.3.5.
553	- Align parsing of TXT elements with how bind does it.
554	- A -p option to nsd-checkzone to print a successfully read zone.
555
55612 March 2021: Wouter
557	- Fix that wildcard is printed as a star instead of escaped, in
558	  logs and in written zone files.
559	- Fix unit test for wildcard printout change.
560
56111 March 2021: Wouter
562	- Fix #163: A TSIG noncompliance with RFC 2845.
563
5649 March 2021: Willem
565	- Enable configuring a control-interface by interface name.
566
56719 February 2021: Wouter
568	- Fix segfault on high verbosity for TLS channels with dnstap log
569	  local address.
570
57118 February 2021: Wouter
572	- Fix #146 with #147: DNSTAP log the local address of the server
573	  with the dnstap logs.
574
57516 February 2021: Wouter
576	- Man page documentation for dnstap options.
577
5788 February 2021: Wouter
579	- Fix AF_LOCAL compile error for Solaris.
580	- Fix ifaddrs compile error for Solaris.
581	- Fix ifaddrs.h compile error for Solaris.
582
5834 February 2021: Wouter
584	- Merge PR #153 from fobser: Repair -fno-common linker errors
585	  automatically.
586	- Fix uninitialized access of log_buf in error printout on apply ixfr.
587
58826 January 2021: Wouter
589	- Prevent a few more yacc clashes.
590
59119 January 2021: Wouter
592	- Set branch ready for 4.3.5 release.  Tag for 4.3.5rc1.
593	  Became the 4.3.5 release on 26 january 2021.  This branch continues
594	  with 4.3.6 in development.
595
59615 January 2021: Wouter
597	- Fix #152: '*' in Rdata causes the return code to be NOERROR instead
598	  of NX.
599	- Add config.guess and config.sub to .gitignore for autoconf 2.70.
600	- Fix #150: TXT record validation difference with BIND.
601	- Fixup TXT record validation fix for escaped quotes.
602	- Fixup TXT record validation fix for escaped backslashes.
603	- Fixup escape character parse for quoted strings.
604
60511 January 2021: Wouter
606	- Fix #151: DNAME not applied more than once to resolve the query.
607	- Fix dname test for #148.
608	- For #151: fix to not produce loops in output.
609
6105 January 2021: Wouter
611	- Fix configure.ac for autoconf 2.70.
612
6134 January 2021: Wouter
614	- Fix #148: CNAME need not be followed after a synthesized CNAME
615	  for a CNAME query.
616
61711 December 2020: Wouter
618	- Fix that nsd-control has timeout when connection is down.
619	- remove windows socket ifdefs from nsd-control.
620
6213 December 2020: Wouter
622	- For #145: Fix that service of remaining TCP and TLS connections
623	  does not allow new queries to be made, the connection is closed.
624	  Only existing queries and zone transfers are answered, new ones
625	  are rejected by a close of the channel.
626
62730 November 2020: Wouter
628	- Fix #144: fix better.
629
63027 November 2020: Wouter
631	- Fix #144: Typo fix in nsd.conf.5.in.
632
63326 November 2020: Wouter
634	- Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode.
635
63624 November 2020: Wouter
637	- Merge PR #141: ZONEMD RR type.
638	- tag for 4.3.4rc1.  This became 4.3.4 release on 1 dec 2020.
639	  The code repo continues for 4.3.5 in development.
640
64123 November 2020: Wouter
642	- Fix #142: NODATA answers missin SOA in authority section after
643	  CNAME chain.
644	- Fix for CVE-2020-28935 : Fix that symlink does not interfere
645	  with chown of pidfile.
646	- fix writepid for retvalue 0.
647
6489 November 2020: Wouter
649	- Fix #138: NSD returns non-EDNS answer when QUESTION is empty.
650	- Fix to check nscount in previous fix for EDNS in formerr response
651	  when there is no question.
652
65328 October 2020: Wouter
654	- Remove unused init_cfg_parse routine from configlexer.
655
65620 October 2020: Wouter
657	- Fix to add missing closest encloser NSEC3 for wildcard nodata type
658	  DS answer.
659
66014 October 2020: Wouter
661	- Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN.
662
66313 October 2020: Wouter
664	- Fix missing parenthesis on size of fix to init buffer.
665
66612 October 2020: Wouter
667	- Fix #127: two minor `-Wcast-qual` cleanups
668	- Fix #126: minor header hygiene
669	- Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle`
670	- Fix #133: fix 0-init of local ( stack ) buffer.
671
6728 October 2020: Wouter
673	- tag for 4.3.3 release
674	- current repository contains 4.3.4 in development.
675	- Fix #129: ambiguous use of errno, in log message if sendmmsg fails.
676	- Fix #128: Fix that the invalid port number is logged for sendmmsg
677	  failed: Invalid argument.
678
6791 October 2020: Wouter
680	- tag for 4.3.3rc1 release.
681
68230 September 2020: Wouter
683	- Updated date in nsd -v output.
684	- Fixup bug013_truncate, checkconf and cutest_qroot tests for new
685	  default EDNS size.
686
68729 September 2020: Willem
688	- Follow DNS flag day 2020 advice and
689	  set default EDNS message size to 1232.
690
6914 September 2020: Wouter
692	- Remove unused space from LIBS on link line.
693
6943 September 2020: Wouter
695	- Merge PR #121: Increase log level of recreated database from
696	  WARNING to ERR.
697
6981 September 2020: Wouter
699	- Fix #119: fix compile warnings from new gcc.
700	- Fix #119: warn when trying to parse a directory.
701
70227 August 2020: Wouter
703	- Merged PR #113 with fixes.  Instead of listing an IP-address to
704	  listen on, an interface name can be specified in nsd.conf, with
705	  ip-address: eth0.  The IP-addresses for that interface are then used.
706
70726 August 2020: Wouter
708	- Add xstrdup for PR #113.
709	- Tidy up code like in PR #113.
710	- Import code from PR #113.
711	- Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code.
712
71324 August 2020: Wouter
714	- Fix that configure checks for EVP_sha256 to detect openssl, because
715	  HMAC_CTX_new is deprecated in 3.0.0.
716	- Port TSIG code for openssl 3.0.0-alpha6.
717	- Sync acx_nlnetlabs.m4 with the unbound repo.
718	- Review fixes for tsig, defensive free and zero.
719
7204 August 2020: Wouter
721	- Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find
722	  fd_set - patch.
723
72423 July 2020: Wouter
725	- Merge #115 from millert: Fix strlcpy() usage. From OpenBSD.
726
72715 July 2020: Wouter
728	- Fix make install with --with-pidfile="".
729
73014 July 2020: Wouter
731	- Tag for 4.3.2 release.  Master branch contains the next version
732	  in development, 4.3.3.
733
7347 July 2020: Wouter
735	- Tag for 4.3.2rc1.
736
7376 July 2020: Wouter
738	- Fix compile includes for xfr-inspect tool on FreeBSD.
739	- Add tpkg/run_vm.sh that runs test when in a virtual machine.
740	- Merge #112 from jaredmauch: log old and new serials when NSD
741	  rejects an IXFR due to an old serial number.
742	- Fix bug034 test for vm test changes.
743
74422 June 2020: Wouter
745	- Remove errno reset behaviour from sendmmsg and recvmmsg
746	  replacement functions.
747	- Fix unit test for different nsd-control-setup -h exit code.
748
74919 June 2020: Wouter
750	- Merge #108 from Nomis: Make the max-retry-time description clearer.
751	- Retry when udp send buffer is full to wait until buffer space is
752	  available.
753
75418 June 2020: Wouter
755	- Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD.
756
75717 June 2020: Wouter
758	- Fix #107: nsd -v shows configure line, openssl version and libevent version.
759
76027 May 2020: Wouter
761	- Fix unlink of pidfile warning if not possible due to permissions,
762	  nsd can display the message at high verbosity levels.
763	- Update contrib/nsd.service for chown of nsd.log and /var/log in
764	  ReadWritePaths.
765	- Removed contrib/nsd.service, example is too complicated and not
766	  useful.
767
76815 May 2020: Wouter
769	- Merge PR#102 from and0x000: add missing default in documentation
770	  for drop-updates.
771	- Fix checkconf test for log-only-syslog option.
772
77314 May 2020: Wouter
774	- Document default value for tcp-timeout.
775
77613 May 2020: Jeroen
777	- Fix #99: Fix copying of socket properties with reuseport enabled.
778
77924 April 2020: Wouter
780	- Fix #97: EDNS unknown version: query not in response.
781
78221 April 2020: Wouter
783	- Fix #96: log-only-syslog: yes sets to only use syslog, fixes
784	  that the default configuration and systemd results in duplicate
785	  log messages.
786
78720 April 2020: Wouter
788	- Fix #95: Removed make test check because tpkg not included in
789	  release tarballs.
790	- Fix unused parameter compile warnings.
791
79216 April 2020: Wouter
793	- Tag for 4.3.1 release and track 4.3.2 release in code repository.
794	- note sha256 digest algo use in makedist.sh.
795	- Fix for posix shell syntax for trap in nsd-control-setup.
796	- Fix to omit the listen-on lines from log at startup, unless verbose.
797	- Fix uninitialised values for bindtodevice option at startup with
798	  reuseport and multiple interfaces.
799
8008 April 2020: Wouter
801	- Tag for 4.3.1rc2.
802
8037 April 2020: Wouter
804	- Merge PR #91 by gearnode: nsd-control-setup recreate certificates.
805	  The '-r' option recreates certificates.  Without it it creates them
806	  if they do not exist, and does not modify them otherwise.
807
8086 April 2020: Wouter
809	- Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC.
810	- Merge PR #92 by tonysgi: Fix typo.
811
8122 April 2020: Wouter
813	- Tag for 4.3.1rc1.
814
8151 April 2020: Wouter
816	- Fix for whitespace in minimal responses test for FreeBSD.
817
81825 March 2020: Wouter
819	- Merge PR #86 from noloader: Use precious variables for GREP, EGREP,
820	  SED, AWK, LEX and YACC.
821	- For PR #86: Fix that programs loaded after CFLAGS and stuff is
822	  set, specifically the compiler, so that it can work if it needs
823	  special flags from that.  Fix that lex only needs to support -i
824	  if actually defined, otherwise the output included in the source
825	  tarball can be used.
826	- Merge PR #72 from noloader: Increase Travis testing coverage
827
82823 March 2020: Wouter
829	- Fix unterminated ifdef in nsd.h.
830	- Fix unknown u_long in util.c for Issue #80 .
831
83220 March 2020: Wouter
833	- Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile.
834	- Fix #82: print error when system does not have setaffinity.
835	- Fix #80: NetBSD and implicit declaration of reallocarray.
836	- Fix for #80: Fix reallocarray test to define before include.
837	- Fix for #80: Define alternatives for IFNAMSIZ if it does not exist.
838
83919 March 2020: Wouter
840	- Fix #76: cpuid typedef for Hurd, DragonflyBSD compile.
841	- Fix #75: configure test for sched_setaffinity, and use
842	  cpuset_setaffinity otherwise.  Also test for presence of sysconf.
843	- Fix #74: GNU Hurd fix cast from pointer to integer of different size.
844	- Fix for #74, #75: cpuset test for header contents and provide code.
845	- Fix #78: Fix SO_SETFIB error on FreeBSD.
846
84718 March 2020: Wouter
848	- Fix #70: error: 'fd_set' undeclared.
849	- Fix #71: error: 'for' loop initial declaration used outside C99
850	  mode.
851	- Fix to move declarations out of for loops in event test too.
852	- Fix to move declarations out of for loops in popen3 test too.
853	- Another fix to move declaration out of for loop for event test.
854	- Fix to move declarations out of for loops in cutest regex display.
855
85617 March 2020: Wouter
857	- tag for 4.3.0 release and master branch has version 4.3.1.
858
85910 March 2020: Wouter
860	- repository has version number 4.3.0.  Tag for 4.3.0rc1.
861
8623 March 2020: Wouter
863	- Fix that the retry wait does not exceed one day for zone transfers.
864
86527 February 2020: Wouter
866	- Fix warning on FreeBSD about pointer size cast.
867
86826 February 2020: Wouter
869	- Fixup fix of reuseport TCP for server close of sockets not used
870	  by it.  And the unit test skips when the necessary debug output
871	  is not enabled.
872
87325 February 2020: Wouter
874	- Fix event unit test, signal has to be registered with signal_add,
875	  event_add not for every backend for signals.  The event_initialized
876	  is not possible for every backend, so event_added variable.  The
877	  agent write event fires after a timeout, instead of on event write
878	  so that it does not trigger a sigpipe event when the handlers stop.
879	  Timeout shorted to 0.1 second.  event_get_fd was not implemented,
880	  so used ev_fd.  Debug output printfs added to see what happens.
881	- Fix checkconf test for new drop-updates config option.
882	- Fix errors with reuseport and TCP file descriptors, it was
883	  closing them for server-1 in server-2 and server-3..
884
8857 February 2020: Jeroen
886	- Add feature to drop queries with opcode UPDATE.
887
8886 February 2020: Jeroen
889	- Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes
890	  to bind sockets directly to the network interface.
891	- Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address
892	  option to use the specified FIB for that socket.
893	- Require user to add servers=<range> after an ip-address option to
894	  specify the servers that must listen on that socket.
895
8966 February 2020: Wouter
897	- Merge PR#60: Minor portability fixes from michaelforney, with
898	  avoid pointer arithmetic on void* and avoid unnecessary VLA.
899
9004 February 2020: Wouter
901	- Merge PR#22: minimise-any: prefer polular and not large RRset,
902	  from Daisuke Higashi.
903	- Fix responses for IXFR so that the authority section is not echoed
904	  in the response.
905
90621 January 2020: Wouter
907	- Fix leak in server bitset setup.
908
90916 January 2020: Jeroen
910	- Add zone resource record iterator for future zone-verification port.
911	- Set FD_CLOEXEC on opened sockets.
912	- Add popen3 implementation for future zone-verification port.
913	- Add -r option to cutest so that a subset of tests can be run.
914
91515 January 2020: Jeroen
916	- Add feature to pin server proccesses to specific cpus.
917	- Add feature to pin IP addresses to selected server processes.
918	- Set process title to identify individual processes.
919
92013 January 2020: Wouter
921	- Merge pull request #59 from buddyns: add FreeBSD support
922	  for conf key ip-transparent.
923
92410 January 2020: Wouter
925	- Fix unreachable code in ssl set options code.
926	- Fix bad shift in assertion code analyzer complaint.
927
9286 January 2020: Wouter
929	- Fix #56: Drop sparse TSIG signing support in NSD.
930	  Sign every axfr packet with TSIG, according to the latest
931	  draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1.
932
93312 December 2019: Wouter
934	- Note that use-systemd is not necessary and ignored in man page.
935
93611 December 2019: Wouter
937	- Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters.
938	- use-systemd is ignored in nsd.conf, when NSD is compiled with
939	  libsystemd it always signals readiness, if possible.
940
9419 December 2019: Wouter
942	- Fix to define upper bounds on rr counts read from untrusted packet
943	  data.
944	- Try different annotation for radix_find_prefix_node not reachable.
945	- Separate acl_addr_match_range functions for ip4 and ip6, to
946	  please checkers.
947	- Avoid unused variable warning in new match_range_v4 function.
948
9496 December 2019: Wouter
950	- Fix to define max number of EDNS records we are willing to
951	  spend time on.
952	- Fix size of string len and capacity type cast in udbradtree.
953	- Fix to protect rrcount in tsig_find_rr from overflow.
954	- Annotate radix_find_prefix_node not reachable trail code.
955	- Fix to protect rrcount in packet_find_notify_serial from overflow.
956	- Fix to close socket on error in create_tcp_accept_sock.
957	- Fix to log on failure to chmod for socket for remote control.
958	- Fix to remove unneeded if in open of socket for remote control.
959	- Fix to restore input parameter on call failure in create_dirs.
960	- Please checker by terminating and initialising string read
961	  by remote control.
962	- Fixup of random_generate negative modulo, from previous commit,
963	  and return srandom when random is used if no getrandom.
964
9655 December 2019: Wouter
966	- Fix fname null check of fname in namedb_read_zonefile.
967	- Fix implicit cast of size in udb_radnode_array_grow.
968	- Fix ignore of return value of ssl_printf in remote.c.
969	- Fix unused check of fd in parent_handle_reload_command.
970	- Fix to use getrandom() for randomness, if available.
971	- Attempt to fix signedness of nscount lookup in ixfr query_process.
972	- Fix identical branches for ssl_print of errors in remote.c.
973	- Fix type cast bounds, signedness of opt_rdlen in edns_parse_record.
974	- Fix to separate header and data lines in parse_zone_list_file.
975
9763 December 2019: Wouter
977	- Fix #52: do not log transient network full errors unless higher
978	  verbosity is set.
979	- Fix checkconf test for new error output string.
980	- tag for 4.2.4rc1 release.  This became the 4.2.4 release,
981	  and the master branch continues with 4.2.5 in development.
982
98327 November 2017 Jeroen
984	- Fix regressions in configparser.y
985
98622 November 2019: Wouter
987	- Fix #48: Add make distclean that removes config.h made by configure.
988	  And add maintainer-clean that removes bison and flex output.
989
99018 November 2019: Wouter
991	- Detect fixed time memcmp for openssl 0.9.8 compatibility.
992	- Detect EC_KEY_new_by_curve_name for openssl 0.9.8.
993	- include limits.h for UINT_MAX.
994	- If no recvmmsg, dont use msg_flags member, but errno for error,
995	  where our fallback function left it, msg_flags also does not exist
996	  on some systems.
997	- Remove unused variable warning for portability.
998
99914 November 2019: Wouter
1000	- Fix checkconf test with filenames that sort in the same order.
1001	- Tag for 4.2.3rc1.  Branch master is 4.2.4 in development.
1002
100311 November 2019: Wouter
1004	- Fix #44: document that remote-control is a top-level nsd.conf
1005	  attribute.
1006	- Fix compile on OSX.
1007	- Fix for #44: nicer top-level clause documentation.
1008
100922 October 2019: Jeroen
1010	- Number of different UDP handlers has been reduced to one. recvmmsg
1011	  and sendmmsg implementations are now used on all platforms.
1012	  Compatible implementations are in place for systems that lack the
1013	  system calls.
1014	- Socket options are now set in designated functions for easy reuse.
1015	- Socket setup has been simplified for easy reuse.
1016	- Configuration parser is now aware of the context in which an option
1017	  was specified.
1018
101921 October 2019: Wouter
1020	- For #21 add
1021	  contrib/patch_for_s6_startup_and_other_service_supervisors.diff
1022	  that adds support for readiness notification with READY_FD from
1023	  Cameron Nemo.
1024
102517 October 2019: Jeroen
1026	- Fix #40: Merge small fixes for confine-to-zone by Greg Bock.
1027
102815 October 2019: Jeroen
1029	- For #39: Merge confine-to-zone feature contributes by Greg Bock.
1030
103126 September 2019: Wouter
1032	- Fix #38: log address and failure reason with tls handshake errors,
1033	  squelches (the same as unbound) some unless high verbosity is used.
1034	- Fixup clang analysis warning in xfrd_parse_received_xfr_packet
1035	  master dereference.
1036
103725 September 2019: Wouter
1038	- The nsd.conf includes are sorted ascending, for include statements
1039	  with a '*' from glob.
1040
104116 September 2019: Wouter
1042	- Fixup warnings during --disable-ipv6 compile.
1043	- Fixup unit test executable to run without IPv6.
1044
10454 September 2019: Wouter
1046	- Fix #35: excessive logging of ixfr failures, it stops the log when
1047	  fallback to axfr is possible. log is enabled at high verbosity.
1048
10492 September 2019: Wouter
1050	- For #21: pidfile "" allows to run NSD without a pidfile, for
1051	  startup management tools like daemontools.
1052
105328 August 2019: Wouter
1054	- In tests check for tls test tool availability.
1055
105619 August 2019: Wouter
1057	- Tag for 4.2.2 release.  Git master contains 4.2.3 in development.
1058
105913 August 2019: Wouter
1060	- Fix error message for out of zone data to have more information.
1061	- Tag for 4.2.2rc2.
1062
106312 August 2019: Wouter
1064	- Fix #33: Fix segfault in service of remaining streams on exit.
1065
10666 August 2019: Wouter
1067	- Tag for 4.2.2rc1.
1068
10695 August 2019: Wouter
1070	- PR #31: nsd-control: Add missing stdio header.
1071	- PR #32: tsig: Fix compilation without HAVE_SSL.
1072	- Cleanup tls context on xfrd exit.
1073
107431 July 2019: Wouter
1075	- Fix #29: SSHFP check NULL pointer dereference.
1076	- Fix #30: SSHFP check failure due to missing domain name.
1077	- Fix to timeval_add in minievent for remaining second in microseconds.
1078
107922 July 2019: Wouter
1080	- Set timeout for refetch immediately, only spread load when there
1081	  are retries.
1082
108319 July 2019: Wouter
1084	- Set no renegotiation on the SSL context to stop client
1085	  session renegotiation.
1086
108718 July 2019: Wouter
1088	- Fix #25: NSD doesn't refresh zones after extended downtime,
1089	  it refreshes the old zones, with a random delay of a couple of
1090	  seconds to spread the load.
1091	- Fix so that expired zones stay expired when server is down a
1092	  long time.
1093
109417 July 2019: Wouter
1095	- Fix that NSD warns for wrong length of the hash in SSHFP records.
1096
109715 July 2019: Wouter
1098	- PR #23: Fix typo in nsd.conf man-page.
1099
11004 July 2019: Wouter
1101	- Set version to 4.2.2 in development.
1102	- clean memory on exit of nsd-checkzone for memory debug.
1103	- Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the
1104	  dname_concatenate() function.  Reported by Frederic Cambus.
1105	  It causes the zone parser to crash on a malformed zone file,
1106	  with assertions enabled, an assertion catches it.
1107	- Fix #19: Out-of-bounds read caused by improper validation of
1108	  array index.  Reported by Frederic Cambus.  The zone parser
1109	  fails on type SIG because of mismatched definition with RRSIG.
1110
11112 July 2019: Wouter
1112	- Tag for 4.2.1rc1
1113
111427 June 2019: Wouter
1115	- Fix unit test for added options and no dot after zone updated
1116	  log message.
1117	- Fix compile without accept4.
1118
111921 June 2019: Wouter
1120	- Omit remaining tcp processing if the list is empty.
1121	- Fix output of nsd-checkconf -h.
1122
112320 June 2019: Wouter
1124	- Initialize event structures before event_set, to stop uninitialized
1125	  values from setting event library lists and assertions, that would
1126	  sometimes also show after event_del.
1127	- Added num.tls and num.tls6 stat counters.
1128	- PR #12: send-buffer-size, receive-buffer-size,
1129	  tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek.
1130	- Do not use symbol from libc, instead use own replacement, if not
1131	  available, for accept4.
1132	- Fix #14, tcp connections have 1/10 to be active and have to work
1133	  every second, and then they get time to complete during a reload,
1134	  this is a process that lingers with the old version during a version
1135	  update.
1136
113719 June 2019: Wouter
1138	- Fix tls handshake event callback function mistake, reported
1139	  by Mykhailo Danylenko.
1140
114118 June 2019: Wouter
1142	- Fix #15: crash in SSL library, initialize variables for TCP access
1143	  when TLS is configured.
1144
114514 June 2019: Wouter
1146	- Fix to init event not pointer, in reassignment.
1147
114812 June 2019: Wouter
1149	- Fix to init event structure for reassignment.
1150
115111 June 2019: Wouter
1152	- NSD 4.2.0 release.  Current development is 4.2.1.
1153	- Fixup of RELNOTES, corrected RFC reference for 4892.
1154	- Fix #13: Stray dot at the end of some log entries, removes dot
1155	  after updated serial number in log entry.
1156	- Fix TLS cipher selection, the previous was redundant, prefers
1157	  CHACHA20-POLY1305 over AESGCM and was not as readable as it could be.
1158	- Consolidate server tls context create and remote control context
1159	  create, with hardening for the remote control tls context too.
1160
11616 June 2019: Wouter
1162	- NSD 4.2.0rc1 tag.
1163
11644 June 2019: Wouter
1165	- Fix unit test for outgoing interface to use random port numbers for
1166	  the outgoing interface config.
1167
116829 May 2019: Wouter
1169	- Fix to guard _OPENBSD_SOURCE from redefinition.
1170
117128 May 2019: Wouter
1172	- Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD.
1173
117416 May 2019: Wouter
1175	- Fix #10: Fix memory leaks caused by duplicate rr and include
1176	  instructions.
1177
11786 May 2019: Wouter
1179	- Note CII best practices badge for NSD on the README.md.
1180
11812 May 2019: Wouter
1182	- Fix .gitignore for unit test generated files.
1183	- Fix checkconf unit test for hide-identity and tls.
1184
11851 May 2019: Wouter
1186	- Fix makedist.sh for use with git.
1187	- Nicer output on travis for clang analysis.
1188	- Add .gitignore file to exclude built files from version tracking.
1189	- Add README.md file in repository with compile instructions.
1190	- Fix .gitignore for dnstap files and aclocal temp.
1191	- Add aclocal to README.md for pkgconfig for some configure options.
1192
119325 April 2019: Wouter
1194	- Add tls.tpkg unit test for DNS over TLS functionality.
1195
119618 April 2019: Wouter
1197	- Fix to avoid buffer alloc with global buffer in tls write handler.
1198	- Fix to initialize event structure when accepting TCP connection.
1199	- Use travis for build check, initial unit test and clang analysis.
1200	- Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl.
1201	- Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE.
1202	- further setup ssl ctx after the keys are loaded, for ECDH.
1203	- TLS OCSP stapling support, enabled with tls-service-ocsp: filename,
1204	  patch from Andreas Schulze.
1205
120617 April 2019: Wouter
1207	- Fix to share openssl init code, and perform it once.
1208
120916 April 2019: Andreas via Sara
1210	- Patch to add support for TCP Fast Open
1211	- Patch to add support for tls service on a specified tls port
1212
121316 April 2019: Wouter
1214	- Fix #4249: The option hide-identity: yes stops NSD from responding
1215	  with the hostname for chaos class queries.  Implements the RFC4829
1216	  security considerations.
1217	- Remove starttls, this signalling method was not standardized.
1218	- Remove TO bit, this signalling method was not standardized.
1219	- Remove unused first_query and tls_ok states.
1220	- Remove sign-compare warning in tls packet send code.
1221	- Fix spelling in comment and log printout.
1222	- Fix potential uninitialized variable.
1223	- Fix documentation for DNS over TLS, and set default port 853.
1224	- Fix to add missing comment.
1225	- Fix that the TLS handshake routine sets the correct event to
1226	  continue when done.
1227	- Fix that TLS renegotiation calls the read and write routines again
1228	  with the same parameters when the desired event has been satisfied.
1229	- Fix that TCP Fastopen has better error message and supports OSX.
1230	- Fix log for fastopen with verbosity.
1231	- Squelch TLS handshake failure log until verbosity 3.
1232	- Add per-zone statistics for TLS queries, and dnstap for TLS queries,
1233	  and rcode and TCflag statistics for TCP and TLS queries.
1234
123525 March 2019: Wouter
1236	- Print IP address when bind socket fails with error.
1237
123821 March 2019: Wouter
1239	- Fix spelling error in release notes.
1240	- Fix to delete unused zparser.default_apex member.
1241
124219 March 2019: Wouter
1243	- tag 4.1.27rc1.  This became 4.1.27 on 25 March 2019 and trunk has
1244	  4.1.28 in development.
1245
124618 March 2019: Wouter
1247	- Fix unit test bug013_truncate for new truncation with EDNS size,
1248	  it is one RR smaller for the truncated response in the test.
1249
125014 March 2019: Wouter
1251	- Fixed radtree_insert memory leak.
1252	- Fixed access recycled variable.
1253
125411 March 2019: Wouter
1255	- Fix #6: nsd-control-setup: Change validity time to a shorter
1256	  period (<2038).
1257	- Fix unused definition in header remote.h.
1258	- Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big.
1259	- Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets.
1260
126118 February 2019: Wouter
1262	- Fix to remove unused code.
1263
126415 February 2019: Wouter
1265	- tentative robustness, delete stats items from list twice if needed.
1266
126714 February 2019: Wouter
1268	- Fix #4: setusercontext() is in libutil on NetBSD, and also
1269	  include login_cap.h only if it exists.
1270	- Fix #4215: fixup for state update for TSIG information in server
1271	  processes, nicer printout for tsig_print, tsig_print without
1272	  arguments and no leaks.
1273	- nicer logging for update_tsig.
1274
12751 February 2019: Wouter
1276	- Fix for tsig assoc_tsig command on acl with nokey elements.
1277
127829 January 2019: Wouter
1279	- Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds
1280	  nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig
1281	  and del_tsig.  These changes are gone after reload, edit the
1282	  config file (or a file included from it) to make changes that
1283	  last after restart.
1284	- documentation for tsig nsd-control options.
1285
128624 January 2019: Wouter
1287	- Deny ANY with only one RR in response, by default.  Patch from
1288	  Daisuke Higashi.  The deny-any statement in nsd.conf sets ANY
1289	  queries over UDP to be further moved to TCP as well.
1290	  Also no additional section processig for type ANY, reducing
1291	  the response size.
1292	- assertions for clang analysis.
1293
129410 December 2018: Wouter
1295	- Fix for FreeBSD port with dnstap enabled.
1296
12976 December 2018: Wouter
1298	- Fix to reduce region_log_stats if condition, this removes a
1299	  debug statement.
1300
13015 December 2018: Wouter
1302	- Fix #4213: disable-ipv6 and dnstap compile error.
1303
13043 December 2018: Wouter
1305	- Note that the content_list member is unused; and could be removed
1306	  if the database format is modified or updated.
1307	- Fix that dnstap logs CQ and CR like BIND does.
1308	- Revert that, it looks wrong, AQ and AR are for the authoritative.
1309
131029 November 2018: Wouter
1311	- Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018.
1312	  Trunk has 4.1.27 in development.
1313	- Fix clang analysis warning on null in closest encloser for wildcard
1314	  denial nsec.
1315	- Fix clang analysis warnings.
1316
131727 November 2018: Wouter
1318	- Fix parsezone failure in 4194 fix.
1319
132026 November 2018: Wouter
1321	- Fix to not set GLOB_NOSORT so the nsd.conf include: files are
1322	  sorted and in a predictable order.
1323	- Added nsd-control changezone.  nsd-control changezone name pattern
1324	  allows the change of a zone pattern option without downtime for
1325	  the zone, in one operation.
1326	- Fix #3433: document that reconfig does not change per-zone stats.
1327
132820 November 2018: Wouter
1329	- Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails.
1330	  This sets the msg_hdr.msg_namelen correctly after receipt.
1331
133219 November 2018: Wouter
1333	- Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes
1334	  option in nsd.conf.
1335	- Fix #4202: nsd-control delzone incorrect exit code on error.
1336	- Tab style fix to use tab for 8 spaces, from Xiaobo Liu.
1337
133825 October 2018: Wouter
1339	- Adjust dnstap socket path for chroot.
1340
134122 October 2018: Wouter
1342	- Fix #4194: Zone file parser derailed by non-FQDN names in RHS of
1343	  DNSSEC RRs.
1344	- Fix some more, neater code and checks for domain length limit.
1345	- check that the dnstap socket file can be opened and exists, print
1346	  error if not.
1347
13484 October 2018: Wouter
1349	- dnstap work, the dnstap.proto is a copy of the file from Unbound,
1350	  also dnstap.m4 configure include file.
1351	- dnstap collector: free eventbase and memclean nicer.
1352	- dnstap collector: send data and read it in collector.
1353	- dnstap/dnstap.c and .h from Unbound's contribution from
1354	  Farsight Security, added to then adapt it for dnstap logging in NSD.
1355	- dnstap.c with auth query and auth response, and called from
1356	  the collector.
1357	- dnstap work, config nsd.conf parse.
1358	- dnstap example config.
1359
136025 September 2018: Wouter
1361	- NSD 4.1.25 released, trunk has 4.1.26 in development.
1362
136318 September 2018: Wouter
1364	- tag for NSD 4.1.25rc1.
1365
136617 September 2018: Wouter
1367	- Fix #4156: Fix systemd service manager state change notification
1368
136914 September 2018: Wouter
1370	- Remove unused if clause during server service startup.
1371
137213 September 2018: Wouter
1373	- Fix typo in clang analysis test.
1374	- Annotate exit functions with noreturn.
1375	- nsd-control prints neater errors for file failures.
1376
137712 September 2018: Wouter
1378	- clang analysis test.
1379
138011 September 2018: Wouter
1381	- Fix to combine the same error function into one, from Xiaobo Liu.
1382	- Fix initialisation in remote.c.
1383	- please clang analyzer and fix parse of IPSECKEY with bad gateway.
1384	- Fix unit test code for clang analyzer.
1385	- Fix nsd-checkconf fail on bad zone name.
1386
138710 September 2018: Wouter
1388	- Fix coding style in nsd.c
1389
13907 September 2018: Wouter
1391	- append_trailing_slash has one implementation and is not repeated
1392	  differently.
1393
13944 September 2018: Wouter
1395	- Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu.
1396
139715 August 2018: Wouter
1398	- Fix use_systemd typo/leftover in remote.c.
1399
140013 August 2018: Wouter
1401	- tag for 4.1.24 release.
1402	- trunk is 4.1.25 in development.
1403	- Fix that nsec3 precompile deletion happens before the RRs of
1404	  the zone are deleted.
1405	- Fix printout of accepted remote control connection for unix sockets.
1406
14076 August 2018: Wouter
1408	- tag for 4.1.24rc1 release.
1409
141030 July 2018: Wouter
1411	- Tag for NSD 4.1.23 release, trunk is 4.1.24, includes
1412	  fix NSD time sensitive TSIG compare vulnerability.
1413	- Fix checkconf test for use-systemd option.
1414
141525 July 2018: Wouter
1416	- #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM
1417	  chain, NSD leniently attempts to find a working NSEC3PARAM.
1418
141923 July 2018: Wouter
1420	- Remove socket activation from systemd code, it was reported as
1421	  not useful to enable.  The readiness signalling is still there,
1422	  and can be enabled with use-systemd: yes.
1423	- Only call sd_notify from systemd when use-systemd is yes.
1424
14256 July 2018: Wouter
1426	- RFC8162 support, for record type SMIMEA.
1427	- Fix that type CAA (and URI) in the zone file can contain
1428	  dots when not in quotes.
1429
143026 June 2018: Wouter
1431	- configure --enable-systemd (needs pkg-config and libsystemd) can
1432	  be used to then use-systemd: yes in nsd.conf and use socket
1433	  activation and readiness signalling with systemd.
1434
143519 June 2018: Wouter
1436	- #4106: Fix that stats printed from nsd-control are recast from
1437	  unsigned long to unsigned (remote.c).
1438
143914 June 2018: Wouter
1440	- Fix that first control-interface determines if TLS is used.  Warn
1441	  when IP address interfaces are used without TLS.
1442
144312 June 2018: Wouter
1444	- #4102: control interface via local socket.
1445	  configure it with control-interface: "/path/nsd.ctl"  The path
1446	  has to start with a / to separate it from an IP address.
1447	  The local socket does not use SSL, but unencrypted traffic, use
1448	  file and containing directory permissions to restrict access.
1449
14506 June 2018: Wouter
1451	- Patch to fix openwrt for mac os build darwin detection in configure.
1452
14534 June 2018: Wouter
1454	- tag for 4.1.22rc1.  Became 4.1.22 on 11 June, trunk is 4.1.23 in
1455	  development from this point.
1456
145731 May 2018: Wouter
1458	- Fix to use same condition for nsec3 hash allocation and free.
1459
146023 May 2018: Wouter
1461	- Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD
1462	  and OpenBSD.
1463
146422 May 2018: Wouter
1465	- Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones.
1466
146715 May 2018: Wouter
1468	- Fix memory free in unit test.
1469
147014 May 2018: Wouter
1471	- Tag for 4.1.21 release.
1472	- trunk has 4.1.22 in development.
1473	- refuse-any sends truncation (+TC) in reply to ANY queries over UDP,
1474	  and allows TCP queries like normal.
1475
14767 May 2018: Wouter
1477	- Tag for 4.1.21rc1 release.
1478
14794 May 2018: Wouter
1480	- Fix #4093: Release notes not using 2018.
1481
14823 May 2018: Wouter
1483	- Fix buffer size warnings from compiler on filename lengths.
1484
148526 April 2018: Wouter
1486	- lower memory usage for tcp connections, so tcp-count can be higher.
1487	- Fix checkconf test for refuse-any option.
1488
14893 April 2018: Wouter
1490	- refuse-any nsd.conf option that refuses queries of type ANY.
1491
14925 March 2018: Wouter
1493	- Fix #3562: explain build error when flex missing.
1494
149520 February 2018: Wouter
1496	- For more clang warnings
1497	- Fix spelling error in xfr-inspect.
1498
149919 February 2018: Wouter
1500	- Fix for clang analysis complaints.
1501
150215 February 2018: Wouter
1503	- --enable-memclean cleans up memory for use with memory checkers,
1504	  eg. valgrind.
1505	- Fix unused variable warnings from clang analyzer.
1506
150714 February 2018: Wouter
1508	- updated RELNOTES for upcoming release.
1509	- tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in
1510	  development.
1511
15129 February 2018: Wouter
1513	- make depend: updated the make dependencies in the Makefile.
1514
15158 February 2018: Wouter
1516	- Fix memory leak when rehashing nsec3 after axfr or zonefile read,
1517	  in the selectively allocated precompiled nsec3 hashes.
1518
15196 February 2018: Wouter
1520	- Fix memory leak in zone file read of unknown rr formatted RRs.
1521
152211 December 2017: Wouter
1523	- Add test for support of -Wno-address-of-packed-member for
1524	  --enable-packed.
1525	- tag for release 4.1.19
1526	- trunk has 4.1.20 in development.
1527
15288 December 2017: Wouter
1529	- tag for 4.1.19rc1
1530
15317 December 2017: Wouter
1532	- Fixup lexer warning for gcc 4.2.
1533
15346 December 2017: Wouter
1535	- Fix 3392: Fix regression in 4.1.18 for notify lists with ip4
1536	  and ip6 targets.
1537
15385 December 2017: Wouter
1539	- Fix spelling error in xfr-inspect.
1540
15411 December 2017: Wouter
1542	- Fix warnings emitted by clang for --enable-packed.  Alignment is not
1543	  a problem for x86_64, don't enable packed when the platform
1544	  requires aligned access.
1545
154630 November 2017: Wouter
1547	- tag for 4.1.18 release.
1548	- trunk has 4.1.19 in development.
1549	- ignore fallthrough compiler warning in flex EOF rule.
1550
155127 November 2017: Wouter
1552	- Fix crash for DS query when parent and child zones both configured
1553	  in nsd.conf and parent zone has not loaded properly.
1554	- tag for 4.1.18rc2.
1555
155616 November 2017: Wouter
1557	- tag for 4.1.18rc1.
1558
155914 November 2017: Wouter
1560	- Fix #2871: Increase number of sockets for xfrd transfers.
1561
15626 November 2017: Wouter
1563	- Set usage counts in namedb tree to uint32 to save memory.
1564	- Fix up debug content from nsec3 collision printout work.
1565
15662 November 2016: Wouter
1567	- make ip-transparent option work on OpenBSD.
1568
156911 October 2016: Wouter
1570	- Fix #1567: Change crit to err log level for gettimeofday failure.
1571	  Add defines for compile without syslog.
1572
15739 October 2016: Wouter
1574	- Fix collision printout of nsec3 to print name, hash and reverse.
1575
15762 October 2016: Wouter
1577	- nsd-control zonestatus prints wait time between attempts, for zones
1578	  that are in that waiting time.
1579
158019 September 2016: Wouter
1581	- merges feature branch branches/alloced_prehashes into trunk.
1582
158318 September 2016: Wouter
1584	- Fix #1446: A corrupted zone file "propagates" to good ones.
1585
158614 September 2016: Wouter
1587	- Fix layout in xfrd.c.
1588
15896 September 2017: Willem
1590	- Save memory by selectively allocate precompiled nsec3 hashes
1591
159229 August 2016: Wouter
1593	- With --enable-packed save memory, at expense of unaligned reads.
1594	- Fix writev compile warning on FreeBSD.
1595
159625 July 2016: Wouter
1597	- NSD sends up to 16 notifies simultaneously for up to 64 zones,
1598	  to increase rate of notification for large master configurations.
1599
160024 July 2016: Wouter
1601	- Fix gcc 7.1.1 warnings.
1602
160317 July 2016: Wouter
1604	- Trunk has 4.1.18
1605	- xfr-inspect is part of source dir, but not made or installed by
1606	  default.
1607	- retry timeout between sending notifies dropped from 15 to 3 sec.
1608
160913 July 2016: Wouter
1610	- tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017.
1611
161229 June 2016: Wouter
1613	- make depend.
1614
161526 June 2016: Wouter
1616	- Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
1617	  empty base64 or hex string.
1618
161923 June 2016: Wouter
1620	- Fix potential null pointer in nsec3 adjustment tree.
1621
162215 June 2016: Wouter
1623	- xfr-inspect debug tool prints out xfr contents of files in tmp.
1624
16256 June 2016: Wouter
1626	- Fix #1272: use writev to put tcp length field with data for outgoing
1627	  zone transfer requests.
1628
162916 May 2016: Wouter
1630	- zone parser parses type AVC (it has TXT format).
1631
163225 April 2016: Wouter
1633	- 4.1.16 release tag.
1634	- trunk contains 4.1.17 in development.
1635
163611 April 2016: Wouter
1637	- 4.1.16 rc1 tag for release.
1638	- minor manpage fix.
1639
16405 April 2016: Wouter
1641	- Patch for expire state in multi-master when masters includes
1642	  broken master.
1643
164427 March 2016: Wouter
1645	- Fix 1243: Option to make NSD emit really minimal responses,
1646	  minimal-responses: yes in nsd.conf.
1647	- but they give additional information for priming queries (type NS).
1648
16496 March 2016: Wouter
1650	- Fix 1228: OpenSSL include is not guarded with HAVE_SSL
1651
165228 February 2016: Wouter
1653	- Printout serial error with hint it may be too big.
1654
165520 February 2016: Wouter
1656	- Fix missing _t to _type conversion for disable-radix-tree option.
1657
165815 February 2016: Wouter
1659	- zone parser can parse acronyms for algorithms ED25519 and ED448.
1660
166113 February 2016: Wouter
1662	- Calculate new udb index after growing the array, fix from
1663	  Chaofeng Liu.
1664
16657 February 2016: Wouter
1666	- tag for 4.1.15 rc1.  Which became 4.1.15 on 16 Feb.  Trunk 4.1.16.
1667
166819 January 2016: Wouter
1669	- Fix to rename _t typedefs because POSIX reserves them.
1670
16713 January 2016: Wouter
1672	- Fix #1195: Fix so that NSD fails on non-compliant values for Serial.
1673
167414 December 2016: Wouter
1675	- Squelch zone transfer error address family not supported by protocol
1676	  at low verbosity levels.
1677
167813 December 2016: Wouter
1679	- Fix nsd-control and ipv6 only.
1680
16818 December 2016: Wouter
1682	- tag 4.1.14
1683	- trunk contains 4.1.15 in development.
1684
16851 December 2016: Wouter
1686	- Fix restart of zone transfers when new config becomes available.
1687	- tag 4.1.14rc1
1688
168925 October 2016: Wouter
1690	- Fix #1132 for SERVFAIL zones perform backoff, and remembers the
1691	  timeout on next startup.
1692	- Save backoff timeout into xfrd.state file, this file has a higher
1693	  version number now.  Old files are skipped silently (causes
1694	  refresh) and created as new files upon exit.
1695	- Set number of rounds to 1; NSD will try every master once, then
1696	  wait for timeout or notify.
1697	- Fix axfr fallback for rounds to 1.
1698
169920 October 2016: Wouter
1700	- suppress compile warning in lex files.
1701
170218 October 2016: Wouter
1703	- Robust fix against missing master in tcp_open for xfrd.
1704	- More in depth fix for the previous.
1705	- Fix wildcards in include: config statements with chroot enabled.
1706
170727 September 2016: Wouter
1708	- NSD 4.1.13 tag.
1709	- trunk has 4.1.14 in development.
1710	- Fix null memcpy for radixtree with single link element.
1711
171219 September 2016: Wouter
1713	- Review comments Ralph: wrapped long lines and nicer example conf.
1714
171516 September 2016: Wouter
1716	- NSD 4.1.13rc1 tag.
1717
171815 September 2016: Wouter
1719	- Test for openssl init_crypto and init_ssl functions.
1720
172114 September 2016: Ralph
1722	- Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check
1723
172413 September 2016: Wouter
1725	- Fix double const in dname_const() function.
1726	- Silenced flex-generated sign-unsigned warning print with gcc
1727	  diagnostic pragma.
1728
17298 September 2016: Wouter
1730	- more extensible edns option handling.
1731
17322 September 2016: Wouter
1733	- Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that
1734	  does not contain the other changes to the trunk) is folded into
1735	  the trunk.
1736	- Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
1737
173825 August 2016: Wouter
1739	- Fix multimaster for not tried full zone transfer for a expired zone.
1740	- Explain --disable-radix tree uses some more CPU.
1741
174222 August 2016: Wouter
1743	- Fix README spelling error of BSD license (reported by Joerg Jung).
1744
174519 August 2016: Wouter
1746	- for type SRV add A/AAAA to the additional section (if possible),
1747	  just like we already do for type MX.
1748
174917 August 2016: Wouter
1750	- Add robustness against unallocated data in nsec3 trees.
1751
175216 August 2016: Wouter
1753	- configure --disable-radix-tree for about 15% lower memory usage.
1754
175512 August 2016: Wouter
1756	- Fix #817: xfrd update failed loop.
1757
17589 August 2016: Wouter
1759	- Can config key algorithms with the digest name, eg. 'sha256'.
1760	- default tsig algorithm is sha256.
1761	- Fix typo in log output, 'transfered' -> 'transferred'.
1762	- Fix compile warnings about signcompare in minmax retrytime.
1763
17648 August 2016: Wouter
1765	- Support syntax of RR type OPENPGPKEY from RFC 7929.
1766
17675 August 2016: Wouter
1768	- multi-master-check: yes can be used to check all masters for the
1769	  last version, using the higher version from the configured masters,
1770	  from Manabu Sonoda.
1771	- small fixups on patch.  And fix spacing and remove configure flag.
1772	- Fix #812: make depend fails after distribution.
1773
17742 August 2016: Wouter
1775	- Fix unused result warnings from write and strtol.
1776
17771 August 2016: Wouter
1778	- Tag 4.1.11rc1.
1779	- Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.
1780	- Tag 4.1.11rc2.
1781	- trunk is 4.1.12 in development.
1782
17838 July 2016: Wouter
1784	- Note down tracking numbers for issue JVN#63359718 JPCERT#91251865.
1785
17865 July 2016: Wouter
1787	- Fix #790: size-limit-xfr can stop NSD from downloading infinite zone
1788	  transfer data size, from Toshifumi Sakaguchi.
1789
179027 June 2016: Wouter
1791	- Set default for min-refresh-time and min-retry-time to 0.  Behaves
1792	  just like before, but has a configurable option in nsd.conf.
1793	- Fix #783: Trying to run a root server without having configured it
1794	  silently gives wrong answers.
1795
179616 June 2016: Wouter
1797	- When tcp is more than half full, use short timeout for tcp session.
1798	- Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
1799	- man page entries for max-refresh-time patch.
1800
180115 June 2016: Wouter
1802	- Fix build without IPv6, patch from Zdenek Kaspar.
1803
180414 June 2016: Wouter
1805	- release 4.1.10 and tag for that.
1806	- trunk has 4.1.11 in development.
1807
18087 June 2016: Wouter
1809	- Fix NSEC3 ent fix to use closest encloser, not wildcard denial.
1810
18112 June 2016: Wouter
1812	- Fix for NSEC3 with zone signed without exact match for empty
1813	  nonterminals, the answer for that domain gets wildcard denial.
1814	- #772 Document that recvmmsg has IPv6 problems on some linux kernels.
1815	- tag for 4.1.10rc1.
1816
181731 May 2016: Wouter
1818	- print notice that nsd is starting before taking off.
1819
182020 May 2016: Wouter
1821	- Updated fix for nonterminal nsec3 answers.
1822
182319 May 2016: Wouter
1824	- Fix empty nonterminal nsec3 cover answers.
1825
182612 May 2016: Wouter
1827	- NSD includes AAAA before A for queries over IPV6 (in delegations).
1828	  And TC is set if no glue can be provided with a delegation because
1829	  of packet size.
1830
183119 April 2016: Wouter
1832	- Fix #755: NSD spins after a zone update and a lot of TCP queries.
1833
18347 April 2016: Wouter
1835	- If set without nsd.db print "" as the default in the man pages.
1836
18374 April 2016: Wouter
1838	- Fix #751: NSD fails to occlude names below a DNAME.
1839
184024 March 2016: Wouter
1841	- Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl.
1842
184321 March 2016: Wouter
1844	- Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test.
1845	- acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto.
1846
184715 March 2016: Wouter
1848	- ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option
1849	  for Linux, binds to interfaces and addresses that are down.
1850	- Change the nsd.db file version because of nanosecond precision fix.
1851	- 4.1.9 release with the nsd.db file version fix (but not freebind),
1852	  trunk contains 4.1.10 in development.
1853
185410 March 2016: Wouter
1855	- Tag 4.1.8
1856	- Trunk contains 4.1.9 in development.
1857
18582 March 2016: Wouter
1859	- Tag 4.1.8rc1
1860
18611 March 2016: Wouter
1862	- #744: Fix that NSD replies for configured but unloaded zone
1863	  with SERVFAIL, not REFUSED.
1864
186516 February 2016: Wouter
1866	- RR type CSYNC (RFC7477) syntax is supported.
1867
186829 January 2016: Wouter
1869	- #739: zonefile changes when mtime is small are detected on reload,
1870	  if filesystem supports precision mtime values.
1871
187219 January 2016: Wouter
1873	- Fix #736: segfault during zone transfer.
1874
187508 January 2016: Wouter
1876	- Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes.
1877
187805 January 2016: Wouter
1879	- #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch
1880	  from Daisuke Higashi.
1881
188204 January 2016: Wouter
1883	- Updated acx_nlnetlabs to version 32.
1884
188511 December 2015: Wouter
1886	- Fix flto check for OSX clang.
1887
188810 December 2015: Wouter
1889	- 4.1.7 release
1890	- trunk has 4.1.8 in development.
1891	- take advantage of arc4random_uniform if available, patch from
1892	  Loganaden Velvindron.
1893
18943 December 2015: Wouter
1895	- tag for 4.1.7rc1 prerelease.
1896
18972 December 2015: Wouter
1898	- configure --enable-ratelimit-default-is-off with --enable-ratelimit
1899	  to set the default ratelimit to disabled but available in nsd.conf.
1900	- Document that ratelimit qps and slip are updated in reconfig.
1901	- version: "string" option to set chaos version query reply string.
1902	- Fix up defaults in manpage.
1903
19041 December 2015: Wouter
1905	- Explain rrl-slip better in documentation.
1906
190730 November 2015: Wouter
1908	- Fix TCP responses when REUSEPORT is in use by turning it off.
1909	- reuseport: no is the default, because the feature is not troublefree.
1910	- Document default in manpage for rrl-slip, ip4 and 6 prefixlength.
1911
191224 November 2015: Wouter
1913	- Fix zonec ttl mismatch printout to include more information.
1914
191518 November 2015: Wouter
1916	- RELNOTES more descriptive.
1917	- newer acx_nlnetlabs.m4.
1918	- spelling fixes from Igor Sobrado Delgado.
1919
192017 November 2015: Wouter
1921	- Fix #721: Fix wrong error code (FORMERR) returned for unknown
1922	  opcode.  NOTIMP expected.
1923
192416 November 2015: Wouter
1925	- Allocate less memory for TSIG digest.
1926
19276 November 2015: Wouter
1928	- Fixup for newer acx_nlnetlabs.m4, test for openssl version after
1929	  testing for libdl need.
1930
19315 November 2015: Wouter
1932	- newer acx_nlnetlabs.m4, does not needlessly link with -ldl.
1933
193430 October 2015: Wouter
1935	- Fix tpkg tests for portability.
1936
193729 October 2015: Wouter
1938	- patch from Doug Hogan for SSL_OP_NO_SSLvx options.
1939	- updated contrib/nsd.spec, from Bálint Szigeti.
1940	- support configure --with-dbfile="" for nodb mode by default, where
1941	  there is no binary database, but nsd reads and writes zonefiles.
1942
194327 October 2015: Wouter
1944	- portability fixes.
1945
194626 October 2015: Wouter
1947	- Init pfd for handlers added during handler-event-walk.
1948
194923 October 2015: Wouter
1950	- Fix many interfaces and zones updates from nsd parent event loop.
1951
195222 October 2015: Wouter
1953	- 4.1.6 release tag.
1954	- trunk contain 4.1.7 in development.
1955
195620 October 2015: Wouter
1957	- 4.1.6rc2 tag created.
1958
195919 October 2015: Wouter
1960	- Fix compile of zonec error message on FreeBSD.
1961
196215 October 2015: Wouter
1963	- 4.1.6rc1 tag created.
1964
196513 October 2015: Wouter
1966	- nsd-checkconf warns for master zones with no zonefile statement.
1967	- Fix start failure when many file descriptors are in use.
1968	- The servfail rcode is not printed with a space in the middle.
1969	- fixup file descriptor fixup nicer.
1970	- print failed token for config syntax error or parse error.
1971
197212 October 2015: Wouter
1973	- Fix #711: Document that debug-mode yes is used for staying
1974	  attached to the supervisor console.
1975	- Document verbosity 3 prints more information.
1976
197730 September 2015: Wouter
1978	- makedist.sh print on pgp signature creation.
1979
198028 September 2015: Wouter
1981	- Fix typo in zonec.c inside error message.
1982
198324 September 2015: Wouter
1984	- Fix #701: Fix that AD=1 set in a BADVERS response.
1985
198621 September 2015: Wouter
1987	- Fix #706: default port 53 not opened on ip4 because of getaddrinfo
1988	  hints initialisation failure.
1989	- 4.1.5 release tag
1990	- trunk contains 4.1.6 in development.
1991
19929 September 2015: Wouter
1993	- 4.1.4 release tag created.
1994	- trunk contains 4.1.5 in development.
1995
199631 August 2015: Wouter
1997	- 4.1.4rc1 tag created.
1998
199928 August 2015: Wouter
2000	- Fix #698 formatting errors and typos in nsd.8.in.
2001	- Add --enable-pie and --enable-relro-now options.
2002
200318 August 2015: Wouter
2004	- Admitted axfrs are logged at verbosity 1.  Refused at verbosity 2.
2005
200617 August 2015: Wouter
2007	- Fixed checkconf test for reuseport setting.
2008
200914 August 2015: Wouter
2010	- SO_REUSEPORT does not work on FreeBSD.  Enabled by default on Linux,
2011	  not enabled by default on other OSes.
2012
20135 August 2015: Wouter
2014	- Fix that notify from nsd-control contains soa serial.
2015
20163 August 2015: Wouter
2017	- squelch SO_REUSEPORT failure on verbosity less than 3.
2018
201931 July 2015: Wouter
2020	- removed hardcoded interface limit, --with-max-ips removed.
2021	- SO_REUSEPORT support.
2022
202316 July 2015: Wouter
2024	- Fix #618: documented need to list ip-addresses separately in
2025	  nsd.conf if there are multiple, because the source address of
2026	  replies can otherwise go wrong.
2027
202810 July 2015: Wouter
2029	- Fix that for expired zones NSD performs an AXFR and accepts newer
2030	  and older serial numbers.
2031	- Document that minimal responses only minimizes responses to fit
2032	  in one datagram.  It does not minimize smaller responses.
2033
20342 July 2015: Wouter
2035	- Fix NSID response for short edns sizes.
2036
203723 June 2015: Wouter
2038	- Trunk contains 4.1.4 in development.
2039
20404 June 2015: Wouter
2041	- Tag 4.1.3rc1
2042	- improve nsd-control usage text. (23 june - added to 4.1.3)
2043	- RFC7553 RR Type URI support.
2044
20452 June 2015: Wouter
2046	- Fix redefined macro lex warning for freebsd flex.
2047
204829 May 2015: Wouter
2049	- Fix that formerrors are ratelimited.
2050
205119 May 2015: Wouter
2052	- max-interfaces raised to 32.
2053
205418 May 2015: Wouter
2055	- removed unused defines for unofficial tsig-hmac algorithm codes.
2056	  The TSIG algorithm is identified by name in the config file.
2057
205814 May 2015: Wouter
2059	- hmac sha224, sha384 and sha512 support, patch from David Gwynne.
2060
206123 April 2015: Wouter
2062	- Fix crash in zone parser for relative dname after error in origin.
2063	- Test for zone parser failures
2064
206521 April 2015: Wouter
2066	- nsd-control addzones and delzones read list of zones from stdin.
2067	- Fix task and zonestat files to be stored in a subdirectory in tmp
2068	  to stop privilege elevation.
2069	- printout names for successful addition and removal with bulk command.
2070
207120 April 2015: Wouter
2072	- Fix #665: when removing subdomain, nsd does not reparse parent zone.
2073
207414 April 2015: Wouter
2075	- trunk contains 4.1.3(upcoming).
2076
20777 April 2015: Wouter
2078	- Tag 4.1.2rc2.
2079
20802 April 2015: Wouter
2081	- Made log message more consistent, changed 'axfr refused' log message
2082	  to be more consistent with other messages.  Also notify refused.
2083	- verbosity 2 logs axfr refused and notify refused.
2084	  verbosity 1 contains less log messages.
2085
208631 March 2015: Wouter
2087	- Tag 4.1.2rc1.
2088
208924 March 2015: Wouter
2090	- Fix #654: Fix contradiction in notify logging verbosity level.
2091	- Incoming notifies have serial number logged (at verbosity 1).
2092	- Fix #655: Fix contradiction in verbosity for zone transfers.
2093
209417 March 2015: Wouter
2095	- Use reallocarray for integer overflow protection, patch submitted
2096	  by Loganaden Velvindron.
2097	- Fix allocation integer overflow checks.
2098
209913 March 2015: Wouter
2100	- Fix buffer overflow in config parse of domain name,
2101	  reported by John Van de Meulebrouck Brendgard.
2102
210312 March 2015: Wouter
2104	- Updated default keylength in nsd-control-setup to 3k.
2105
210610 March 2015: Wouter
2107	- Fix use after free after zonefile syntax error followed by ttl
2108	  or origin directive, reported by John Van de Meulebrouck Brendgard.
2109	- Fix syntax error followed by too many TXT elements parse crash
2110	  reported by John Van de Meulebrouck Brendgard.
2111
21129 March 2015: Wouter
2113	- Fix origin directive from unused old value and subdomain parser
2114	  failure, reported by John Van de Meulebrouck Brendgard.
2115
21162 March 2015: Wouter
2117	- Fix b64pton out of bounds error on invalid zonefile input
2118	  reported by John Van de Meulebrouck Brendgard.
2119
212020 February 2015: Wouter
2121	- Fix segfault on double origin in zone reader (thanks John Van de
2122	  Meulebrouck Brendgard).
2123
212419 February 2015: Wouter
2125	- Remove dead code domain_table_iterate.
2126	- Fix segfault in zone reader on invalid input
2127	  reported by John Van de Meulebrouck Brendgard.
2128
21295 February 2015: Wouter
2130	- Fix #642: Change 'zone read with no errors' to '.. with success'.
2131	  Patch from Benedikt Heine.
2132
21333 February 2015: Wouter
2134	- Tag 4.1.1 release
2135	- Trunk is 4.1.2 in development.
2136	- Remove some duplicate header includes (from Brad Smith).
2137	- Fix tcp waiting list for zone transfers where the bind and connect
2138	  calls fail.
2139
214029 January 2015: Wouter
2141	- Fix zonesdir chroot error message.
2142
214328 January 2015: Wouter
2144	- correct some hyphen-used-as-minus-sign (from Andreas Schulze) in
2145	  man pages.
2146
214727 January 2015: Wouter
2148	- Tag 4.1.1rc1
2149
215021 January 2015: Wouter
2151	- Synthesize CNAMEs with same TTL as DNAME.
2152
215312 January 2015: Wouter
2154	- Fix casts for ctype functions (from Todd Miller).
2155	- nsd-checkconf -f prints out full name of pidfile (with dir).
2156
21579 January 2015: Wouter
2158	- Fix bug#637: fix that nsd.db grows limitlessly, an off by one
2159	  on one megabyte free chunks, created during AXFRs of large zones,
2160	  that caused the one megabyte chunk to be leaked.
2161	- Fix udb-inspect for one megabyte chunks, counts and statistics.
2162
21636 January 2015: Wouter
2164	- Fix spinning NSD with lots of failing transfers, due to pointer
2165	  comparison using void pointer subtraction (from Otto Moerbeek).
2166
21675 January 2015: Wouter
2168	- Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE.
2169
21704 Nov 2014: Wouter
2171	- Document zonestat config, and nsd-checkconf access.
2172
21733 Nov 2014: Wouter
2174	- Fix that failure to add tcp to tcp base does not leak the socket.
2175
217627 Oct 2014: Wouter
2177	- Disabled use of SSLv3 in nsd-control.
2178	- zonestats are cleared (or not, with stats_noreset).
2179
218022 Oct 2014: Wouter
2181	- Test for wildcard fix (from 3.2).
2182
218316 Oct 2014: Wouter
2184	- Fixes for wildcard addition and deletion, speedup for some cases.
2185
218615 Oct 2014: Wouter
2187	- Fix that queries for noname CH TXT are REFUSED instead of nodata.
2188
218914 Oct 2014: Wouter
2190	- per zone statistics with --enable-zone-stats, configure with
2191	  zonestats: "zonestatidentifier", zones with the same id are added.
2192
219310 Oct 2014: Wouter
2194	- Fix #616: retry xfer for zones with no content after command.
2195	- Fix char used as array index warnings on NetBSD.
2196
21978 Oct 2014: Wouter
2198	- Fix "xfrd_handle_ipc: bad mode" log errors when compiled
2199	  with --disable-bind8-stats.
2200
220118 Sep 2014: Wouter
2202	- Fix that expired zones stay expired after a server restart.
2203
220415 Sep 2014: Wouter
2205	- RFC 7344: CDS and CDNSKEY (read in).
2206
22074 Sep 2014: Wouter
2208	- Tag 4.1.0.
2209	- trunk is 4.1.1 in development.
2210	- fix manpage for nsd-checkzone to have version and date.
2211
221229 Aug 2014: Wouter
2213	- Fix install of the nsd-checkconf man page.
2214
221528 Aug 2014: Wouter
2216	- Tag 4.1.0rc1
2217
221825 Aug 2014: Wouter
2219	- Increased default --with-max-ips from 8 to 16, this increases the
2220	  number of interfaces you can specify in nsd.conf to listen to.
2221
222219 Aug 2014: Wouter
2223	- Remove .LP after .SH in man pages.
2224
22257 Aug 2014: Wouter
2226	- Fix for process swap of main and reload, reload failure from the
2227	  pipe is acted on, and reload fail not cause nsd to shutdown, also
2228	  ignore sigchlds from the servermain in reload, that would cause
2229	  EINTR to break file reads.
2230	- trunk has version 4.1.
2231
22325 Aug 2014: Wouter
2233	- Fix #600: document that provide-xfr provides AXFR and not IXFR.
2234	- remove program group fix, because it is not needed.
2235	- Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
2236	  that keep track of all past process parents, or leak memory
2237	  for them.  Fix makes it so there is no very deep string of
2238	  process parents.
2239	  The reload process is now the process parent of servermain.  That
2240	  makes signals for children arrive at the reload, and servermain
2241	  has to use closed pipes to detect that children have exited.
2242
22431 Aug 2014: Wouter
2244	- Set program group on main process and its child processes, and
2245	  kill them on a reload.
2246
224720 July 2014: Wouter
2248	- Fix endian.h include for OpenBSD.
2249
225015 July 2014: Wouter
2251	- Fix -O3 compile flag to -O2 to avoid miscompilations.
2252	- Allow user to override the -g -O2 CFLAGS in ./configure.
2253
225411 July 2014: Wouter
2255	- fix strptime implicit declaration error on OpenBSD.
2256
22579 July 2014: Wouter
2258	- removed unnecessary arc4random_uniform.
2259
22608 July 2014: Matthijs
2261	- fake-rfc2553 patch (thanks Benjamin Baier).
2262
22638 July 2014: Wouter
2264	- wait and reap processes that are not part of the process group.
2265
22667 July 2014: Wouter
2267	- Code review fixup from NSD3.
2268
226930 Jun 2014: Wouter
2270	- Fix #590: rrl log does not print wildcard as a star but escaped.
2271	- Fix #591: rrl log messages at verbosity level 1.
2272	  (If that does not work for everyone, we need rrl-log: yesno option).
2273
227427 Jun 2014: Wouter
2275	- Fixup rr-test test so that it does not fail on the #553 string.
2276
227717 Jun 2014: Matthijs
2278	- Fix #587: Default value for statistics is 0.
2279	- Remove the shift-reduce conflicts from the bug#553 fix.
2280
22815 Jun 2014: Wouter
2282	- Fix roundrobin cornercase for truncated packets.
2283	- round-robin: yesno in nsd.conf enabled round robin rotation.
2284
228528 May 2014: Wouter
2286	- Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x.
2287	- Fix #583: Round-robin for records in the Answer section.
2288
228922 May 2014: Wouter
2290	- Fix zonefile parse with no whitespace before semicolon comments.
2291
229216 May 2014: Wouter
2293	- xfrd reaps children on a timer as well, similar to server_parent.
2294
22958 May 2014: Wouter
2296	- Fix #564: nsd-checkzone tool to check zonefile correctness.
2297
22987 May 2014: Wouter
2299	- Fix #577: makefile incorrectly installed manpages from srcdir.
2300
230130 April 2014: Wouter
2302	- Fix that xfrd reaps all children on every eventloop, because some
2303	  exited reloads may attach here and need reaping, also if the signal
2304	  is lost.
2305
230623 April 2014: Wouter
2307	- Fix progress printout for very large zones (numeric overflow).
2308
230910 April 2014: Wouter
2310	- Fix write_socket return value check in server.c (Thanks Brad Smith,
2311	  Mark Kettenis).
2312
23138 April 2014: Wouter
2314	- nsd-control addzone reports if zone already exists.
2315
23167 April 2014: Wouter
2317	- Fix #571: unused variable and incompatible pointer warnings when
2318	  compiled on a system without INET6.
2319
232027 March 2014: Wouter
2321	- Fix delete or rename of a lot of zones and make it take a
2322	  non-enormous time.  Database compaction is deferred.
2323	- Speed up deletion of zone contents a lot, (56s to 1s), speeds up
2324	  delete, rename and AXFR for zones.  Defer emptynonterminal checks.
2325	- Better example config in nsd.conf manual page.
2326	- log-time-ascii option, default yes, with readable timestamp in log.
2327
232825 March 2014: Wouter
2329	- nsd shuts down during init process if given signal.
2330	- shorter logging for zone transfer fail rcodes.
2331
233224 March 2014: Wouter
2333	- include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
2334	- Fix print filename of encompassing config file on read failure.
2335
233621 March 2014: Wouter
2337	- Fix bug in nodatabase mode with ixfrs that change nsec3param
2338	  (Thanks Anand Buddhdev).
2339	- Changed maxbackoff for no-content secondary zones from 4h to 24h.
2340	- nocontent zones are checked on startup, but continue backoff
2341	  from stored xfrd.state values.
2342
234319 March 2014: Wouter
2344	- made database: "" set the 3600 default for zonefileswrite only
2345	  if it is also at its default, so that user settings override.
2346	- Unit test for zonefiles-write.
2347	- Write xfrd.state for nodb mode again.  Disable xfrd.state with
2348	  xfrdfile: "" in config.  Does not check slave zone if state is
2349	  same as last time on startup.
2350	- Fixed shutdown message sporadically not printed on exit.
2351	- Documented zonefile %s syntax in nsd.conf man page.
2352	- Fix manpage to put colon after zonefiles check and write.
2353	- Change from 'Zone" to "zone" with ".. serial .. is updated" log
2354	  message.
2355
235618 March 2014: Wouter
2357	- unit test for nodb mode.
2358	- Speed up zone write (.nl zonefile 30% faster).
2359	  The memory alloc-dealloc in print_rr has been moved to print_rrs.
2360	- (from 3.2), fix for #553 and for other TXT string syntax.
2361	- in nodb mode, xfrd.state is not written out, because the zones
2362	  are refreshed upon next startup anyway, so keeping timers and state
2363	  is unnecessary.
2364	- zonefiles-write option in nsd.conf, enabled when database is "".
2365	  The server writes changed zonefiles to disk every hour.
2366
236717 March 2014: Wouter
2368	- Speed up zone parsing (.nl reads 40% faster).
2369	  The rrtype_from_string routine is called often, optimised it.
2370
237114 March 2014: Wouter
2372	- tag 4.0.3
2373	- trunk has 4.0.4 in development.
2374	- database: "" starts without mmap of database.  Less memory is used,
2375	  zones are read from text zonefile.
2376
237713 March 2014: Wouter
2378	- Fix nsd.db unclean close check.  Previous databases are considered
2379	  unclean by the code and are created anew.
2380	- Adds nsd.db larger than 400Tb check for sanity. Also test if
2381	  filesize as documented in the file is correct.
2382	- nsd waits for tasks to complete on stop, prevents nsd.db corruption.
2383	- fix to not delete tmpdir too early in shutdown process.
2384
238512 March 2014: Wouter
2386	- tag 4.0.2
2387	- trunk has 4.0.3 in development.
2388	- disabled udb checking functionality that made it very slow,
2389	  this was enabled when enable-checking was turned on.
2390
239127 February 2014: Wouter
2392	- tag 4.0.2rc1
2393
239426 February 2014: Wouter
2395	- Fix that NSD will delete and recreate not-clean-closed databases.
2396
239720 February 2014: Wouter
2398	- Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only
2399	check serial).
2400
240118 February 2014: Wouter
2402	- Fix leak of zone name after zonefile read.
2403	- Fix malloc too large that would be leaked in the radix tree.
2404
240514 February 2014: Wouter
2406	- configure change for easier compile on Minix.
2407
240810 February 2014: Wouter
2409	- Fix #552: zonefile loads on nsd-control reconfig when the name
2410	  of the file has changed.
2411
24127 February 2014: Wouter
2413	- Fix #551: change Regent to Copyright holder in the LICENSE,
2414	  to match the definition on opensource.org for the BSD License.
2415
24163 February 2014: Wouter
2417	- Disabled recvmmsg and sendmmsg usage by default because kernel
2418	  versions have implementation issues: ipv6 ignored, security issues.
2419	- Detect libevent2 install automatically by configure, and use
2420	  event2 header files if necessary.
2421	- Fixup link with lib/event2 subdir.
2422
242330 January 2014: Wouter
2424	- Fix expired zones to give SERVFAIL, also when parent zone loaded.
2425
242627 January 2014: Wouter
2427	- tag 4.0.1.
2428	- trunk is 4.0.2 in development.
2429	- rcode REFUSED for queries to non-hosted zones.
2430	- documented nsd-control zonestatus output in nsd-control manpage.
2431	- remove mention of nsdc from nsd-checkconf manpage.
2432
243321 January 2014: Wouter
2434	- tag 4.0.1rc2
2435
243620 January 2014: Wouter
2437	- Fix #546:  output format errors in nsd_munin_ (Thanks Tom Hendrikx).
2438
243917 January 2014: Wouter
2440	- Fix type CAA.
2441	- Fix type EUI48.
2442	- nsid can be set with "ascii_somestring" in ascii.
2443	- Fix printout of high-chars in TXT on NetBSD.
2444
244516 January 2014: Wouter
2446	- Unit test for WKS failure.
2447
244815 January 2014: Wouter
2449	- tag 4.0.1rc1
2450
245113 January 2014: Wouter
2452	- Check if configure in srcdir collides with outofdir build.
2453
245410 January 2014: Wouter
2455	- Fix that chroot is removed from zonefile names (for absolute names).
2456
24579 January 2014: Wouter
2458	- Fix that bad IXFR updates do not result in double SOA records,
2459	  and that an AXFR is started (attempted) when the zone state seems
2460	  to be inconsistent with the master's zone state.
2461
24628 January 2014: Matthijs
2463	- Bugfix #542: Match RRSIG TTL with SOA TTL in negative response.
2464
24657 January 2014: Wouter
2466	- Fix xfrd when zone transfer TCP contains zero length packets.
2467	- Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
2468	  because AXFRs overwrote nsec3 administration in the child zone.
2469
24702 January 2014: Wouter
2471	- Log ip address for sendto and sendmmsg failures.
2472
24734 December 2013: Matthijs
2474	- Support for CAA RRtype (RFC 6844).
2475
247626 November 2013: Wouter
2477	- Fix segfaults after read of zones with rr type WKS from zonefile.
2478	- Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
2479
248025 November 2013: Wouter
2481	- (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
2482
248311 November 2013: Wouter
2484	- Fix bug#534: IXFR query loop over UDP for zones that are unchanged.
2485
248611 November 2013: Matthijs
2487	- EUI48 and EUI64 is now RFC 7043
2488
24895 November 2013: Wouter
2490	- Accept interface: as an alternative for ip-address: for
2491	  consistency with unbound.conf syntax.
2492
249329 October 2013: Wouter
2494	- tag for 4.0.0 release.
2495	- trunk has 4.0.1 in development, for bug fixes.
2496
249724 October 2013: Wouter
2498	- Fixup zone change code.
2499	- tag 4.0.0rc3.
2500
250121 October 2013: Matthijs
2502	- Initialize xfrd zone when changing zone from master to slave
2503	  and delete xfrd zone when changing zone from slave to master.
2504
250514 October 2013: Wouter
2506	- tag 4.0.0rc2.
2507
250814 October 2013: Matthijs
2509	- Additional log messages with reason why RR to be deleted cannot be
2510	  found.
2511
251214 October 2013: Wouter
2513	- Fix for zone transfer that has different-cased RRSIG signer names
2514	  or NSEC next-owner names.
2515
25169 October 2013: Wouter
2517	- tsig errors on incoming tsig print key name and source IP of query.
2518
25198 October 2013: Wouter
2520	- Update documentation for nsd -d option.
2521
25227 October 2013: Wouter
2523	- Fix mini_event ev_once flag to be prettier (review comments Yuri).
2524	- tag 4.0.0rc1 recreated.
2525
25264 October 2013: Wouter
2527	- Fix bug where if you do not have flex, and then install flex, it
2528	  would not make without a re-untar of the source.
2529
25303 October 2013: Wouter
2531	- Review changes from Matthijs.
2532	- doc/README updated, 'nsdc' is now removed.
2533
25341 October 2013: Wouter
2535	- Review commits from Matthijs.
2536	- doc/UPGRADING updated, review Yuri.
2537
253830 September 2013: Wouter
2539	- tag 4.0.0rc1
2540	- updated doc/RELNOTES
2541
254219 September 2013: Wouter
2543	- configure --disable-recvmmsg for compat with older Linux kernels,
2544	  by default it autodetects support in the kernel on the buildmachine.
2545
254620 Aug 2013: Wouter
2547	- Fix time at 2038, uint32s changed to time_t, support 64bit time_t.
2548
254919 Aug 2013: Wouter
2550	- Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch.
2551
255213 Aug 2013: Wouter
2553	- Bugfix#518 Incorrect RRL prefix length option names in nsd.conf
2554	  man page from Ville Mattila.
2555
25569 Aug 2013: Wouter
2557	- Fix that xfrd, and nsd-control, does not stop responding when reload
2558	  errors out.  The pid is sent like it should by server_main.
2559	- Fix that EOF in quoted string error does not cause reload to exit.
2560	- Fixup errors from the stack code checker.
2561
25626 Aug 2013: Wouter
2563	- Removed use of random when arc4random is available.  Thus, random
2564	  and srandom are then not linked with the executable.
2565
256616 Jul 2013: Wouter
2567	- Fix segfault with no logfile and chroot (Thanks Patrik Lundin).
2568
256915 Jul 2013: Wouter
2570	- beta 5 tag.
2571	- trunk has beta6 named in configure.
2572
25739 Jul 2013: Wouter
2574	- unlink xfr file if transfer is stopped, timeouted or interrupted.
2575	  And unlink xfr file in progress when the zone is deleted.
2576
25778 Jul 2013: Wouter
2578	- Increase tcpbacklog default to 256 (silently capped to 128 on BSD).
2579	  For remote control keep it at 16, it has less TCP load.
2580	  It does not actually increase TCP performance (some except), but
2581	  reduces connection loss when there is a spike in TCP connections.
2582
25835 Jul 2013: Wouter
2584	- nsd-mem stores temp files in current dir because /tmp is too small.
2585	- printout pct parsed, read, nsec3 and written every 100.000 elements
2586	  and after 5 seconds.  For big zones.
2587
25883 Jul 2013: Wouter
2589	- region-allocator has list of large allocations, so delete is in O(1).
2590	- recursive readroutine for speedup of nsd.db reads (30%).
2591	- udb-inspect prints type summary of nodes in nsd.db.
2592
259328 Jun 2013: Matthijs
2594	- Update tmp serial in xfr checking.
2595
259628 Jun 2013: Wouter
2597	- nsd.db 12% smaller, no nsec3 hash storage.  Also ups udb version
2598	  because of the format change.  printout udb write complete for
2599	  debug.
2600	- Fix warning in labellength 0 code.
2601
260227 Jun 2013: Matthijs
2603	- Better XFR checking, fallback to AXFR (if allowed) if three
2604	  malformed XFR packets have been seen.
2605	- zonec: Don't crash on domain names with label length 0.
2606
260725 Jun 2013: Matthijs
2608	- Rename --enable-eui-rrtypes to --enable-draft-rrtypes.
2609
261025 Jun 2013: Wouter
2611	- acx_nlnetlabs.m4 update, --disable-flto.
2612
261320 Jun 2013: Matthijs
2614	- Use IPV6 minimum MTU settings with TCP to reduce failures that
2615	  are caused by delays in learning working PMTU when communicating
2616	  through a tunnel.
2617	- Improved RRL logging: also print triggering query src addr and qtype
2618	  (thanks Klaus Darilion).
2619	- Merge some minor stuff from NSD3.2
2620
262118 Jun 2013: Matthijs
2622	- Add rrl-slip config option (thanks Stephane Bortzmeyer).
2623	- Add rrl-ipv{4,6}-prefix-length config option.
2624	- Bug #496: Support for EUI48 and EUI64 RR types.
2625
262614 Jun 2013: Wouter
2627	- Optimizations: -O3 if possible (user can override CFLAGS), udp
2628	  buffers are set to 1m by default (if socket options exist),
2629	  use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom.
2630
263111 Jun 2013: Wouter
2632	- Fix memory leak in zone parser for txt record (since the large
2633	  number of txt subsections fix).
2634	- Fix zone parser allocations to be in db region.
2635	- nsd-mem prints advice
2636
26375 Jun 2013: Wouter
2638	- Fix segfault on repeated reconfigs, double free of zone apex name.
2639
26404 Jun 2013: Wouter
2641	- Remove duplicate zlfile variable from options structure.
2642
264330 May 2013: Wouter
2644	- Fix nsd-mem for printout of values above 4G.
2645
264616 May 2013: Wouter
2647	- Patch from Lukas Wunner that makes chroot more consistent.
2648	  Make all paths absolute with the chrootdir in front, or use
2649	  an absolute zonesdir with other patsh relative to that.
2650
26513 May 2013: Wouter
2652	- Fix race on exit of nsd, for restarts, so that the pidfile-pid
2653	  process waits until port53 has been closed before exiting.
2654	- update acx_nlnetlabs.m4 to v23, sleep w32 fix.
2655
265629 April 2013: Wouter
2657	- Remove unused pointer and fixup chroot include for trail slash.
2658
265926 April 2013: Wouter
2660	- Patch from Lukas Wunner that makes nsd.conf include files work
2661	  inside chroot/etc environments on repattern and reconfig.
2662
266325 April 2013: Matthijs
2664	- New config option "ip-transparent:", to bind to non local addresses
2665	  (thanks Arjen Zonneveld).
2666	- RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter
2667	  van Dijk).
2668
266919 April 2013: Wouter
2670	- own snprintf, fix use of snprintf return value (in debug print).
2671
267218 April 2013: Wouter
2673	- fix bug #491: pick program name (0th argument) as syslog identity.
2674
26759 April 2013: Wouter
2676	- Bug #494: Exit with return code 1 if socket code fails. (from 3.2)
2677	- Fix B64_NTOP replacement definitions in configure.ac.
2678
267926 March 2013: Wouter
2680	- update lookup3.c with better endianness detection.
2681
268225 March 2013: Wouter
2683	- faster nsec3 updates.
2684	- Fixup contrib/bug390.patch for 4.0.0b4.
2685	- remove leak of nsec3.
2686	- allocate radixtree in region for small (5%) total savings and
2687	  about 15% savings in the radixtree itself (due to many small alloc
2688	  savings in region).
2689
269022 March 2013: Wouter
2691	- use less memory for non-nsec3, nsec3tree.
2692
269318 March 2013: Wouter
2694	- update nsd-mem with pretty printout and RRL count.
2695
269614 March 2013: Wouter
2697	- Fix memory statistics in nsd_munin_.
2698
26998 March 2013: Wouter
2700	- nsd-mem tool initial commit.
2701
27027 March 2013: Wouter
2703	- notify information is logged at correct verbosity level, 1.
2704
27055 March 2013: Matthijs
2706	- Add hash to rrl bucket
2707
27085 March 2013: Wouter
2709	- Fixup the growth and shrinkage of nsd.db.  This should use less
2710	  calls to remap and change the file and mmap size.
2711
271215 February 2013: Wouter
2713	- Fix compile on bigendian netbsd alpha.
2714	- Fixup tests for older dig (check if +noedns option is supported)
2715
271611 February 2013: Matthijs
2717	- Fix outgoing-interface: Don't fail if family is IPv6 but
2718	  only IPv4 outgoing-interface is set, or vice versa.
2719
272011 February 2013: Wouter
2721	- fix tcp zonetransfer pipeline lookup function.
2722	- remove compiler warning for memset from tsig read.
2723
27247 February 2013: Wouter
2725	- detect endianness in lookup3 on BSD, patch from Brad Smith.
2726	- nsd-control verbosity prints out verbosity level without argument.
2727	- nsd-control status prints out ratelimit if ratelimit is enabled.
2728
27295 February 2013: Wouter
2730	- Fix that old zonefile does not override newer AXFR for slave zones.
2731	- Nicer printout of notify.
2732	- beta4
2733
27344 February 2013: Wouter
2735	- Fix AXFR of NSEC3 slave zone.
2736
27371 February 2013: Wouter
2738	- Less printout of 'bad transfer'.
2739
274031 January 2013: Wouter
2741	- Fix that nsec3 zones are precompiled when read from udb.  This
2742	  caused assertion failures.
2743	- Fix is_apex flag for zones read from udb.
2744
274529 January 2013: Matthijs
2746	- RRL documented in nsd.conf.sample
2747
274829 January 2013: Wouter
2749	- printout log less verbosely, not every axfr packet.
2750	- remove printout of "bad transfer" to the log for notimpl.
2751	- fixup tests for new netstat and new netcat.
2752
275325 January 2013: Wouter
2754	- fix gcc warning, do not use uninit value for rng init.
2755	- fix zonefiles-check: entry in nsd.conf
2756	- remove -fwhole-program gcc flag usage.  We cannot reliably detect
2757	  if it works without failure.
2758
275923 January 2013: Wouter
2760	- beta3
2761
276222 January 2013: Wouter
2763	- Fix time calculation of zone transfer.
2764	- log ip address with tcp failure.
2765
276621 January 2013: Wouter
2767	- Improve tabs in sample nsd.conf for different tabsizes.
2768	- Fix segv if xfrdir does not exit.
2769	- create xfrdir on make install (does not remove on make uninstall,
2770	  because this could be /tmp).
2771	- do not leave task files in /tmp if nsd fails to startup because
2772	  of file permissions.
2773	- do-ip4 and do-ip6 nsd.conf options just like unbound.
2774	- fixed testset for dig9 default with edns.
2775
277618 January 2013: Wouter
2777	- Fix configure for gentoo gcc and headers.
2778	- List libevent in README.
2779	- Tabs and spaces nicer in nsd.conf.sample.
2780	- Fix spurious assertion failure for some rrl blocks.
2781
278216 January 2013: Wouter
2783	- Added zonefiles-check option, default yes, check mtimes of zone files
2784	  on sighup and startup (from Robin Hack).
2785
278615 January 2013: Wouter
2787	- documented that the _implicit_ pattern names are used internally.
2788
278910 January 2013: Wouter
2790	- updated RELNOTES.
2791	- applied patch from Robin Hack to remove double pid file truncation.
2792	- repattern is called reconfig (because most config options are
2793	  picked up, except for superuser options (chroot, logfile, port)).
2794	- document that the zonefile attribute can be empty.
2795
27969 January 2013: Wouter
2797	- 4.0.0b2 is beta2 version tag.
2798
27998 January 2013: Matthijs
2800	- Merge changes from 3.2.15 with trunk:
2801		* Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS,
2802		  RELNOTES, TODO
2803		* Update dname_test.tpkg test.
2804		* TSIG init only fails if no digests at all can be found.
2805		* Remove unused tsig_get_algorithm_by_id code (was used by
2806		  nsd-xfer).
2807		* Fix some fd leaks.
2808		* Bug #485: Fallback to DEFAULT_TTL if MSB is set.
2809		* Fix RCODE when xNAME loop final answer not exist to NXDOMAIN.
2810
28118 January 2013: Wouter
2812	- Fix make outside of source directory.
2813
28147 January 2013: Wouter
2815	- fixed uninit variable for empty zone axfr request
2816	- fixed alloc of acl options for config zones so they can be deleted.
2817	- fixed that pattern name is copied, so that patterns stay the same.
2818	- repattern also rereads the zones in the config file and applies that
2819	  to the running server.
2820
282121 December 2012: Wouter
2822	- --with-logfile sets the logfile inside the example documentation.
2823	- Fixed addzone and delzone inside chroot (thanks Will Pressly).
2824
282519 December 2012: Wouter
2826	- Fixup for libevent-2.1.2.
2827
282818 December 2012: Wouter
2829	- makedist makes sha256 for tarballs.
2830	- nsd-control start runs an absolute path to start sbin/nsd.
2831
283217 December 2012: Wouter
2833	- Fix for use with libev (no use of event.ev_flags).
2834
283512 December 2012: Wouter
2836	- 4.0.0b1 is beta1 version.
2837
283811 December 2012: Matthijs
2839	- Better ILNP RR parsing (thanks Stephane Bortzmeyer).
2840
284111 December 2012: Wouter
2842	- fix libevent=no signals on Solaris.
2843	- Fix handle of activated zones from timeout event.
2844	- contrib/nsd_munin_ updated with memory lookup for BSD.
2845
284610 December 2012: Wouter
2847	- implement --with-libevent=no.
2848
284910 December 2012: Matthijs
2850	- Bug #483: Better error messages for TSIG errors.
2851	- RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH.
2852	  Also, continue TSIG verification if NOTAUTH.
2853
28547 December 2012: Wouter
2855	- stable pidfile, xfrd is process leader and forks server-parent.
2856
28575 December 2012: Wouter
2858	- NSD4_imp_6 tag.
2859	- trunk has imp_7 implementation.
2860
28614 December 2012: Wouter
2862	- NSD-RRL documented in manpage.
2863
28643 December 2012: Wouter
2865	- Fixup exit of server-child while notifies are incoming.
2866
286728 November 2012: Wouter
2868	- RRL implements classification type RRSIG.
2869
287026 November 2012: Wouter
2871	- Fix to make nsd.udb portable between 32bit and 64bit machines.
2872	- Fix to make udb mmap work for FreeBSD8 when it grows significantly.
2873
287423 November 2012: Wouter
2875	- Fix compiler warnings and fix blocking pipes.
2876	- default tcp-count set to 100.
2877
287821 November 2012: Wouter
2879	- Implement rrl log of unblock for collision.
2880	- imported TLSA and ILNP support from NSD3.
2881
288219 November 2012: Wouter
2883	- Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4).
2884
28859 November 2012: Wouter
2886	- Log when NSD-RRL stops a stream from being blocked.
2887
28888 November 2012: Willem
2889	- Fix AXFR. Loop through the zone to transfer only.
2890
28912 November 2012: Wouter
2892	- Fix bug 478: declaration after statement (for gcc 2.95).
2893
28941 November 2012: Wouter
2895	- Fix default settings for RRL.
2896
289730 October 2012: Wouter
2898	- review fixup of RRL SLIP response.
2899	- RRL uses dev/random at start, nonRRL does not.
2900
290126 October 2012: Wouter
2902	- nsd-control repattern also changes rrl-ratelimit and whitelist limit.
2903
290417 October 2012: Wouter
2905	- Fix alignment problem in zone transfer pipeline code.
2906	- Fix random generator generating negative.
2907	- Fix udb radtree strspace creation bug.
2908
290915 October 2012: Wouter
2910	- Fix activated zone does not interrupt transfer.
2911	- Log of connection failure for zone transfer is neater.
2912
291312 October 2012: Wouter
2914	- Fix invalid time argument in nsd control (for OpenBSD).
2915
291611 October 2012: Wouter
2917	- Fix build on OpenBSD (Thanks Oliver Peter).
2918	- tpkg for RRL.
2919
292010 October 2012: Wouter
2921	- implement nsd-checkconf option use of rrl-whitelist.
2922
29239 October 2012: Wouter
2924	- with --enable-ratelimit you enable ratelimiting, with verbosity 2
2925	  it logs what is ratelimited for operational inspection.
2926	- unit test for rrl.
2927	- rrl uses mmap to save state across reloads.
2928	- rrl enum and u16 flags (dnskey type).
2929	- rrl whitelist and config.
2930
29318 October 2012: Wouter
2932	- Sync with unbound lookup3, has raninit value.
2933
29345 October 2012: Wouter
2935	- fix bug with event loop in zone transfer pipeline.
2936	- close xfrd_sock_p in server_child because otherwise due to use of
2937	  kqueue, it gets a broken pipe when that process exits (on FreeBSD).
2938
29394 October 2012: Wouter
2940	 - Fixup no use of internals ev_flags of libevent.
2941
29421 October 2012: Wouter
2943	- fix xfrd tcp skip.
2944
294521 September 2012: Wouter
2946	- tzset before chroot for correct timezone (from Camiel Dobbelaar).
2947	- pipeline support for AXFR and IXFR tcp queries.
2948
294911 September 2012: Wouter
2950	- writev support for TCP.
2951
295228 August 2012: Wouter
2953	- TXT records with components longer than 255 fail to parse,
2954	  but without segfault, it continues processing with non NULL value.
2955
295627 August 2012: Wouter
2957	- libevent in server_child.
2958
295921 August 2012: Matthijs
2960	- Fix bug#464: Conditionally define MAXHOSTNAMELEN
2961
296220 August 2012: Wouter
2963	- Fix hang on exit in xfrd.
2964	- optimized socket counts for zone transfer speed.
2965
296613 August 2012: Wouter
2967	- Fix xfrd libevent events.
2968
296910 August 2012: Wouter
2970	- libevent in xfrd.
2971
297226 July 2012: Yuri
2973	- Prioritize notify sender for requesting XFR.
2974	  (thanks Ilya Bakulin)
2975
297619 July 2012: Willem
2977	- Fix for VU#624931 CVE-2012-2978: NSD denial of service
2978	  vulnerability from non-standard DNS packet from any host
2979	  on the internet.
2980	  http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt
2981
298218 July 2012: Wouter
2983	- Fix bug#460: man page correction - identity.
2984
29859 July 2012: Wouter
2986	- delete temporary transfer files on exit of xfrd and reload.
2987	- when tasks are applied, reload checks if it must exit between
2988	  tasks, so that it can quickly exit when NSD is told to quit.
2989	- fix bug in apply_xfr that must use an udb_ptr because it shifts
2990	  when new allocations are made.
2991
29926 July 2012: Wouter
2993	- add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp".
2994	  The nsd.task files and a subdirectory for zone transfers are
2995	  created there.
2996
29972 July 2012: Wouter
2998	- fix checkconf unit test and add test for backwards compatibility
2999	  for difffile: "x" statement.
3000
300129 June 2012: Wouter
3002	- Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db.  So that nsdc
3003	  patch is no longer needed.
3004
30058 June 2012: Wouter
3006	- Fix tpkg test cutest_qroot and rr-test for printout of algorithms
3007	  as numbers, and copy of DO flag to the answer.
3008	- pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes
3009
301031 May 2012: Matthijs
3011	- Sync with 3.2 branch
3012
301324 February 2012: Wouter
3014	- Fix for qtype ANY for a wildcard domain in NSEC signed zone.
3015
30169 February 2012: Wouter
3017	- Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line.
3018
301923 January 2012: Wouter
3020	- remove clang security warning about %n in format string.
3021
302220 January 2012: Wouter
3023	- Fix bug #430: segfault when MAX_INTERFACES set to more than 65K.
3024	- Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update.
3025
302612 January 2012: Matthijs
3027        - Fix bug #421: truncate pidfile on shutdown, before unlink.
3028
302910 January 2012: Wouter
3030	- removed unused variables.
3031
303210 November 2011: Wouter
3033	- acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop).
3034
30353 November 2011: Wouter
3036	- fflush zonelistfile after zone add or delete.
3037
30381 November 2011: Wouter
3039	- Fix -flto detection for llvm compiler on Lion.
3040
304110 October 2011: Matthijs
3042	- Don't clear the AA bit if there is an authoritative CNAME in the
3043	  answer section (as shown in RFC 1034, Section 6.2.7, 2nd example).
3044
304510 October 2011: Wouter
3046	- squelch EPIPE when writing AXFR, enable with verbosity 2.
3047
304826 September 2011: (Matthijs, from NSD3_2 branch)
3049	- Copy the DO bit to the response.
3050	- Don't return SERVFAIL on a domain that looks like a NSEC3
3051	  domain but is actually a empty non-terminal.
3052
305319 August 2011: Wouter
3054	- Fix segfault if no logfile is used.
3055
30565 August 2011: Wouter
3057	- Fix make from repeating action already taken.
3058	- Fix compile without openssl.
3059
30603 August 2011: Wouter
3061	- silence 'Broken pipe' messages in log (visible with verbosity 2).
3062	- fix makedist.sh for removal of patch, notify, xfer. new nsd-control.
3063	- tag 4.0.0-imp-5 created.
3064	- trunk is 4.0.0-imp-6 under development.
3065	- added nsd_munin_ script for statistics monitoring to contrib.
3066
30672 August 2011: Wouter
3068	- fix compile on Ubuntu 11.04 systems, detects cc system header issue.
3069
30701 August 2011: Wouter
3071	- fix checkconf test for remote control options.
3072	- fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD.
3073
307429 July 2011: Wouter
3075	- zones with no zonefile are not written to text (assumes you can
3076	  get AXFR and IXFR for the contents).  They are stored in nsd.db.
3077	- test for repattern.
3078
307928 July 2011: Wouter
3080	- nsd-control repattern reads TSIG and pattern configuration.
3081
308225 July 2011: Wouter
3083	- fixed tests for removed tools from nsd, with replacements.
3084	  replaced nsd-patch with nsd-control write. replaced nsd-notify with
3085	  ldns-notify. replaced nsd-xfer with dig -t axfr.
3086	- fix for xfrd restart if crashed. xfrd knows if a reload is
3087	  active at that time so it cannot start another one at the same
3088	  time.  New shortsoa track for start that does not use taskdb
3089	  in use by reload.  taskdb in use by crashed xfrd is recreated,
3090	  in case it is corrupt.  This keeps the nsd.db intact, keeps
3091	  reload running with its updated and keeps service from the
3092	  server processes active.
3093
309422 July 2011: Wouter
3095	- added contrib/nsd.init (nsdc.sh that only does start,stop).
3096	- removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch.
3097	  for rc.d: contrib/nsd.init, or platform specific init script.
3098	  nsd-xfer: see nsd-control transfer, or force_transfer.
3099	  nsd-notify: see nsd-control notify.
3100	  nsd-patch: see (cron job to) nsd-control write.
3101
310221 July 2011: Wouter
3103	- nsd-control notify, transfer and force_transfer.
3104	- fix for bug in write and reload zone option.
3105	- nsd-control zonestatus command.
3106
310720 July 2011: Wouter
3108	- reload can be given optional zone argument.
3109	- nsd-control reopen_logfile.
3110	- nsd-control write changed zonefiles.
3111
311218 July 2011: Wouter
3113	- Fix xfrd activation of zones to not break running zone transfers.
3114
311513 July 2011: Wouter
3116	- fix that signal causes stats to be printed to log.
3117	- fix stats without remotecontrol.
3118	- ignore notify and soainfo for deleted zone, if due to race they
3119	  arrive after the deletion.
3120	- tpkg test for nsd-control, addzone and delzone
3121
31225 July 2011: Wouter
3123	- fix link to ssl with FreeBSD make.
3124
31251 July 2011: Wouter
3126	- fix optimize compile to link with ssl.
3127
312829 June 2011: Wouter
3129	- nsd-control delzone zone.  Removes zone from zonelist.
3130	- stats includes number of zones.
3131	- RAXFR stat, which has not worked since NSD 1.2.4, reinstated.
3132	- print more memory statistics, for xfrd and config.
3133
313428 June 2011: Wouter
3135	- nsd-control addzone zone pattern.  Adds new zone, slave or master.
3136
313727 June 2011: Wouter
3138	- nsd-control stats and stats_noreset (if enabled at compile time).
3139	  nsd does not print statistics to logfile if period is 0.
3140
314123 June 2011: Wouter
3142	- -flto check supports clang compiler.
3143
314422 June 2011: Wouter
3145	- remote control, config, client, setup and status command.
3146	- reload nsd-control command.
3147	- stop nsd-control command.
3148	- verbosity nsd-control command.
3149
315014 June 2011: Wouter
3151	- Fix to have no authority NS set processing for CNAMEs.
3152
31539 June 2011: Wouter
3154	- fix bug that relptrs have to be initialized with rel_ptr_init() when
3155	  created and zeroed with rptr_zero before deletion.
3156	- tag 4.0.0-imp4 created
3157	- trunk is 4.0.0-imp5 under development.
3158
31598 June 2011: Wouter
3160	- nsd reads the zonelist file on start.
3161	- updated acx_nlnetlabs.m4 to version 11.
3162	- configure checks size of off_t and increase region-allocator
3163	  alignment to 8 if it is 64bit and alignment at 4.
3164	- fixed bug where not all references were removed before mmap was
3165	  synced to another process.
3166
31677 June 2011: Wouter
3168	- code to add and remove zonelist entries, and unit test.
3169
31706 June 2011: Wouter
3171	- fix unit tests for mmap with TODO and removal of -f in nsd-patch.
3172	- zone expiry is communicated via the mmap, and not via the pipes,
3173	  simplifying the code significantly as well as making a large number
3174	  of zones more feasible.
3175
31761 June 2011: Wouter
3177	- mmap used for parent-xfrd communication of tasks and task results.
3178	  SIGHUP is sent to xfrd so it can become a task in the normal
3179	  workflow. This can process about 4500 zones per second (this was
3180	  with lots of debug prints per zone, in debug compile). The mmaps
3181	  are file-backed with /tmp/ files.  They are removed on a clean exit.
3182	- nsd.db and tmp mmaps are created with mode 0600 for safety.
3183	- updated flag removed, nsd-patch always in -f force mode (-f removed)
3184	  and writes all zones always. Its role is taken over by task results.
3185
318630 May 2011: Wouter
3187	- Fix Makefile for U in environment, since wrong U is more common than
3188	  deansification necessity.
3189
319027 May 2011: Wouter
3191	- xfrd is forked before the database is read in, thus it does not
3192	  consume the memory of the database.  It can be reforked on a crash,
3193	  which is like the current case.  Difffile is cleaned by main process
3194	  and the soa serials are all sent via pipe instead of via forkmem.
3195
319624 May 2011: Wouter
3197	- implemented patterns in the nsd.conf file.
3198	  they can be instantiated with include-pattern: x.
3199	  existing zone definitions keep working (backwards compatible), such
3200	  zones really have an implicit pattern and cannot_delete flag set.
3201	- work on zonelist read and storage.
3202
320320 May 2011: Wouter
3204	- from NSD_3_2 branch the fix: bug if the zonefile is changed for a
3205	secondary but stored transfers are applied, and stop ixfr to empty.
3206	The zone is flagged with error, and the good zone is still in nsd.db
3207	for NSD4.
3208
320917 May 2011: Wouter
3210	- unit test for code coverage on nsec3 ixfr.
3211	- tag 4.0.0-imp3 created
3212	- trunk is 4.0.0-imp4 under development.
3213
321413 May 2011: Matthijs
3215	- Fix bug #381 - Binary escaped and transfers.
3216
321713 May 2011: Wouter
3218	- Unit test nsec3 salt change and fix for sanity check of nsec3 chain.
3219	  pretty prints the nsec3 parameters if verbose.
3220
322112 May 2011: Wouter
3222	- more unit test for nsec3 precompile changes.
3223	- unit test for salt change, rehash in udb fix, remove last NSEC3
3224	  from chain works, NSEC3PARAM RR fixed up if RR added or removed
3225	  from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear
3226	  more thorough (not dependant on nsec3_conditions).
3227
322811 May 2011: Wouter
3229	- fixes for nsec3 precompile code: precompile for empty nonterminals
3230	  created when an RR is added. If SOA removed, precompile stays
3231	  coherent even though domain_find_zone no longer returns correct zone.
3232
323321 April 2011: Wouter
3234	- unit test and fixes in nsec3 precompile code.
3235
323620 April 2011: Wouter
3237	- incremental NSEC3 precompile.
3238
323914 April 2011: Wouter
3240	- remove chnum. Added numlist sorted by domain.number.
3241	  domains that are not used are removed.
3242
324313 April 2011: Wouter
3244	- Fix is_existing flag for ENT when domain that has a shared ENT
3245	  is deleted by IXFR.
3246	- zonec can parse strings with RR in it.
3247	- unit test for namedb.
3248
32498 April 2011: Wouter
3250	- porting complete.
3251	- tag 4.0.0-imp2 created
3252	- trunk is version 4.0.0-imp3.
3253
32547 April 2011: Wouter
3255	- ported to sunos 4.1.4, the unit test works (udb, radtree in mmap).
3256
32576 April 2011: Wouter
3258	- UDB_CHECK is enabled if --enable-checking is used.
3259	  Because it checks the pointer-administration lists it slows down.
3260	- udb-inspect has feature -l that lists zones (and RRs) in nsd.db.
3261	- fix memory leak by zonec; the region_cleanup triggers too late.
3262	- set listen TCP_BACKLOG to 16 by default, it avoids connect reset
3263	  by peer in 1000-zones transfer on an ultra10, thus for many-zones.
3264	- default xfrd-reload-timeout to 1 second.
3265
32665 April 2011: Wouter
3267	- Fix uninitialised value in xfrd nsd_soa, the rdata_count.
3268	- Unit test for update of the nsd.db with new contents.
3269	- Fix array bounds check in radtree-search function.
3270
32714 April 2011: Wouter
3272	- removed zonec from tests. fix unknown_rr test, enable ipseckey test.
3273	  increased timeouts on tests that are hard on the filesystem.
3274	- Fixed IPSECKEY printout by nsd-patch.
3275
327630 March 2011: Wouter
3277	- nsd edits nsd.db for IXFR and AXFR messages.  since xfrd already
3278	  checks zone transfers completely for syntax those errors cannot
3279	  happen, if they do (memory, disk error) the file is left dirty,
3280	  to be recreated on the next start (and the process dies).
3281
328229 March 2011: Wouter
3283	- nsd recreates nsd.db if it has not been closed properly or is
3284	  corrupted (bad header or wrong file format).
3285
328628 March 2011: Wouter
3287	- NSD without zonec.  NSD loads zonefiles on start.
3288	  NSD stores NSEC3hashes on disk.
3289
329025 March 2011: Wouter
3291	- Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE
3292	  in the environment where nsdc runs.
3293	- Fix bug #375, typos in nsd.conf.5.
3294	- First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC.
3295	- Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone.
3296	- NSD4 work: removed zonec, nsdc patch does not write text files
3297	  for slave zones (as if option is always to binary, this capability
3298	  returns later), nsdc patch deletes the ixfr.db.
3299	  kill-HUP rereads zone files that have changed.
3300
330124 March 2011: Wouter
3302	- compile fixes for BSD. preserve RRset order.
3303
330423 March 2011: Wouter
3305	- udbzone, store and read zone data in the random-access udb format.
3306
330721 March 2011: Wouter
3308	- udbradtree works. udb-inspect tool can print radtree details.
3309
331016 March 2011: Matthijs
3311	- undo fix bug#325: messes up dname compression
3312
331314 March 2011: Wouter
3314	- udb code added.  uses lookup3 from unbound (public domain).
3315	- unit test for radix tree in cutest.
3316	- unit test for udb in cutest.
3317	- udb-inspect tool to printout internals of udb files.
3318	  for debug, not installed or built by default.
3319	- removed --disable-radixtree option.
3320
332111 March 2011: Wouter
3322	- Removed precompile features, speed gain took too much memory.
3323	- domain number to size_t.
3324
33259 March 2011: Wouter
3326	- DNAME synthesis of CNAME.  Uses TTL of the DNAME record.
3327	- nsec3 and wildcard code.  No additional section for wildcards.
3328	  Also CNAME and DNAME replies contain only that record (and synth
3329	  CNAME), the chain is not followed.
3330
33318 March 2011: Wouter
3332	- precompile work:
3333		class ANY gets AA flag, SOA and type-NS processing, just
3334		like BIND (9.6) and it simplifies processing for NSD.
3335	  other than compression difference (precompile compresses smaller),
3336	  there are no differences in a 49000 query testset against the root,
3337	  without EDNS.
3338
33397 March 2011: Wouter
3340	- check chown value and report high verbosity its error.
3341
33423 March 2011: Matthijs
3343	- fix #bug352: fix hardcoded paths in manpages.
3344
33452 March 2011: Matthijs
3346	- fix #bug354: make realclean cleans too much
3347	- added make devclean for cleaning up autoconf and automake stuff
3348	- Fix hardcoded paths in nsd.conf.sample and nsd.conf.5
3349
335024 February 2011: Matthijs
3351	- fix #bug350: refused notifies should log client ip.
3352
33532 March 2011: Wouter
3354	- Fix AXFR service with radix tree.
3355	- cutest for speed of answer encoding, and format of answers for root.
3356
33571 March 2011: Wouter
3358	- after merge, remove double -I. from makefile.
3359	- radixtree is default.  Nicer makefile and no warnings from unused
3360	  flex functions.
3361
33621 March 2011: Wouter
3363	- merge with trunk r3181:
3364	24 February 2011: Matthijs
3365		- fix #bug350: refused notifies should log client ip.
3366	24 February 2011: Wouter
3367		- fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious
3368		  warning messages.
3369		- fix bug#363: nsd-checkconf -v does not print outgoing-interface ok.
3370		- fix that nsd-checkconf -o outgoing-interface omits NOKEY.
3371	23 February 2011: Wouter
3372		- fix for bug#357, make xfrd quit with many zones.
3373
337423 February 2011: Wouter
3375	- Merge trunk r3151.
3376		22 February 2011: Matthijs
3377			- Patch Jakob Schlyter (setusercontext before chroot).
3378		18 February 2011: Wouter
3379			- overhaul of testset, with port uniqueness and fast start and stop.
3380		11 February 2011: Wouter
3381			- added test case to do with bug357.
3382		24 January 2011: Matthijs
3383			- Patch Tom Hendrikx (only errors to stderr when doing nsdc patch).
3384
338517 February 2011: Wouter
3386	- Fix leak of compressiontable when the domain table increases in size.
3387	- added test case to do with bug357.
3388
338910 February 2011: Wouter
3390	- Merged with trunk r3115 changes:
3391		20 January 2011: Wouter
3392			- Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo.
3393		19 January 2011: Wouter
3394			- Bug #348: no -I/usr and -L/usr for libcrypto in /usr.
3395		5 January 2011: Matthijs
3396			- Fix nsdc update and nsdc notify
3397			- Force outgoing interface to be a single range acl
3398			- Update documentation about acl options
3399			- Code review
3400			- Fix nsdc so it can use hmac-sha* tsigs
3401			- Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch
3402		4 January 2011: Yuri
3403			- Doc spelling error, bug#345
3404		15 December 2010: Wouter
3405			- fix race condition when nsd is stopped while a reload is in
3406			  progress, often when rc.d does nsdc patch; nsdc stop in sequence.
3407			  reload is now signalled to stop too.
3408		10 December 2010: Matthijs
3409			- fix bug#306: applied documentation patch
3410			- fix bug#253: now also for QTYPE=DS.
3411		12 October 2010: Wouter
3412			- Fix compilation on SunOS4.
3413		24 September 2010: Matthijs
3414			- Bug #328: nsd-checkconf overrun
3415		1 September 2010: Yuri
3416			- Support for huge TXT records.
3417		23 Aug 2010: Wouter
3418			- fix bug#325: remove stale files from cvs from repo.
3419		16 Aug 2010: Yuri
3420			- zonec, MAXRDATALEN check was off by one.
3421		9 Aug 2010: Matthijs
3422			- nsdc return 1 outside function, should be exit 1
3423			- Bug #320: arc4random
3424		2 Aug 2010: Matthijs
3425			- Bump to 3.2.7.
3426		21 July 2010: Wouter
3427			- NUM_RECV_PER_SELECT 100 implemented, configure check if kernel
3428			  supports this.
3429
343017 January 2011: Matthijs
3431	- Bump to 3.2.8.
3432
34335 January 2011: Matthijs
3434	- Fix nsdc update and nsdc notify
3435	- Force outgoing interface to be a single range acl
3436	- Update documentation about acl options
3437	- Code review
3438	- Fix nsdc so it can use hmac-sha* tsigs
3439	- Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch
3440
344120 July 2010: Wouter
3442	- Branched from trunk. Added radix tree.
3443	- use -fwhole-program if gcc supports it.
3444
344519 July 2010: Matthijs
3446	- fix bug#314, NSEC next field now correctly escapes spaces.
3447	  Also fixes label overflow issue.
3448	- Put back HAVE_SSL.
3449	- Code reviews.
3450	- Add donor text.
3451
34526 July 2010: Wouter
3453	- Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some
3454	  warning fixes.  Needs socketpair to work, e.g.
3455	  http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets.
3456
34572 July 2010: Wouter
3458	- Put back CHECK_SSL in configure (removed with disable-tsig).
3459
346017 June 2010: Matthijs
3461	- Expand command line option '-a' and config option 'ip-address:'
3462	  with port number.
3463	- Removed --disable-nsid, --disable-dnssec, --disable-tsig
3464
346514 April 2010: Matthijs
3466	- Bump to 3.2.6.
3467
346814 April 2010: Matthijs
3469	- uintptr_t fallback value to void*
3470	- Backwards compatibility for MAP_ANONYMOUS
3471	- Tag 3.2.5.
3472
347331 March 2010: Matthijs
3474	- Commit b64_pton optimalized compat code (Martin Svec).
3475	- Commit (experimental) mmap-alloc-namedb patch (Martin Svec).
3476	- Commit parse-token-leaks patch (Martin Svec).
3477
347827 March 2010: Wouter
3479	- fix bug#303: misspelled error message.
3480
348119 March 2010: Wouter
3482	- documented nsid: "hex string" setting in nsd.conf.sample.
3483
348424 February 2010: Matthijs
3485	- nsid: option
3486	- Enable NSID support by default
3487	- --with-chroot configure option
3488	- Less stupid chroot error handling
3489
349015 February 2010: Matthijs
3491	- Skip memory cleanup to speed up reload (Martin Svec)
3492
34931 February 2010: Wouter
3494	- compat code for memcmp unsigned comparisons.
3495
349621 January 2010: Wouter
3497	- fixup debug sprintf to snprintf.
3498
349921 January 2010: Matthijs
3500	- Secure string functions, including compat code for strlcat.
3501	- Randomness utility function
3502	- Prepare for default chroot
3503
35046 January 2010: Wouter
3505	- check write errors when marking commit failed when difffile is broken.
3506
35076 January 2010: Matthijs
3508	- Move to 3.2.5
3509
351023 December 2009: Matthijs
3511	- Store new options in nsd structure.
3512
351322 December 2009: Matthijs
3514	- New options 'ipv4-edns-size:' and 'ipv6-edns-size'.
3515	- Bug 276
3516	- Bug 286
3517	- Bug 288
3518
351921 December 2009: Matthijs
3520	- New option 'tcp-query-count:'.
3521	- New option 'tcp-timeout:' and configure option '--with-tcp-timeout'.
3522	- New zone option 'notify-retry:'.
3523
352411 December 2009: Wouter
3525	- Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option.
3526
352720 November 2009: Matthijs
3528	- NSID bugfix: NSD did not recognize NSID in the query.
3529
35309 September 2009: Matthijs
3531	- DLV support
3532
353318 August 2009: Matthijs
3534	- Bug 269.
3535	- Typo: logincap.h -> login_cap.h
3536
353712 August 2009: Matthijs
3538	- Maintainers feedback
3539
354010 August 2009: Matthijs
3541	- Code review.
3542	- Also send errors to /dev/null in controlled_stop.
3543	- chown nsd.db
3544
35457 August 2009: Matthijs
3546	- Bug 266: don't have strptime build error
3547
354828 July 2009: Matthijs
3549	- Bug 263: make TSIG algorithms comparison case insensitive.
3550
355123 July 2009: Matthijs
3552	- Patch Paul Wouters for NSD using hardcoded name.
3553
355413 July 2009: Matthijs
3555	- Bug 236: allow RRs before the SOA RR.
3556	- Bug 253: No need for NS RRset in authority section, when returning
3557	  final answer for QTYPE=DNSKEY.
3558
355929 June 2009: Wouter
3560	- patch for use of Linux IPV6_MTU option, so that on linux the default
3561	  EDNS UDP size advertised becomes 4096 over IPv6.  It fragments the
3562	  packets using the IPv6 minimum MTU.
3563
356419 May 2009: Matthijs
3565	- Clean up configure script (install hickup)
3566	- Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code.
3567	- Replace strtoll code with own strtoserial function.
3568	- Move up to 3.2.3.
3569
357011 May 2009: Matthijs
3571	- Add Off-by-one test
3572
35736 May 2009: Matthijs
3574	- Small fix in SO_REUSEADDR warning log message.
3575	- Off-by-one bugfix (thanks Ilja van Sprundel, IOActive)
3576
357729 April 2009: Matthijs
3578	- A more ensured do_stop (useful fo nsdc restart).
3579
35802 February 2009: Matthijs
3581	- Bugfix #234.
3582	- Bugfix #235.
3583	- Reset 'error occurred' after notifying an error occurred at the $TTL or
3584		$ORIGIN directive (Otherwise, the whole zone is skipped because the
3585		error is reset after reading the SOA).
3586
35872 February 2009: Matthijs
3588	- Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>.
3589
359019 January 2009: Matthijs
3591	- Bug 230: nsd-*: use stdout for non-error output (instead of stderr).
3592	- Don't do strptime test when cross compiling.
3593
359417 January 2009: Jelte
3595	- Fix file rotation when no logfile but chroot.
3596
35978 January 2009: Matthijs
3598	- New nsd-patch option -o dbfile (set output.db)
3599	- update nsdc to deal with the new nsd-patch options
3600	- strptime compat fix
3601
36026 January 2009: Matthijs
3603	- New nsd-patch option -s (skip writing zonefiles)
3604	- Removed some region_create memchecks (not needed)
3605
36065 January 2009: Matthijs
3607	- Bug 218
3608	- Bug 222
3609	- Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256
3610
361110 December 2008: Matthijs
3612	- Bugfix: better error message when ixfr.db cannot be read
3613
361418 November 2008: Matthijs
3615	- chown logfile, don't do file rotation if logfile is outside absolute
3616		and outside chroot.
3617
361817 November 2008: Matthijs
3619	- File rotation for nsd.log when owned by nsd (+ tpkg test).
3620	- Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR
3621		request.
3622	- allow-axfr-fallback option.
3623
36247 November 2008: Matthijs
3625	- Bugfix: don't fclose if logfile == NULL.
3626
362730 October 2008: Matthijs
3628	- Allow escape characters in literal dnames
3629	- Fix typo in zonec manpage
3630	- Some fixes from code review
3631
363220 October 2008: Matthijs
3633	- Redo bugfix literal domain names in rdata (code adjustment)
3634	- Added tests for case sensitive dns names and "Bug #162"
3635	- Adjust nsd-patch to new ixfr.db format
3636
363714 October 2008: Matthijs
3638	- Only SO_LINGER when outgoing port is set
3639	- Reset diff_skip when a new difffile is created (parts in the difffile
3640		now have a timestamp).
3641	- Undo bugfix literal domain names in rdata (code adjustment)
3642	- Split up dname_parse to parse literal dnames and normalized dnames.
3643
36443 October 2008: Matthijs
3645	- setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris)
3646
36471 October 2008: Matthijs
3648	- Configure the source ip-address for notifies by the master and zone
3649		transfer requests by the slave in nsd.conf.
3650	- Previously added source hostname/ip and port configuration for
3651		nsd-notify and nsd-xfer
3652	- Finetuned nsdc for nsdc notify and nsdc update
3653
365429 September 2008: Matthijs
3655	- Bugfix: only normalize domain names in rdatas when rrtype is listed in
3656		RFC 4034, section 6.2: Canonical RR Form.
3657	- Update TODO list
3658
365925 September 2008: Matthijs
3660	- Fix bug where hmac-sha256 was in algorithm table, but could not be
3661		retrieved by name or id.
3662	- Additional arguments for nsd-notify and nsd-xfer: set outgoing
3663		hostname/ip-address and source port.
3664	- Additional TODO entry: optimize code in nsd-* programs.
3665
36668 September 2008: Matthijs
3667	- RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig
3668		algorithms.
3669	- modify and add tpkg tests for hmac-sha1 algorithms.
3670
36712 September 2008: Matthijs
3672	- AXFR fallback when IXFR/UDP failed on all masters
3673	- Bugfix: strip off chroot value in corner cases
3674	- Additional debug and verbose log messages
3675
367629 August 2008: Matthijs
3677	- IXFR allow UDP option
3678
367926 August 2008: Matthijs
3680	- Code layout, additional comments and documentation typo fixes
3681	- IXFR over TCP, no longer UDP
3682
368317 July 2008: Matthijs
3684	- Make the maximum number of interfaces configurable.
3685	- Write pidfile *after* successful server initialization,
3686		instead of writing, and unlink if fail.
3687
368816 July 2008: Matthijs
3689	- Set upcoming release to 3.1.1
3690	- Wouter: fixed memory leaks that happened on error, mostly on
3691	  zone transfer errors.
3692
369311 July 2008: Matthijs
3694	- Avoid race condition in nsdc: let nsd server update pidfile before
3695		closing old parent process.
3696
36978 July 2008: Jelte
3698	- Fixed NSEC3 memory leak in the case NSEC3 is not needed.
3699
37007 July 2008: Matthijs
3701	- Bugfix #191
3702
37039 June 2008: Matthijs
3704	- When comparing RRs, do not compare TTL values (since the same record
3705	  with different TTL values are considered equal).
3706	- Fixup some more unaligned memory access that could occur when
3707	  reading ixfr.db.
3708
370919 May 2008: Matthijs
3710	- Do not always log tcp read errors, only when real error or high verbosity
3711
371228 April 2008: Matthijs
3713	- Bugfix #172 (misleading error from zonec)
3714
371527 March 2008: Matthijs
3716	- Port some branch modifications to trunk
3717
371828 February 2008: Matthijs
3719	- Do not answer nsec3 wildcard information when DO bit is not set
3720
372119 February 2008: Matthijs
3722	- Fixed strptime bug (for MacOS Leopard)
3723
372422 January 2008: Matthijs
3725	- Add configuration for chkconfig to control nsd service (bug 164)
3726
372715 January 2008: Matthijs
3728	- Fixed bug 157 where nsd would return FORMERR if edns query is
3729	  received with version set to zero and rdlen is larger than zero.
3730
37318 January 2008: Wouter
3732	- no warning about optout records. also no warning about missing
3733	  nsec3 records.
3734	- check for hash(apex)==nsec3 with SOA bit was done in duplicate.
3735	- removed old commented out code
3736	- using SOA bit in NSEC3 typemap to detect parameters
3737	- using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains
3738	- prints for debugging.
3739	- nicer comment on nsec3_lookup.
3740
37417 January 2008: Wouter
3742	- Fixup nsec3 tests, they need zonesdir: "." in conf files.
3743	  The tests pass.
3744	- configure default is --enable-nsec3. Disabling this will save 20% more
3745	  memory (for very large zones). Moved tests to test on commit.
3746	- set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51.
3747	- fixup checkconf test - updated parser lexer gives syntax error
3748	  on some garbage instead of parse error. Parselexer is updated for
3749	  new options (hide-version, verbosity).
3750	- removed highrange rrtype code. fixup cutest for that.
3751	- speedup of prehash code.
3752		- skip nonexistent domains (operator.example.com).
3753		- skip only-nsec3 domains (that could be 2x speedup)
3754		- skip glue nameserver domains (for TLD with 2 glue per
3755		  delegation this is a 3x speedup).
3756		- skip the prehash_domain for delegation points, which saves
3757		  another 2/3 hash operations, 3x speedup.
3758	- printout how long nsec3 prepare took (verbosity >= 1).
3759
37603 December 2007: Matthijs
3761	- Fixup bug where data related files are looked up in the wrong
3762	  directory when chrooted with chrootdir ending with a slash.
3763
376426 November 2007: Matthijs
3765	- Fixup bug start nsd while already running: do not initialize server,
3766	  since it is already running.
3767
376815 November 2007: Matthijs
3769	- Changed man pages format from mdoc to mansun, to support the Solaris OS.
3770	- Better logging for nsd-notify (show 'broken' zone)
3771
377213 November 2007: Wouter
3773	- CREDITS and RELNOTES now in utf-8.
3774
377512 November 2007: Matthijs
3776	- Changed man pages according to bug 162.
3777
377830 October 2007: Wouter
3779	- Fixup for skip after unknown deleted IXFR RR, otherwise processing
3780	  would continue at the wrong spot in the packet and process the IXFR
3781	  as if it were malformed.
3782	- added unit test for this in long (needs ldns-testns, updated it).
3783	- added unit test for rollback of malformed zone transfers.
3784	  Fixup for it, and fixup in ldns-testns to be randomport and
3785	  copy id for hex packets.
3786
378729 October 2007: Wouter
3788	- Fixup bug where malformed IXFR replies cause partial processing in
3789	  reload (or nsd-patch or nsd-startup). One result is multiple SOA
3790	  records in zone apex. Fixup rolls back the zone transfer, and waits
3791	  for NSD to try to load again.
3792
379326  October 2008: Wouter
3794	- small fix in descriptive text in sample config for debug-mode.
3795
37969 October 2007: Mark
3797	- Change default location of: nsd.db, ixfr.db & xfrd.state to
3798	  /var/db/nsd.
3799
38005 October 2007: Wouter
3801	- Fixup manual page entry for allow AXFR to anyone.
3802
38033 August 2007: Mark
3804	- Report source and zone for denied AXFR attempts.
3805
380625 July 2007: Wouter
3807	- bind2nsd to 0.5.0, fixup of includes, key{} handling.
3808
380919 July 2007: Wouter
3810	- bind2nsd to 0.4.8, fixup of include bug.
3811
381218 July 2007: Wouter
3813	- added contrib for bind2nsd, Al Stone provided an abridged version
3814	  that neatly fits for contrib.
3815
381617 July 2007: Wouter
3817	- fixup commithooks.
3818
381916 July 2007: Wouter
3820	- Added reference to http://bind2nsd.sourceforge.net/ to
3821	  contrib/README.
3822
38233 July 2007: Mark
3824	- Zone compiler now gives more sane error message when out of
3825	  diskspace.
3826	- Fixed a call to drill in tpkg that made a test check bind instead of
3827	  nsd.
3828
38292 July 2007: Mark
3830	- Remove last traces of mmap usage.
3831	- Some cleanups in tpkg.
3832
383324 April 2007: Mark
3834	- Added "hide-version" configuration setting. Enabling this feature
3835	  stops NSD from answering to CHAOS class version requests.
3836
383719 April 2007: Wouter
3838	- Compiled on minix 3.1.3 and make some adjustments to ease porting.
3839	  ECONNABORTED is checked for. sys/select.h included in nsd-notify.
3840	  SO_REUSEADDR failure is not fatal. PF_INET compat code added.
3841	  If you compile yourself; strptime and socketpair need compat code.
3842
384313 April 2007: Wouter
3844	- Minor tweak to nsec3.c, more elegant handling of malformed nsec3
3845	  records from a zone transfer.
3846
384710 April 2007: Wouter
3848	- Fixup ignored return value in region-allocator. Now returns a NULL
3849	  memory allocation failure and leaves region in a consistent state.
3850
385120 March 2007: Wouter
3852	- Released 3.0.5.
3853	- (for 3.0.6) -O2 test for Alpha moved to saner position.
3854
385516 March 2007: Wouter
3856	- port configure to AIX, removed warning on ALIGNMENT in region code.
3857	  defined _ALL_SOURCE to get recent C definitions on AIX.
3858	- improved nsec3.h comments.
3859
386022 February 2007: Wouter
3861	- Zonesdir default is now /etc/nsd.
3862	  So that the invocation directory is not used to dump files into.
3863	  The user can change the zonesdir by editing the config file.
3864	  The directory is created by install, if not an error is printed.
3865	- updated tpkg tests to use current dir for testing.
3866	- tcp connections that drop do not spam the log file.
3867	  Unless verbosity is set high.
3868
386919 February 2007: Wouter
3870	- Fix empty line printed with warning on 'force zone transfer'.
3871
387215 February 2007: Wouter
3873	- Check for EPROTO definition to compile on FreeBSD4/Alpha.
3874
387513 February 2007: Mark
3876	- Debug flag (-d) behavior changed. Nsd now also forks children when
3877	  run in debug mode.
3878	- Added verbosity mode (-V <level>) for extra operational logging.
3879
38808 January 2007: Wouter
3881	- README text on interface configuration added.
3882
38832 January 2007: Wouter
3884	- Fixup accept() that could block due to already closed connection.
3885	  Made listen() nonblocking, ignores errcodes that indicate closed tcp.
3886
388729 January 2007: Mark
3888	- Handle the new CERT RDATA types defined in RFC 4398 (submitted
3889	  by Mans Nilsson).
3890	- Change nsd-notify retry timer from linear into exponential backoff
3891	  (submitted by Mans Nilsson).
3892	- Due to a small bug in a comparison statement, zonec would fail
3893	  on the parsing of unknown CERT types. This got triggered by the
3894	  first bugfix today, as that one shouldn't have been discovered in
3895	  the first place. Took the opportunity to sanitize two other
3896	  comparison statements related to strtol().
3897
389824 January 2007: Wouter
3899	- Tentative change to set UDP sockets nonblocking. Perhaps it
3900	  helps Howard.
3901
390219 January 2007: Wouter
3903	- NSEC3 work. prehash printed only once with time taken to prepare.
3904	- prints are now only in DEBUG mode (except errors).
3905	- rr descriptor counts for NSEC3 updated, has an extra field flags.
3906	- now NSEC3PARAMs with flags!=0 are ignored, as per draft-09.
3907	- Fixed where only first NSEC3PARAM was properly detected.
3908	- Added tpkg in manual (because you need to compile with nsec3)
3909	  that performs the test queries from draft-09 and checks them.
3910	- Made tpkg to test NSEC3 parameter detection. NSD will skip any
3911	  NSEC3PARAMs that don't work until the first working one is found.
3912	  Also, this means unknown hash algorithms are simply ignored.
3913	  A zone that uses exclusively unknown hash algorithms for NSEC3
3914	  will give errors on loading (or after zone transfer) but NSD
3915	  will load and serve the zone (but no NSEC3s are returned).
3916	- added tpkg in manual to test parent side DS answers.
3917	  These follow a different code path than child side DS.
3918	- Will allow NSEC3s(and signatures) below a DNAME.
3919	- A query for an NSEC3 ownername will lead to DNAME redirection
3920	  as if the NSEC3 did not exist.
3921	- Test package in manual that tests NSEC3 and DNAME in the apex.
3922	- Changed NSEC3 memory requirements from 5 pointers per domain name
3923	  to 3 pointers and 2 bits.
3924	- Added jumpstart for nsec3 search, will greatly speed up optout
3925	  zone nxdomains. At the cost of one ptr per domain name.
3926	  The speedup also speeds up the nsec3 prepare stage.
3927
392818 January 2007: Wouter
3929	- Created 3.0.4 release tag.
3930	- 3.0.5 number in trunk.
3931	- add nsd.spec patch from Farkas Levente to contrib.
3932	- NSEC3 new wireformat and presentation format from draft-09.
3933
393411 January 2007: Wouter
3935	- The message 'server .. closed cmd channel' is now priority INFO.
3936	  This to reduce the 'error' amount in the logs.
3937	- On error in a tcp request, set to retry next instead of waiting
3938	  for the tcp timeout.
3939
39409 January 2007: Wouter
3941	- TSIG acl matching changed so that NOKEY allow-notify entries match
3942	  only queries without a tsig. Otherwise NSD would crash.
3943	  This only affects servers that have allow-notify: ip NOKEY and
3944	  someone sends a TSIG signed notify from that ip.
3945	- test package for that.
3946	- Fix for reply to notify messages with ANCOUNT wrong. The ack
3947	  to notify messages that passed the ACL, and had a SOA in the answer
3948	  section of the query, included wrong RR counts in the header.
3949	- test package for notify reply wireformat.
3950
39518 January 2007: Wouter
3952	- ipc_send_blocked will not lead to busy waiting on it, but will block
3953	  in select, until SOA_END comes by.
3954	- server_main sends SOA_END if reload crashes, to xfrd. So that xfrd
3955	  can set ipc_blocked=0 and can_send_reload=1; and thus resume service,
3956	  assuming that the crash was a temporary condition.
3957	  This will lead to trying every reload-timeout seconds to reload
3958	  if it is a permanent condition. Which is more obvious to the
3959	  operator.
3960	- put the error "error: diff: RR ns.kiev.ua. already exists" in
3961	  debug mode only. Zone transfers with this error are liberally
3962	  accepted, and we should not spam the logfile.
3963	- empty zones will not be retried forever every 10 seconds,
3964	  but exponential backoff to a max of every 4 hours.
3965	  The exact value is randomised to spread out attempts.
3966
39675 January 2007: Wouter
3968	- Fixed --zonesdir=<path> for configure. The value did not get used
3969	  as a default value. Now it is used as a default value. If a
3970	  default value is set for zonesdir, you can go to a 'no value
3971	  specified' by giving the empty string, zonesdir: "" in nsd.config.
3972	- Fixed checkconf.tpkg for this change. nsd-checkconf will
3973	  output zonesdir: "" as this is the default for --zonesdir.
3974
39752 January 2007: Wouter
3976	- Added contrib script from Stephane Bortzmeyer to convert NSD 2 to
3977	  NSD 3 config files. Converts secondary zones and TSIG keys.
3978	- Made config conversion script skip empty lines.
3979	- Made config conversion script convert primary zones (and notify).
3980	- Nsdc control script will exit with 'nsd startup failed.' if nsd
3981	  fails to start (due to bad config file for example).
3982
398315 December 2006: Wouter
3984	- Removed dlopen() checks from configure.ac, NSD3 no longer has
3985	  dynamic plugin support (since 3.0.0).
3986	- added .rpm spec file to contrib.
3987	- Updated README to remove reference to buildzones script.
3988
398912 December 2006: Wouter
3990	- Added missing include to ipc.c to compile on SunOS.
3991	- Cast to avoid signed/unsigned comparison in compat/inet_ntop.c.
3992
399311 December 2006: Wouter
3994	- Added test to check for CNAME and other data error by zonec.
3995	  Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME.
3996	- Fixup unaligned memory access that could occur when reading ixfr.db
3997	  with a partial transfer inside.
3998	- RR type WKS (well known service) was not printed correctly,
3999	  htons() was forgotten when calling getservbyport.
4000	- NSD does not complain about not being able to read the db CRC
4001	  when all that happens is the file became longer or shorter.
4002
40038 December 2006: Wouter
4004	- Moved down max XFRD UDP sockets for zone transfer queries to 100
4005	  down from 300. This makes the total socket max at 200, so it fits
4006	  easily under 256 ulimit (a common default).
4007
40087 December 2006: Wouter
4009	- Improved error message to help operator.
4010	- created 3.0.3 svn tag.
4011	- default of zonesdir corrected (no directory is default).
4012
40134 December 2006: Wouter
4014	- updated test packages. Moved 213_large from manual to long.
4015	  size_0, source_port_0 made more working (needs root permission).
4016
40171 December 2006: Wouter
4018	- Moved xfrd ipc and reload handlers to front of event handler
4019	  lists for a 10% speedup in xfrd.
4020	- Fixed so that NSD no longer interrupts zone transfers when
4021	  a notify comes in for that zone. Added package to test it.
4022	- Fixed warning on Solaris 10.
4023
402430 November 2006: Wouter
4025	- Test for fallback in getaddrinfo more portable.
4026	  Ported to FreeBSD 6.1 without inet6.
4027	- New quit sync had a problem with blocking in dispatch. Fixed.
4028	- reload will retry quit_sync if nothing happens.
4029	- parent tries to empty the pipes before closing them on quitsync.
4030	- xfrd does not send reload when previous reload request busy.
4031	- netio will only deliver the number of bits from select
4032	  and then stop. Optimisation.
4033
403429 November 2006: Wouter
4035	- Fixed getaddrinfo error message to be more descriptive.
4036	- Fallback to ip4 also if getaddrinfo fails for ip6.
4037	- instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable
4038	  to FreeBSD.
4039	- signed/unsigned warning fix for FD_SETSIZE comparison.
4040	- Lots of debug statements and new quit sync feature, where
4041	  the server children are synced with. So as not to lose buffers.
4042
404328 November 2006: Wouter
4044	- Debugging 10k zones transfer, set so that zones waiting for a
4045	  socket do not get timeouts.
4046	- Debug change so that an event is only returned to one handler
4047	  by netio.
4048	  Reversed this. Netio will not deliver events you do not listen
4049	  to, and since xfrd first listens to write then read, it will
4050	  not have problems with stale events (for the fd from the previous
4051	  select) because these are always read, while it needs a write.
4052	  Re-Reversed it: netio will deliver events only once.
4053	  This is easier to understand for the poor hapless developer.
4054	- Need to set notify_current for notify on waiting list. Fixed.
4055
405627 November 2006: Wouter
4057	- Debugging 10k zones transfer, noticed that it is possible for
4058	  netio to give a callback for an event that you were not listening
4059	  to. Now no longer does that.
4060
406116 November 2006: Wouter
4062	- Bug #153: now checks for FD_SETSIZE when adding fd to select fdset.
4063	- Easy overview of socket allocation for xfrd in xfrd.h
4064	- Upped the default xfrd socket limits a bit.
4065	- Log message that the TCP connection limit is reach is now only
4066	  in -L 2 logging. It is spammy.
4067	- updated dependencies.
4068	- Added test for notify-socketcount, and removed unused files from
4069	  bug153 test package.
4070	- Notify udp sockets are also capped at a max number. The rest
4071	  has to wait in a queue.
4072
407315 November 2006: Wouter
4074	- Fixed bug #152: identity keyword in nsd.conf did not work.
4075	  What happened was that the hostname() from the computer
4076	  was overriding the nsd.conf identity. Fixed now.
4077	  If commandline is given that is used.
4078	  Else nsd.conf entry is used.
4079	  Else hostname() detected from computer is used.
4080	  Else default string "unidentified" is used.
4081
408214 November 2006: Wouter
4083	- Fixed bug where NSD tries to create 10000 udp sockets,
4084	  when starting with 10000 secondary zones. Limited to 50
4085	  at a time. The XFRD_MAX_UDP constant controls this.
4086
40873 November 2006: Wouter
4088	- Created tags/NSD_3_0_2_REL.
4089
40902 November 2006: Wouter
4091	- Added pdf for differences.tex for ease of use.
4092	- Updated text in readme on memory usage.
4093
409424 October 2006: Wouter
4095	- Recycle rrset memory after doing special processing on the deleted
4096	  rrset data.
4097	- log message clearer for 'duplicate xfr part' to 'discarding partial
4098	  xfr part'.
4099	- if you have a server that has IXFR turned off but sends a TC flag
4100	  for IXFR queries, xfrd will retry to TCP. This makes the use of
4101	  'AXFR' flag in nsd.conf file not needed in certain cases.
4102	- Be thrifty and save up the memory that was lost at end of chunks
4103	  in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset.
4104
410523 October 2006: Wouter
4106	- Added checks for out of memory in reload (diff file). And it exits
4107	  if so neatly.
4108
410913 October 2006: Wouter
4110	- Bug #149: Wrong text for NOTAUTH error code. When notify is not
4111	  authorised REFUSED error code returned instead.
4112
41134 October 2006: Wouter
4114	- More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146,
4115	  his bash does not do $(( )), so nsdc.sh has to use test of course.
4116
411729 September 2006: Wouter
4118	- recyclebin works, added a test that uses it (about 3 Mb goes
4119	  through the recyclebin). This resolves bug #147.
4120	- Made -L 1 logging is little less verbose (-L 2 gets it all).
4121	- added search path for openssl on Solaris 10 (/usr/sfw).
4122
412328 September 2006: Wouter
4124	- Removed unused global variable current_region,
4125	  and routines for it in region-allocator.c and .h.
4126	- Added recycle option to regions. It will keep track of small
4127	  objects in a recycle bin. Large objects are deallocated.
4128	  No calls to recycle yet, unit test it first.
4129	- added unit test for region recycle.
4130
413127 September 2006: Wouter
4132	- Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile
4133	  to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile
4134	  are never NULL. This simplifies code elsewhere.
4135	  And also handles chroot case (+=l) for default values.
4136	- Fix for bug #145. The skip file position in the diff file was used
4137	  inconsistently - one part of the code skipped to before the 'IXFR'
4138	  type code and another part skipped to after that. Now all skip to
4139	  before the type code. This bug only happens if your diff file
4140	  is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit,
4141	    zone2_part2, zone2_commit. The skip over zone1_part1 failed.
4142	- tpkg test in long dir that tests for the bugfix. Takes a long time
4143	  and uses ldns-testns feature to wait partway through an AXFR.
4144	- removed debug log of strerror on diff read failure, when the errno
4145	  was already output to the logfile (resulting in a nonsense error).
4146
414726 September 2006: Wouter
4148	- NSD compiles on Solaris 10 with the sun cc compiler.
4149	  Added a define for _STDC_C99 for that.
4150	- Checked that the patch for solaris for bug 143 indeed fixes the bug.
4151	- Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed
4152	  to write xfrdfile/difffile.
4153
415418 September 2006: Wouter
4155	- no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains.
4156
415715 September 2006: Wouter
4158	- Fixed LOC parsing of integer overflow causing maximum values.
4159	  Added to test and backported fix to 2.3.6.
4160	- NSEC3 qtype queries get noerror/nodata or nxdomain answers.
4161	  You can query for NSEC3PARAM.
4162	- warnings for printf format on maxOS (sizet needs cast to int).
4163
416413 September 2006: Wouter
4165	- added fsync to AF_UNIX sockets to write last command (QUIT) before
4166	  closing them.
4167	- sent explicit QUIT command to xfrd on final shutdown of the server.
4168
416912 September 2006: Wouter
4170	- Bug #144: LOC defaults for unspecified values wrong. Error in zonec.
4171	  Set defaults. Also fixed parser if LOC has no minutes or seconds.
4172	- Also fixed rounding error in seconds 0.001 decimal.
4173	- Test tpkg for bug 144.
4174
417511 September 2006: Wouter
4176	- nsdc now more portable in use of 'which'.
4177	  Does not only look at exit code but also checks for '^no ' string.
4178	- nsd-patch does a chdir to zonesdir for relative difffile or dbfile
4179	  path names.
4180	- nsdc handles zonesdir: for relative pidfile, dbfile, difffile
4181	  pathnames.
4182
41837 September 2006: Wouter
4184	- bumped version to 3.0.2.
4185	- Nice configuration error when you had the wrong zone name in the
4186	  nsd.conf file. Zonec will give an error already.
4187	- When you start a secondary zone without a zone file, you get
4188	  a much nicer error message, warning you of the zone transfer.
4189	- Credits for prerelease testers; Thanks guys!
4190
41916 September 2006: Wouter
4192	- Fixed nsd-patch so that it writes the SOA at the start of the file.
4193	- test tpkg that tests for the bug, has multiple rrsets at zone apex
4194	  and does nsd-patch followed by zonec.
4195	  Previous tests did not catch this: they used nsd-xfer to test zone
4196	  contents, or only checked the zone-file after nsd-patch.
4197	- version number bumped to 3.0.1.
4198	- svn tag 3_0_1 made.
4199
42005 September 2006: Wouter
4201	- differences file improvements.
4202	- created 3.0.0 release in svn tags.
4203
42044 September 2006: Wouter
4205	- From suggestions by Bin Zhang:
4206		- nsdc restart does not fail if nsd was not running.
4207		- fixes to man pages, wrong locations for files.
4208	- NSEC3-PARAM has no optout bit in presentation format.
4209	- NSEC3PARAM spelling.
4210	- differences in latex format (needs nlnetlabs housestyle).
4211
421231 August 2006: Wouter
4213	- Fix for tsig size still set when data is null ptr.
4214	- Fix configure for NetBSD (1.6 - 2.0) to find struct timespec.
4215	- DIFFERENCES file completion.
4216
421730 August 2006: Wouter
4218	- Print error nicely when nonblocking connect fails on systems
4219	  in a portable way.
4220	- doc/UPGRADING document to assist NSD 2 to 3 upgrades.
4221	- updates of error print - ignore EINPROGRESS if we check too early.
4222	- wait for select writable before testing for connect error.
4223	- echo "" >&2 is not as portable as we would like, removed from nsdc.
4224	- fixed debug print of a null ptr.
4225	- fixed bug where query for CNAME that points to unserved zone caused
4226	  nullptr exception on empty zone ptr. Now original zone is restored
4227	  after CNAME-pointed data is added to the packet.
4228	  Test in dname.tpkg. Reported by Kai.
4229	- fixed stack corruption when ipv6 disabled.
4230
423129 August 2006: Wouter
4232	- NSEC3 made it so it can handle the case where the NSEC3 RRSET
4233	  with the SOA bit on does not have the RR with the soa bit set
4234	  as the first RR.
4235	- Handle NSEC3-PARAM type. Checks to see if any of them work:
4236	  zone apex hashed exists, with NSEC3 type, and RR that has
4237	  the same parameters and the SOA bit set.
4238	- in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout.
4239	- update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and
4240	  NSD 2 and 3 comparisons are completed.
4241
424228 August 2006: Wouter
4243	- echo messages in nsdc made clearer. nsdc notify and nsdc update
4244	  only send notify messages to slaves / localhost to force transfers.
4245	- initial NSEC3-PARAM type code entry. parsed, ignored.
4246
424725 August 2006: Wouter
4248	- disabled make test target as tests are not shipped.
4249	- performed prerelease static snapshot.
4250	- updates to the DIFFERENCES document.
4251
425224 August 2006: Wouter
4253	- Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2.
4254	- Added a test for bug 141.
4255	- Bug141: save the opcode from the query.
4256
425723 August 2006: Wouter
4258	- Fixed % by 0 exception in the bugfix #139.
4259	- Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative
4260	  responses, now NSD clears the CD flag. This is bug #140.
4261	  RFC 4035 could be confusing on this, as it states 'all servers
4262	  MUST copy the CD bit' more than once, but then makes clear only
4263	  recursive servers are meant with that statement.
4264	- Differences document updates for bind 9.3.2 and nsd 3.
4265
426622 August 2006: Wouter
4267	- version number to 3.0.0 in preparation for release.
4268	- Bug #139: resync stats to whole period. Fixed.
4269
427021 August 2006: Wouter
4271	- check for error in ftruncate call.
4272	- replaced fwrite call with write_data call from util that does
4273	  error checking.
4274
427515 August 2006: Wouter
4276	- removed unused struct nsd.named8_stats variable.
4277	- Bug #138: nsd aborts trying to bind all interfaces if ip6 is not
4278	  enabled, instead it will fallback to ip4.
4279
428014 August 2006: Wouter
4281	- Added test for rollback of an IXFR transfer by xfrd.
4282	- Added test for reload timeout in xfrd, the reload does happen after
4283	  a while, but not immediately.
4284	- Test that makes xfrd connect to ip6 address.
4285	- Test that overloads the number of tcp connections in xfrd,
4286	  simulating a slow master, so that zones have to queue up to get it.
4287	- code coverage is now 2514 of 10636 uncovered. Still a lot uncovered.
4288	- ixfr queries return NOT_IMPL errors.
4289
429011 August 2006: Wouter
4291	- srandom to init random() in xfrd based on PID and time.
4292	- improved usage() information to be more helpful, and with version.
4293	- in makedist.sh, flex and bison called like in Makefile.
4294	- test for tcp underrun and overrun of the buffer.
4295
429610 August 2006: Wouter
4297	- added more tests to increase code coverage of testset.
4298	- moved acl parsing code from configparser.c to options.c to help
4299	  unit testing.
4300	- nsd-checkconf echod wrong difffile filename with -v.
4301	- nsd-patch can now be used with -f to force printing of all RRs.
4302	- TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME,
4303	  now ZF_UNKNOWN.
4304	- unknown rr test was faulty on input, the length was in nibbles
4305	  not in octets, but rfc specifies octets for unknown rrs.
4306	  NSD does not look at the length, and prints the length correctly.
4307	- added type NXT to the rr-test for weird RRs.
4308	- added printing test to rr-test, ipseckey and unknown-rr tests.
4309	  checks if NSD prints the same RR on output as it read in.
4310	- put -x option for nsd-patch in usage().
4311	- test that kills an nsd child server and checks that it is
4312	  restarted.
4313
43149 August 2006: Wouter
4315	- tested nsdc functionality, make install and make uninstall.
4316	- set O_NONBLOCKING on xfrd tcp sockets before the connect call,
4317	  because the handshaking can take very long too.
4318	- difffile and xfrdfile set via configure, to absolute pathnames,
4319	  so that chroot checks work for them.
4320	- updated tpkgs, they need to set relative paths now for difffile.
4321	- gcov says 2821 of 10617 total code lines are not covered.
4322	  compiled with --coverage, not -O2, ran tpkg/* and long/testplan*.
4323	  counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc.
4324	- cleaned up the log functions, NSD no longer spams the syslog with
4325	  debug messages. The standard NSD debug util is used, -F -1 -L 2 for
4326	  a compile configured with --enable-checking will enable them again.
4327	  Errors are logged, as is the automated reload of a new serial.
4328	- tpkgs for bug077 and bug107 were silently failing to test properly.
4329
43308 August 2006: Wouter
4331	- fixes for checkconf test, more portable.
4332	- removed items from TODO that have been tested.
4333	  for multihomed servers you have to bind to each interface
4334	  explicitly to get outgoing ip-address the same as query
4335	  destination ip-address.
4336	  Forks and if-existing are tested and ok in testplan tests.
4337	  close_all_sockets is called by child, if tcponly, so leave it.
4338	- user name check is hard portably with shell scripts, and
4339	  packaging could set a default user that does not exist on a machine.
4340	- empty nodes (nonterminals) give no nxdomain any more (todo item done).
4341	- removed (old) from TODO.
4342	- removed contrib/buildzones.pl, it is outdated.
4343
43447 August 2006: Wouter
4345	- Made the tests a little more portable.
4346	- fixed mempcy unable to handle unaligned memory addresses on Solaris,
4347	  used memmove instead of memcpy in zonec LOC conversion code.
4348	- another unaligned memory access, when storing off_t pointer in
4349	  difffile.c, used memmove.
4350
43514 August 2006: Wouter
4352	- nsd will start if diff file is corrupt, with a log message.
4353	  It ignores the bad data.
4354	- tpkg files do not override PATH, svnhook sets it. So user can
4355	  set path to utilities on the system to run the tests.
4356	- running testset on DecAlpha discovered uninitialised variable
4357	  in NSD. Fixed.
4358	- Jakob Schlyter asked for building nsd3 in an obj dir, i.e.
4359	  mkdir obj; cd obj; ../configure && make. Fixed up makefile for that.
4360	- and bug137.tpkg for separate obj dir building.
4361
43623 August 2006: Wouter
4363	- more tests in mesh test.
4364	- changed test packages to put nsd log to test result "/dev/stdout".
4365	- test packages more portable - use default 'dig' location.
4366	  also, path is appended to, instead of replaced.
4367
43682 August 2006: Wouter
4369	- Region can be customised for detailed memory handling.
4370	  Especially if you set large_object_size=0, chunk_size=0,
4371	  the region will perform individual allocs, and 'save memory'.
4372	  The region still keeps tracks of allocations so that at
4373	  region_free time all memory is released.
4374	- tsig.region removed, it was not used after attaching a cleanup
4375	  at creation. tsig creation uses custom region settings.
4376	- xfrd inits the tsig records with memory saving settings,
4377	  so the regions alloced for tsig take up about 60 + 4*8 bytes.
4378	- new custom region for query region - to make chunksize larger
4379	  there. The chunksize for the query region is important, if
4380	  all allocations for a query fit in it, no mallocs are needed.
4381	- TSIG other_data field size according to RFC 2845 is 0 or 6.
4382	  In tsig implementation put a maximum to the field of 16,
4383	  otherwise a formerror results.
4384	- query with IXFR appended SOA not formerror.
4385	  IXFR queries not reach the handler in axfr.c for IXFR queries.
4386	- removed annoying debug message of added tsig key.
4387	- added test that starts 7 servers in a mesh and lets them fight out
4388	  what zones to transfer and serve.
4389	- xfrd logic bug: if notified a slave would not see the renewal
4390	  of its current zone.
4391
43921 August 2006: Wouter
4393	- Test for remove domains with IXFR.
4394	- Fix for empty nonterminals and IXFR deletes.
4395	- Test for timeouts, including expiry, and expiry and zone updates.
4396	- Test for axfr refused authorisation.
4397	- Test for deadlock in ipc.
4398
439931 July 2006: Wouter
4400	- Test plan ixfr test in tpkg/long directory.
4401	- IXFR with many packets tested (one RR per packet).
4402
440328 July 2006: Wouter
4404	- tentative change, that preserves ordering of rrtypes for a domain.
4405	- fix for serial rollover (old_serial + 2**31), now works, is seen
4406	  as new serial and rolled over to new.
4407	- serial numbers, and time values, printed as unsigned to logfile.
4408	- set so that if info is provided by operator, refreshing state
4409	  not expired is used.
4410	- forgot to * a pointer to boolean, is_ixfr in the difffile reader.
4411	  This fixes the testplan_ixfr test 1.
4412
441327 July 2006: Wouter
4414	- fixup desc of tsig xfer test, remove debug from xfr_huge.
4415	- fixed compressed dname tables cleanup, to set ptr to NULL.
4416	- initialised xfrd_listener.fd to -1.
4417	- fixed difffile handling of very short AXFRs, with no data.
4418
441926 July 2006: Wouter
4420	- Updated the requirements with comments from Olaf.
4421	- README discourages use of experimental nsec3 rr a bit more.
4422	- typo in DNAME code, used original qname instead of CNAME
4423	  adapted qname variable.
4424	- added IPSECKEY RR type, RFC 4025.
4425	- tpkg test with sample ipseckey rrs.
4426	- wireformat for IPSECKEY depends on the value of a rdata atom, added
4427	  WF_IPSECGATEWAY to handle that.
4428	- DHCID type, data is encoded in one binary/b64 blob.
4429
443025 July 2006: Wouter
4431	- max number of tries for nsd-notify is 15, so that the
4432	  total time for sending is about 75 seconds.
4433	- forward port of fixes for bug 105 and 135 in nsdc.
4434	  forward port of test for bug 105.
4435	- fixed nasty bug with configure --prefix=<...> where config.h
4436	  was wrong. Now double evaluate the shell expansion on the defines.
4437
44385 July 2006: Wouter
4439	- helped in README with gnu make; need to make clean
4440	  so that botched attempts by make to create the lexer files
4441	  do not stay around.
4442	- removed %zd, replaced by casts to int.
4443	- updated REQUIREMENTS file, the sections on RR types, on what
4444	  algorithm NSD follows and on which RFCs are supported are updated.
4445
44463 July 2006: Wouter
4447	- 'make depend' target in makefile. (updates both Makefile.in
4448	  and Makefile, so it works for users and for svn).
4449	- doc minor update.
4450
44512 July 2006: Wouter
4452	- TESTPLAN, README, bugzilla-bugs docs updated.
4453	- NSD for BIND users update.
4454
445529 June 2006: Wouter
4456	- removed --zonesfile nsd.zones configure option.
4457	- doc/README updated for 3.0.
4458	- doc update. NSD_FOR_BIND_USERS document.
4459	- moved from -Ds to the config.h header, cleaner compilation output.
4460	- use autoconfs built in large file support enabler.
4461
446228 June 2006: Wouter
4463	- nsdc neater, checks for BLOCKED ips more strictly.
4464	- nsd -d also disables xfrd forking, and thus all reloads
4465	  and secondary zone treatment. Stated so in manual page.
4466	- fixup, apart from ip4 need to allow ip6 in example.conf
4467	  line showing how to allow access for everyone to axfr.
4468
446927 June 2006: Wouter
4470	- Fixed read in server.c to be a blocking read for sure,
4471	  even if ipc is not blocking on the OS.
4472	- nsd-notify tries to send notify 5 times, then exits with error.
4473	- nsd-checkconf can lookup key secrets by name from a config file.
4474	- difffile option is always set in options struct with default
4475	  or config value.
4476	- nsd-patch uses dnames to compare zone names (for trailing .).
4477	- nsdc updated to work with config file.
4478
447926 June 2006: Wouter
4480	- Nicer check in autoconf for struct timespec type.
4481	- NSEC3 next hashed ownername is a length byte followed by data.
4482	- nsd-checkconf more quiet, clearer error message.
4483	- NSEC3 does not complain about glue records without nsec3.
4484	- nsdc work (did start, stop, running, rebuild, restart, reload, stats).
4485
448621 June 2006: Wouter
4487	- nsid commandline parsed using hex_pton routine.
4488	- unit test for hex_pton.
4489	- added include stdlib, needed for free() on sunos4.
4490	- fixup of disable-ipv6 compilation.
4491	- memmove compat implementation (created fresh).
4492	- yy_set_bol() for old flex compat define.
4493	- compat implementation from openssh4.3p2 for
4494	  strlcpy, inet_aton, and inet_ntop routines.
4495	- changed ctime_r usage to ctime() call, nsd is not threaded.
4496	- compiles on SunOS4/gcc-2.95.
4497	- debug statements go to the log_msg route instead of the
4498	  fprintf route, so they will get to a nice logfile even if
4499	  we forked away, with xfrd. logfile=/dev/stderr gives old way.
4500	- minor changes to cutest to make unit test compile
4501	  on SunOS4/gcc-2.95, it checks out fine there.
4502
450320 June 2006: Wouter
4504	- updated configure to disable -O2 on platforms where gcc
4505	  does not like it (such as dec-alpha).
4506	- nsd-notify used recvfrom and passed addrinfo.ai_addrlen
4507	  which is a size_t, but recfrom needs a socklen_t*. On dec
4508	  alpha these types differ in size (size_t is 64bit,
4509	  socklen_t is 32bit). Therefore, used a wrapper variable
4510	  to pass to recvfrom.
4511	- changed long int to time_t in nsd-patch.c to please compiler
4512	  on dec alpha.
4513	- dec alpha complains if statements are in front of variable
4514	  definitions. Fixed code for some mixups on this.
4515	- Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f.
4516	- cutest fixup uses (size_t) cast and %zx to print ptrs (for debug).
4517	- for SunOS4 configure detects ssize_t and struct timespec.
4518	- removed usage of fpos_t, instead using fseeko/ftello for 64bit.
4519	- configure will define fseeko/ftello with fseek/ftell if unavailable.
4520	- added missing include from buffer.c (stdlib for free()).
4521	- defines for snprintf and vsnprintf in config.h if needed.
4522	- configlexer flex is called more cleanly with -t to write stdout.
4523	- missing include from configparser, stdlib for atoi.
4524	- config.h provide inet_pton define if it is not available.
4525	- fixup of INET6 defines, where sockaddr_storage is used
4526	  outside of INET6 defines, in xfrd-tcp.
4527	- edns_init_nsid was not defined in edns.h.
4528	- added compat/fake-rfc2553.c and h from openssh 4.3p2. That has
4529	  a BSD license as well. They replace getaddrinfo() (and friends)
4530	  when those are missing.
4531
453219 June 2006: Wouter
4533	- updated the tpkg/manual tests for NSD 3 config files.
4534	  Some need root privileges to run (using hping), they all pass.
4535	- also the tpkg/long test bug_sighup.
4536	- nsec3 code will warn at prehash time for missing exact nsec3
4537	  records. So faulty signed zones are more easily spotted.
4538	- fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname.
4539	- removed for() look in CNAME processing, only first CNAME is
4540	  processed now.
4541	- zonec will error on a zone with multiple CNAMEs for one name.
4542
454316 June 2006: Wouter
4544	- Swapped read and write ops in xfrd_handle_ipc, so that a read
4545	  of a signal from main can stop further writes.
4546	- xfrd will complete its last message before shutting down
4547	  the ipc writes and then acknowledge the reload-sync.
4548	  This resolves the race where half of ipc messages caused bad
4549	  modes from the main.
4550
455115 June 2006: Wouter
4552	- In preparation of notify send overhaul, moved the notify
4553	  send code to xfrd-notify.c and h files.
4554	- created cleaner split of notify send and xfr code.
4555	  Still in the xfr process, because it is a convenient location.
4556	- fixed bug where notify sending would read from wrong fd.
4557	- send master zone notifies.
4558	  Does not skips master zone SOA INFO updates.
4559	- fixed bug where port number acls did not match.
4560	- fixed bug where tsig keys are checked for twice, but not error_code.
4561	- fixed notify send retry counting.
4562	- added test tpkg for notifies from nsd master to nsd slave.
4563	- nsd-checkconf flags if you set allow-notify without request-xfr.
4564
456514 June 2006: Wouter
4566	- fixed crash bug when dnssec/NSEC enabled and query DNAME
4567	  target did not exist.
4568
456913 June 2006: Wouter
4570	- created doc subdirectory for documentation.
4571	- removed unused DIFF FILE MAGIC string.
4572
457312 June 2006: Wouter
4574	- dname_test tpkg with very extensive DNAME testing.
4575	- moved sizes of zone_name buffers to 3072 - for escaped names.
4576	- nsd-patch has a debug option to list the contents of the
4577	  difffile/ixfr.db/transfer patch log in a journal fashion. You can
4578	  then manually inspect the contents.
4579
45809 June 2006: Wouter
4581	- after a reload NSD will report the memory churn: number of bytes
4582	  of memory wasted by the zone transfer code.
4583
45848 June 2006: Wouter
4585	- When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set,
4586	  noerror is returned instead.
4587	- zonec will error on multiple DNAMEs for the same name.
4588	- zonec will error on DNAME and CNAME together.
4589	- improved loop log message.
4590
45917 June 2006: Wouter
4592	- after DNAME the closest_match is set correctly for another DNAME.
4593	- in case of a loop returns gracefully instead of crash.
4594	- nsec3 checks if it is enabled for the zone for wildcards.
4595	- NSD will give referrals for zone cuts encountered after a CNAME
4596	  or a DNAME. This also fixed various subtle stuff with CNAME/DNAME
4597	  and TYPE_DS at zone cuts. It basically re-determines the zone
4598	  to use after the CNAME/DNAME.
4599
46006 June 2066: Wouter
4601	- zonec checks for data below a DNAME, and will not create the db,
4602	  as per rfc 2672. Tpkg test to make sure such a zone is not loaded.
4603	- updated rr-test tpkg so it has no data below a DNAME.
4604	- DNAME synthesis of CNAME records, including compression for cname.
4605	- included cname creation in dname test.
4606	- preallocate the extra temporary domain_type structures.
4607	- too many temp domains returns OK packet so that the resolver
4608	  will recurse and ask us again with the last name in the chain.
4609	- fixed bug introduced in preallocation on temp domain numbering.
4610
46112 June 2006: Wouter
4612	- dname_replace function that does DNAME replace and unit tests.
4613	- added error codes from DNSUPD rfc2136 to constants in dns.h.
4614	- in query.c added DNAME following code.
4615	- fixed bug 134: hints[i] in nsd.c to hints[0].
4616	- added tpkg small test for DNAME.
4617	- tpkg to test bug 134 (starts 100 processes).
4618
46191 June 2006: Wouter
4620	- tsig test with NSD master and NSD slave server. Tsig AXFR transfer.
4621	  nsd-xfer used to test slave zone contents.
4622	- fixed bug where buffer_flip() is done before appending tsig rr.
4623	- version printed at start of nsd in logfile.
4624	- xfrd prints name of tsig key used during transfer in commit comments
4625	  so it appears in the log file and in zonefile after nsd-patch.
4626	- prints RRs from diff file only if debug level >= 1.
4627	- scalable transfer test xfr_gig added, you can set the size to try
4628	  in the .pre file. Now set very small.
4629
463031 May 2006: Wouter
4631	- xfrd check for failed updates. It compares the time it wrote the
4632	  commit to disk with the time of the last reload command.
4633	  Failed updates are restarted like the zone is notified of the soa.
4634	  It also catches reloads that have been lost (reload cmd while reload
4635	  is running, or a crashed reload process, for example).
4636	- when reload is issued, times at that second are put back one second,
4637	  so that after a reload all the zones that should have been loaded
4638	  have a time from before the reload.
4639	- if a reload crashes, NSD will continue with the old database,
4640	  xfrd is not informed, since it cannot fix that.
4641	- nsd-checkconf strdups arg strings before writing to it.
4642	- tsig error replies contain error data, but no signature.
4643	  also crashproof, badly formatted tsigs get a format error.
4644	- tsig error print knows about DNS rcodes in tsig error field.
4645	- added tpkg tests for tsig.
4646	- tpkg test for nsd-xfer with TSIG from nsd.
4647	- small stuff with makedist.sh, CREDITS, Features, make test.
4648
464930 May 2006: Wouter
4650	- tsig pre-allocs the rr_region, not at runtime, tsig_create_record().
4651	- redid some region work for tsig. Now has another temporary region
4652	  for the context data. User is only aware of the region passed at
4653	  start that exists for the lifetime of the struct.
4654	  During TSIG checks no more mallocs are done, only region_free_all
4655	  and region allocs (of small size).
4656	- checkconf, port is stored as a string.
4657	- tsig now keeps a max_digest_size for giving reserved space.
4658	- AXFR does tsig every 96 packets (and first and last packet).
4659	- tsig signing works for all queries. SOA queries, ...
4660	  If you configured the key in the config file, you can use
4661	  that key for any query for any zone.
4662	  Except for NOTIFY and AXFR queries; those are only allowed for
4663	  the zone (and source ip address) which are configured in the config.
4664	- cleaner compile with tsig disabled.
4665	- fixed unknown key error reply in tsig.
4666
466729 May 2006: Wouter
4668	- The nonblocking write routines disable silently if they have
4669	  nothing to do.
4670	- put xfrd read/write state routines (almost 500 lines of code)
4671	  into xfrd-disk.c file.
4672	- little readme blurb on xfrd state file for the operator.
4673	- put ipc code in its own file for ease of reading.
4674	- removed --disable-axfr, you can control this via acls.
4675	  With no provide-xfr: statements, a zone will not do axfr.
4676
467725 May 2006: Wouter
4678	- fixed reload sending; it checks for EAGAIN and EINTR.
4679	- reload sends parent quit command blocking to make sure of arrival.
4680	- send_children_quit in parent uses nonblocking writes and closes
4681	  the pipe to signal the child to quit (even if the write does not
4682	  come through, the closed pipe will cause the child to quit).
4683	- need_to_send_STATS flag in parent.
4684	- reload has its own ipc-listening handler in server_main.
4685	- nonblocking writes for server_main; this solved write-blocking race.
4686	- another race condition solved, if a process dies, half a read or
4687	  write buffer could be left behind on another process. These are
4688	  dropped. Now:
4689	  	* The server_main drops ipc from dead children.
4690		* The server_main drops ipc if xfrd dies.
4691		* The server_main drops xfrd(old) and all children ipc
4692			on reload.
4693		* The xfrd drops ipc to parent on a SOA_BEGIN from reload.
4694		  So after reload, but parent and xfrd start with
4695		  clean ipc buffers.
4696
469724 May 2006: Wouter
4698	- unit tests print progress while running to stderr. Included license
4699	  of cutest with its source in svn repository.
4700	- stack type (for the IPC buffer of zone update dirty). And unit test.
4701	- only update zone-is_ok if needed to reduce memory copy on write.
4702	- split off conn_write() from xfrd tcp nonblocking write routines.
4703	- nonblocking writes for xfrd.
4704
470522 May 2006: Wouter
4706	- ported over minor nits from 2.3.5 NSD fixups. Cast to (void)
4707	  unused function return values.
4708	- removed kill signal to children, superfluous due to quit cmd ipc.
4709	- moved is_ok for zones to the zone_type in namedb, not in
4710	  the options, it is a runtime value not a config value.
4711	  For zones that have no data, parent and children keep no state.
4712
471312 May 2006: Wouter
4714	- fixed up usage print for zonec to include -f option.
4715	- xfrd send notifies.
4716	- server no longer sends SOA INFO for master zones.
4717	- removed possible debug log print of a null string.
4718
471911 May 2006: Wouter
4720	- nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode.
4721	- SOA_BEGIN message on start of reload sending soa info so that
4722	  xfrd will not reply with expire-notifications and thus deadlock
4723	  both on blocking writes (and no OS buffer on the pipes).
4724
472510 May 2006: Wouter
4726	- nsdc.sh is set +x after creation.
4727	- improved error message when zone in db has no config info.
4728	- support for broken nsec3 chains (if the one with the SOA bit
4729	  is complete, it is OK for there to be other nsec3 chains
4730	  with different parameters in the zone).
4731
47329 May 2006: Wouter
4733	- Fix for finding bad zone when populating SOA info on start.
4734	 it would find a parent zone instead of the zone in question (
4735	 which is empty).
4736	- request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate
4737	  with NSD machines. Will only send AXFR queries to the machine.
4738	- documented AXFR option in nsd.conf.5 manual page,
4739	  and updated nsd-checkconf, nsd.conf.sample.
4740	- made 'skipping zone' log entry clearer (Sam Weiler asked).
4741
47428 May 2006: Wouter
4743	- updated zparser.y to handle empty nsec_seq lists.
4744	  for empty nonterminals in NSEC3.
4745	- nicer without ambiguous grammar.
4746
47475 May 2006: Wouter
4748	- nsd-notify handles option -y key:secret to TSIG sign outgoing
4749	  queries.
4750	- the acl checks now verify TSIG signatures on the query.
4751	- iterated_hash compiles with ssl disabled.
4752	- new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies
4753	  nsd of the state (ok or expired) of a zone.
4754	- reload process waits for the old server_main to exit to make
4755	  sure there is no race condition listening to the NSD_ZONE_STATE
4756	  messages generated when reload sends SOA_INFO to xfrd.
4757	- server_main and children all set zone_ok state in config options.
4758	  also server_main so that newly forked children get the right state.
4759	- if a secondary zone is expired, NSD returns SERVFAIL.
4760	  a transient error, so resolvers try again later.
4761	- SOA_END ipc message, sent by reload to xfrd, so it can repeat
4762	  all zone states (which can have changed during reload).
4763	- zone_is_ok kept in config section so that state for zones
4764	  without data is not lost. Those have no zone_type*.
4765	- secondary zones start in the expired state.
4766	- if expired zones are updated, then NSD gets the go ahead from
4767	  xfrd after reload sends SOAINFO/SOAEND msg, so it is really
4768	  updated in nsd memory.
4769	- fixed tpkg xfr_1 to have longer expiry times (from 0 and 3
4770	  seconds to 2000 and 3000 seconds), so the zone does not expire
4771	  during the test anymore.
4772
47734 May 2006: Wouter
4774	- when a new lease is acquired xfrd_packet_newlease result is used.
4775	- if a zone is lost in nsd db, xfrd will update state to match.
4776	- IXFR can use TSIG in queries and verify responses.
4777	- Fixed memory leak in xfrd tsig handling.
4778
47793 May 2006: Wouter
4780	- forward of 2.3.4 RELNOTES into trunk.
4781	- debug log statements to track xfrd request rounds.
4782	- removed memleak from handle_passed_packet in xfrd.
4783	- faster find_zone in difffile.c.
4784	- nsd-patch writes commit log entries into zone file.
4785	- took some tsig.c enhancements from 3 branch,
4786	  -> if key or algo changes during connection, return bad_key,
4787	  -> debug statement neater.
4788	- nsd adds tsig keys to tsig keyring at startup.
4789
47902 May 2006: Wouter
4791	- ifdef inet6 back on ss_family usage in server.c.
4792	- nsd-checkconf ip6 ifdefs improved.
4793	- xfrd tries servers 3 rounds, then waits for next retry.
4794
47951 May 2006: Wouter
4796	- off_t used for 64bit fileio.
4797	- searches for smallest unused part and sets diff_skip to that.
4798	- doc comment near the region_free_all for every query about
4799	  malloc speed.
4800	- null ptr in strcmp does not work on bsd, fixed nsd-checkconf.
4801	- made nsd.conf.sample.in so the sample gets prefix-corrected.
4802	- removed nsd.zones.sample.
4803	- makedist.sh added manual pages for nsd-xfer nsd-patch.
4804	- install/uninstall nsd-patch, nsd-checkconf and manpage.
4805	  small update readme.
4806
480728 Apr 2006: Wouter
4808	- ixfr >64k in xfrd.
4809	- fixed length of new commit parts.
4810	- fixed multiple ipc reads in xfrd.
4811	- fixed multiple packet ixfr read in diff file.
4812   Miek:
4813	- Forward port fixes for nsd-xfer and nsd-notify
4814
481527 Apr 2006:
4816   Wouter:
4817	- nsec3 review fixes.
4818	- diff file format expanded for >64kb transfer support.
4819	- diff reader adjusted for >64kb.
4820   Jelte:
4821	- small non-null options check in nsd.c.
4822   Miek:
4823	- updated nsd-checkconf for zone parse shell script support.
4824
482525 Apr 2006: Wouter
4826	- Tests on NSEC3 code. Fixed that the unsecure delegations also
4827	  have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s.
4828	  NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit
4829	  is (erroneously) not set.
4830	- For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3
4831	  RRsets at name. Fixed that RRSIGs present do not matter.
4832	  And also the closest encloser proof in that case fixed.
4833	  If wildcard exists below zone apex servfails (cannot disprove
4834	  it and NSD cannot instantiate the wildcard at that point).
4835
483624 Apr 2006: Miek
4837   Miek:
4838	- forward port nsid (disabled by default)
4839   Wouter:
4840	- nsd-patch manual page.
4841	- minor MacOSX port fixes.
4842	- xfrd-reload-timeout: config option.
4843	- if you set the xfrd reload timeout to -1 it will not
4844	  automatically reload after a transfer. User can reload.
4845	- reload timeout is a wait period after the reload is triggered.
4846	- more verbose acl logging. Validated acls are logged in detail.
4847	  Invalid acls are only logged in debug mode, level >= 1.
4848	- log message when xfrd tcp connections max out.
4849	- if unknown NSEC3 hash type (not SHA-1), disable NSEC3.
4850	- xfrd randomizes the timeouts, within 10% of original,
4851	  to spread out activity. Short timeouts < 10 seconds are not
4852	  affected, and will give activity bursts (on startup for example).
4853
485421 Apr 2006: Wouter
4855	- put NSEC3 code in nsec3.c and nsec3.h.
4856	- iterated_hash only adds the salt if salt_len > 0.
4857	- added some assertions and cleanups to nsec3 code.
4858	- prehash also calcs the nsec3_last domain*.
4859	- dbaccess when reading in will set the rr_type.owner value.
4860	- changed namedb_find_zone to domain_find_zone, log msgs.
4861	- implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8.
4862	  NSEC3 responses only happen for nsd compiled with --enable-nsec3
4863	  and for zones where an NSEC3 with the SOA bit set exists.
4864	- added prehash pointer to ds parent side cover for opt out.
4865	- removed dynamic plugins. Dynamic plugin support is an explicit
4866	  non-requirement (under creeping featurism).
4867	- in domain table create root nsec3 ptrs are NULL.
4868
486920 Apr 2006: Wouter
4870	- Unittest of base 32 encoding.
4871	- unittest start for iterated hash.
4872	- fixed for ctrlc in debug mode.
4873	- delete zparser_conv_long, not used, not needed
4874	- nsd-xfer will display NSEC3 correctly. zonec parses.
4875	- improved usage() line from zonec, about -c none, must be -C.
4876	- base32 printed in lowercase (canonical format for DNS).
4877	- NSEC3 added prehash pointers to the namedb.
4878	- NSEC3 autodetects presence of NSEC3 in zone and parameters.
4879
488019 Apr 2006: Wouter
4881	- port fix base10 in zonec conv short from 2_2 branch to trunk.
4882	  and conv byte, algo, certificate, long.
4883	- configure option to enable NSEC3 (--enable-nsec3) support.
4884	- from Ben Laurie's NSEC3 patch, loaned the parse code,
4885	  base32 conversion code and iterated_hash.
4886	  With some small modifications. The type rrdescriptors are
4887	  indexed by value below SPF, and in
4888	  rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks
4889	  for end of buffer. Also parser checks for '-' salt.
4890	  Some layout (spaces after ,s). And NSEC3 define is used.
4891	  strtol used for iterations is base 10.
4892	- moved rrtype descriptor table sanity check to unittest.
4893
489418 Apr 2006: Wouter
4895	- Fixed check for SOA IN, bad ntohs in the check.
4896	- minimum timeout also enforced for very low expire times.
4897	- report the actual used length of the sockaddr to sento
4898	  for FreeBSD.
4899
49007 Apr 2006: Wouter
4901	- modified the kill_nsd tpkg so that it waits up to 10x5 secs
4902	  for nsd to make the pid file, and it wait up to 10x5 secs for
4903	  nsd to exit after the kill signal is given.
4904	- xfrd checks on startup if there is trailing garbage in the
4905	  diff file, left there by a previous xfrd killed in action.
4906	  It then snips off any partial parts, so service can resume.
4907	  Also the difffile_skip pos is set before any partial record there.
4908	- first version of nsd-patch; reads db and ixfrs and updates zones.
4909	- moved print_rdata from nsd-xfer to rdata.h to share code.
4910	- moved print_rr from nsd-xfer to util.h to share code.
4911
49126 Apr 2006: Wouter
4913	- notify handler passes acl number that matches to xfrd.
4914	- xfrd keeps a next_master for a zone, and sets it after notify.
4915	  when notified nsd will try to contact the master that sent
4916	  the notify, if send from an address that is both in acl
4917	  allow-notify and request-xfr.
4918	- xfrd closes its tcp and udp sockets on exit.
4919	- default names for diff file and xfrd state nicer.
4920	- fixed up kill nsd grep on ps.
4921	- fixed up race conditions in test script for kill nsd
4922	  wait for pid file creation by nsd, and grep -v grep in check.
4923	- in nsd signal-flags inherited from the parent are zeroed
4924	  when a server_child starts. Also the server_child switches back
4925	  to NSD_RUN mode when a bad mode happens.
4926	- check if ixfrs start from the version in memory.
4927	- if IXFR/AXFR ends in a serial that is newer than the serial
4928	  that was sent in an notify, update the notified serial.
4929
49305 Apr 2006: Wouter
4931	- added lowerbound for retry timeout.
4932	- added extra assertions to xfrd-tcp.c, saying that the waiting line
4933	  for tcp connections must be empty if the counter is below max.
4934	- setup so that the first master tried is the first in acl list.
4935	- diff file skips OPT and TSIG RRs if they are put into the answer
4936	  section.
4937	- if IXFR contains an RR to delete that does not exist, nothing
4938	  happens.
4939	- update zone for NS, RRSIG also if multiple RRs in the rrset.
4940	- difffile: create zone struct also if domain exists already.
4941	- difffile: destroy temp region on error.
4942	- difffile: in delete_RR, create temp region outside of the routine,
4943	  so no alloc region, destroy region for every deleted RR.
4944	- difffile: for IXFR: do not delete final SOA RR.
4945	- difffile: unknown parts in file is an error.
4946	- difffile: EOF on last packet is ignored w/o giving an error.
4947
49484 Apr 2006: Wouter
4949	- Addes EACCES to the netio dispatch error bailout.
4950	- Removed EACCESS (probably due to log_msg), error on close
4951	  xfrd pipe is small, main process closes its end, and hopes for
4952	  the best).
4953	- review: return on error condition in xfrd_tcp_open fixed.
4954	- review: expired when time >= expire_time, so it will not wait
4955	  for the retry after expire until it will detect the expiredness.
4956	- removed duplicate lines from xfrd_handle_zone_timeout.
4957	- review: copy of uint32_t using memcpy to avoid unaligned memory
4958	  accesses.
4959	- review: fd=-1 removed from set_refresh_now; only does timer.
4960	- on a tcp timeout it will retry immediately (instead of waiting
4961	  another retry timeout). This means if you set refresh_now, it will
4962	  interrupt a tcp-timer for a fresh retry with the next master.
4963	- put null in buffer for xfrd read state.
4964	- log msg uses string that exists instead of overwritten buffer.
4965	- read entry sets refresh depending on current time,
4966	  and makes sure not to check soa contents if none provided.
4967	  added explanatory comments.
4968	- EACCES back in check.
4969	- server_main first checks for terminated children, then select().
4970	  So when select is interrupted, by kill or quitting children,
4971	  it will first see if it has to quit itself, before restarting
4972	  the children.
4973	- destroy tempregion xfrd read on error.
4974	- check for serial existence in xfrd_handle_incoming_soa.
4975	- handle_incoming_soa uses set_timer_refresh routine.
4976	  and can handle expire times < refresh times.
4977	- log msg for udp socket() error.
4978	- review: xfrd_parse_soa_info email parse uses correct buffer spot.
4979	- added a lowerbound to refresh interval (=1 second now).
4980	- upon receipt of a IXFR, if the serial is older than the notified
4981	  serial, the zone stays refreshing (but the ixfr is saved).
4982
49833 Apr 2006: Wouter
4984	- Added buffer length check to internal ipc.
4985	- split out packet_read_query_section from the process_query_section
4986	  routine (and moved to packet.c/h).
4987	- xfrd reads passed packet via ipc.
4988	- ported over fix to 2_2 on missing rr types by removing the
4989	  duplicate RRtype array, and using rrtype_to_string.
4990	- xfrd handles notifies. immediately starts updating.
4991	- xfrd state file format fix.
4992	- removed libwrap stuff - superseded by acls.
4993	  use provide-xfr: statements for your zone in the config file.
4994	  updated README for this.
4995	- updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY
4996	- review: move var create to start of function (xfrd_init()).
4997
499831 Mar 2006: Wouter
4999	- zone type has a pointer to zone options.
5000	- nsd options has an rbtree to find zone options in.
5001	- nsd checks acl for incoming notifies and replies
5002	  error or confirmation.
5003	- nicer layout in options.c.
5004	- updated makefile dependencies.
5005	- fixed sz for SOA_INFO ipc, which was too small.
5006	- notify is sent to server_main, server_main sends it to xfrd.
5007
500830 Mar 2006: Wouter
5009	- include: documented in manual page.
5010	- MAXINCLUDES define in one place (config.h).
5011	- configure checks for strptime in include files.
5012	- use %d instead of %zd (sparc5 machine does not get zd).
5013	- use region_strdup in configlexer.
5014	- added a check for EINVAL in dispatch - will abort
5015	  on the error instead of busy hang.
5016
501729 Mar 2006: Wouter
5018	- \r for config lexer. (similar changes to zonelexer).
5019	- forward port of fix to 2_2 branch:
5020	  short int in var_arg is promoted to int, according to B. Laurie.
5021	  The same logic for %o, %d %x would hold for %u I think.
5022	- in XFRD, soa prim_ns and email domain names are kept in a max
5023	  size buffer.
5024	- split up dname_parse into parse from string to wireformat
5025	  and parse from wireformat to memoryformat, so both can be called.
5026	- split up dname_make_from_packet into reading the wireformat
5027	  from the packet and the dname_make, so both can be called.
5028	- xfrd reads all soa info from incoming xfr packets.
5029	- xfrd will ignore TC bit on tcp channels.
5030	- nsd sends xfrd all soa info, including ttl and dnames.
5031	- config file now has an include: filename directive.
5032
503328 Mar 2006: Miek
5034	- forward port fixes for zone compiler and \r. svn:1926-1927
5035	- add DO bit MASK and remove the !! construct
5036
503717 Mar 2006: Wouter
5038	- according to axfr-clarify, added comments that we check
5039	  more leniently on further responses on a TCP stream.
5040
504116 Mar 2006: Wouter
5042	- Fixed up SOA INFO Send routines. Send from server works.
5043	- niced up xfrd state file.
5044	- Fixed up so that after a reload it will continue in diff file
5045	  where it left off.
5046	- made send of SOA info use write_socket, in case of short writes.
5047	- redesigned xfrd_tcp_read to use the same code for ipc read.
5048	- no free()s before xfrd exit.
5049	- xfrd handles incoming SOA INFO ipc packets.
5050	- removed debug, updated zones get SOA INFO sent.
5051
505215 Mar 2006: Wouter
5053	- Fixed up domain table insert, it was being used in routines
5054	  that originate from nsd-xfer that do not set compression numbers
5055	  correctly.
5056	- memleak fix in difffile in case of error.
5057	- difffile processing works so that NSD can read an axfr saved
5058	  into the nsd.diff file. (xfrd already request and save it there).
5059	- split off xfrd tcp handling into xfrd-tcp.c.
5060	- cleaned up send_udp in xfrd, and read_state.
5061	- removed xfrd tcp_send_blocking.
5062	- xfrd sets state from ok to refresh to expired based on timeout.
5063	- xfrd sets reload timeout.
5064	- Added zone updated to keep track of zones that are changed
5065	  after a reload. These zones get their information notified
5066	  to xfrd.
5067	- removed unused zprintrr declaration from zonec.h
5068	- nsd sends soa information to xfrd.
5069
507014 Mar 2006: Wouter
5071	- TODO updated
5072	- worked on reload ixfr. It will add/delete RRs and zones.
5073	- xfrd receive parse of xfr messages improved. writes commit.
5074	- server compressed_dname_offsets table is increased if reload
5075	  creates extra names.
5076	- difffile will create zone and apex if not there (i.e. the zone
5077	  is configured but no data file provided).
5078	- bit more verbose in error message for bad diff file.
5079	- Typo fix in sample config file.
5080
508113 Mar 2006: Wouter
5082	- configure sets fseek (fgetpos/fsetpos) to use 64 bit interface
5083	  with _FILE_OFFSET_BITS=64.
5084	- nsd will skip loading the .db if the DB checksum is the same.
5085	- Miek added trace test and nsd kill test.
5086	- Wouter worked on diff file c.
5087
508810 Mar 2006: Wouter
5089	- Cleanup of UDP/TCP code in XFRD.
5090	- xfrd now has tcp max connections and managing. tcp read/write.
5091	- response TC on UDP ixfr, starts TCP.
5092	- sends correct ixfr and axfr queries, a bind server answers.
5093	- made packet_skip_dname() public.
5094	- sets read/write event flags for tcp fd right.
5095
50969 Mar 2006: Wouter
5097	- Removed header from DIFF file format. CRC not that important there,
5098	  you have to check the packets anyway.
5099	- cutest rbtree removed unused clean_rbtree and always_fail routines.
5100	- xfrd timeout handler, more work. Checks expire.
5101
51028 Mar 2006: Wouter
5103	- xfrd sends UDP xfr request to master(s) with timeouts, and stores
5104	  returned data on disk.
5105	- updated dependencies and declaration of write_soa_buffer.
5106
51077 Mar 2006: Wouter
5108	- Fixed printfs for size_t warnings on Mac OsX.
5109
51106 Mar 2006: nsd-team
5111   * Wouter: xfrd read and write work. Statefile is "nsd.xfst".
5112   * Wouter: nsd-checkconf checks dname parse of zone name:.
5113   * Wouter: updated difffile in parser.y, production in server: clause.
5114   * Wouter: zonec now takes -C for 'no config file' option.
5115   * Wouter: updated configyyrename.h for bison 1.875d on sparc.
5116   * Miek: zonec -h and nsd -h exit with exit code = 0.
5117   * Miek & Wouter: updated tpkgs to work again.
5118   * Wouter: xfrd read handle soas, handle soa_incoming part.
5119   * Wouter: moved compare_serial() from nsd-xfer to util.h.
5120
51214 Mar 2006: Wouter
5122	- xfrd zone and soa memory structure definitions.
5123	- xfrd init zones.
5124	- xfrd read and write state file code.
5125	- option for difffile: and xfrdfile: config lines.
5126
51273 Mar 2006: Wouter
5128	- Removed double kill after reload. Only socket cmd send.
5129	- Added code to handle race condition where xfrd is restarted
5130	  during a successful reload. Afterwards, the new server_main
5131	  only has the old xfrd pid, new xfrd is an orphan.
5132	  Solution: when xfrd closes cmd channel (i.e. it quit)
5133	  unexpectedly, send sighup to all processes in the group.
5134	  This should quit the orphan & all children & reload the
5135	  server_main, which will fork the children and xfrd again.
5136
51372 Mar 2006: Wouter
5138	- Added nsd-checkconf.8 to makedist.sh replace list.
5139	- DIFF file format updated.
5140	- removed tsigkey->server value, it was read in, but unused.
5141	- new function to add config file keys to tsig.
5142	- nsd-checkconf checks parsing of keys.
5143	- Updated sample key file with valid keys.
5144	- added first xfrd files. xfrd is started from server_main.
5145	  xfrd listens to server and server to xfrd. xfrd is restarted
5146	  if it dies unexpectedly. xfrd quits when server signals it.
5147	  xfrd survives nsd reloads.
5148	- nsd_options no longer global variable.
5149
51501 Mar 2006: Wouter
5151	- Nicer text in nsd.8.
5152	- nsd.c prettier code in option handling.
5153	- zonec.c code prettier in option handling, also chdir bug removed.
5154	  zonec uses the zone definitions in the config file.
5155	  updated zonec.8 and usage().
5156	- nsd also chdirs to the zonedir, otherwise nsd and zonec would
5157	  try to read the database: file from different directories.
5158	  .(it does the chdir before the chroot call.)
5159	- new calling syntax for zonec and nsd, because of new config file.
5160	- options added acl acceptance tests (no tsig yet).
5161	- added unit test for options.c - for acl tests.
5162	- zonec removed unused vars, nsd-checkconf print arguments.
5163	- nsd-checkconf.8 manual page.
5164
516528 Feb 2006: Wouter
5166	- checked in options.h and config parser code.
5167	- also nsd-checkconf that will test a config file
5168	  .(and optionally show what was read).
5169	- default identity has a spelling error.
5170	- Small fix (typo in example) to config manual page.
5171	- Added ; to configparser.y to please bison 1.75 on bsd.
5172	- Will check for blocked addresses in outgoing acls. Also ranges.
5173	- Check configuration tpkg test added. Uses checkconf.
5174	- checkconf does extra semantic tests. i.e. enable absent features.
5175	- tcpcount and servercount cannot be negative.
5176	- updated nsd.conf.5 manpage for @port syntax.
5177	- changed config parser: allows empty server: part (defaults).
5178	- made nsd.conf.sample file.
5179	- put option to configure for CONFIG_FILE nsd.conf location.
5180	  Note. Already nsdc.conf exists. Both exist now.
5181	- updated makefile dependencies (gcc -MM).
5182	- getopt optstring in nsd-checkconf updated ("v" only option).
5183	- Added config .o files to nsd and zonec. This compiles.
5184	- Added commandline option -c configfile to zonec and nsd.
5185	  configure defaults < configfile < commandline options in importance.
5186
518724 Feb 2006: Wouter
5188	- Added compute_crc in util.h and unit tests for it.
5189	- in cutest.tpkg the number of unit tests was hardcoded
5190	  in the tpkg package. Removed the dependency, cutest exit
5191	  value indicates if any failures happened.
5192	- Added crc at end of NSD-database format. Unique per db.
5193	  upped db version to 7 because of this.
5194	- Tested that crcs are big/little endian correct.
5195	- Added DIFF file spec
5196	- updated tpkg213 which compares md5 on a zonefile for new format.
5197	- added nsd.conf.5 manual page with a draft contents.
5198
519922 Feb 2006: nsd-team
5200   * Miek: Changed over to Cutest testing framework.
5201   * Miek: fixed typo in netio.h
5202   * Miek: fix syntax in rbtree.c put functions on multiple lines.
5203   * Miek: unit test tpkg for cutest.
5204   * Wouter: fixed ptr bug in rbtree unit test.
5205
520617 Feb 2006: Wouter
5207	- rbtree_delete is added and works. Unit tests are there too.
5208	- Changed tail recursion in rbtree_delete to while loop.
5209	- Tagged this version as NSD_3_signalsocket_solution.
5210	  It is the stable 2_2 branch with cleanups, portable, and
5211	  signalhandler solution by socket communication redesign.
5212
521315 Feb 2006: nsd-team
5214   * Wouter: Fixed server_child would wait for two kill signals before quit.
5215   * Miek: don't check for port==0 pkt, just try to send them.
5216	Forward Port of 2.3.
5217   * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in.
5218
521914 Feb 2006: Wouter
5220	- Added unit tests for rbtree. Extensive testing of all functions.
5221	- Added tpkg unit test.
5222	- configure tests for CUnit(optional lib for unit tests). Makefile
5223	  cleanup so it works on non-gmake on freebsd.
5224
522513 Feb 2006: Wouter
5226	- Removed timespec_add(current_time) in server_main, the timeout was
5227	  relative, not absolute. This fixes EINVAL on the timeout on freebsd.
5228	- Added check in configure for compiler flags. Used for -Wextra.
5229	- Added check in configure for va_list definition conflict between
5230	  stdio and stdarg. This happens on DEC Alpha/Debian.
5231	- removed --enable-mmap configure option. There is no mmap support
5232	  in the current codebase.
5233	- renamed local prev to next in domain_next() in namedb.h.
5234	- Removed heap.h. It was not used. Heap and rbtree are mingled anyway.
5235	- in netio.c, in dispatch, it would store the next pointer 'in case
5236	  the handler removes itself'. But if the handler removes that next.
5237	  Then it would fail. So stored the next in struct netio.
5238	  This removes a potential bug. Netio_dispatch is not reentrant.
5239	  Reentry would need a list of iterator* in struct netio.
5240	- Changed process_query() to server_process_query(). It is too
5241	  similar to query_process().
5242
524310 Feb 2006: nsd-team
5244   * Wouter: Improved configure.ac to detect pselect in sys/select.
5245	The check works on freebsd(yes) and fedoracore 3 and 4 (no).
5246	I hope it also works on Solaris.
5247	Also various other prototypes were implicit: chroot, strptime, ...
5248	These are also solved.
5249   * Wouter: Checked configure on sparc5(solaris). Added check for
5250	ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux.
5251   * Wouter: Updated dependencies in makefile for plugin headers.
5252	These are included only when --enable-plugins is present.
5253   * Wouter: Added a send quit over socket to kill commands in server_main,
5254	These act when the fork children fails. If the kill fails, the
5255	socket command hopefully still works.
5256   * Wouter: Put reload code into a separate function. It communicates with
5257	a socket to the old parent, and sends it a quit command. This works
5258	and terminates the old nsd. Left in the kill as a double failsafe.
5259	If the reload process dies, then the parent closes the socket.
5260   * Wouter: Separated the signal mode from the socket-determined nsd->mode.
5261	Every signal function has a variable, so that multiple signals can
5262	arrive. Only the number of signals of the same type is lost, but not
5263	important for nsd. The signals are handled in turn by the run loop.
5264	This completes the coding to remove signal race conditions:
5265	- nsd uses sockets to communicate with its subprocesses(server,reload).
5266	- signal handler routine contains no lengthy system calls.
5267	- signals cannot overwrite a previous signal.
5268   * Wouter: fixed problem where nsd->mode and mode are different in
5269	server_main. Nsd would kill the children, but then restart them again.
5270
527109 Feb 2006: nsd-team
5272   * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM).
5273   * Wouter: Used splint on the source (with settings to reduce spam.)
5274	And came to the following changes:
5275	- In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H.
5276	Also it now defines fallback values for #defines in syslog h.
5277	- Added explicit cast to (unsigned int) in snprintf in dname.c,
5278	dname_to_string routine.
5279   * Wouter: Used extra warnings during gcc compile. -Wextra -Wall
5280	-pedantic -Wbad-function-cast -Wmissing-declarations
5281	-Wmissing-prototypes -Wnested-externs -Wold-style-definition
5282	-Wstrict-prototypes -Wdeclaration-after-statement.
5283	Using -Wtraditional gives too many warnings.
5284   * Wouter: Found a problem with pselect. sys/select.h does not by default
5285	provide the pselect function definition. configure script is
5286	adjusted to test for this and enable _XOPEN_SOURCE=600 to get it.
5287	Found this using the gcc warnings.
5288   * Wouter: dname and rbtree test apps were in make clean target, but
5289	do not exist anymore. Removed from make clean target.
5290   * Wouter: in util log_file() the epoch time_t is passed to printf
5291	without an int cast. Found using extra gcc warnings.
5292   * Wouter: In server.c fixed some signed-unsigned comparisons
5293	using the extra gcc warnings.
5294	- in shutdown and int was used instead of size_t.
5295	- in server_main timeout(signed) was compared with unsigned.
5296	- unused variable in new handler functions.
5297	- in handle_child_command int i instead of size_t was used.
5298	- in zonec the process_rr routine was missing (void) as paramlist.
5299   * Wouter: Added -Wall and -Wextra when --enable-checking is enabled.
5300   * Miek: Ported over the big fat enable checking configure warning.
5301   * Wouter: fixed configure check for pselect on freebsd.
5302
530308 Feb 2006: nsd-team
5304   * Wouter: In server.c also sockets from unexpectedly dead childs are closed.
5305   * Wouter: in nsd.c and server.c cleaned out the signal handler, so that
5306	it only includes two switch/if statements and alters only the mode.
5307	No more calls to alarm(), waitpid(), write(), log_msg().
5308	Instead the work is done in the runloop in server.c and sent by socket.
5309	Also the parent now waits for children. Parent restarts them.
5310   * Wouter: Fixup, the children will quit if the parent closes the command
5311	socket. If parent is killed, they will exit too.
5312   * Wouter: The server_main now listens to children command channels.
5313	Included timeout to check for terminated processes.
5314	Test says that new signal handler works, and child->parent comm.
5315
531607 Feb 2006: nsd-team
5317   * Miek: configure.ac version to 3.0.0
5318   * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch}
5319	   those files don't have any changes, except for dns.{ch} for the
5320	   explicit compression.
5321   * Miek: looked at: zlexer.lex and zparser.y; only changes there
5322	for the database changes.
5323   * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes,
5324	this makes 64 bit numbers fit in the buffer.
5325   * Wouter: Socket connection between parent and child nsds added.
5326	But sighandler now in worse shape. Need to close them. Remove kills.
5327   * Wouter: close the parent and child command channel sockets in shutdown().
5328