"Fossies" - the Fresh Open Source Software Archive

Member "nsd-4.3.6/doc/ChangeLog" (6 Apr 2021, 178140 Bytes) of package /linux/misc/dns/nsd-4.3.6.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 4.3.5_vs_4.3.6.

    1 30 March 2021: Wouter
    2 	- Fix configure failure for enable systemd because of autoconf.
    3 
    4 29 March 2021: Wouter
    5 	- Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag.
    6 
    7 29 March 2021: Willem
    8 	- Per zone Access Control List for queries
    9 	  with an allow-query: option.
   10 
   11 24 March 2021: Wouter
   12 	- Update acx_nlnetlabs.m4 to version 38, fix deprecation test.
   13 	- Fix configure to use header checks with compile.
   14 	- Fix warning about unused function log_addr.
   15 
   16 18 March 2021: Tom
   17 	- Add Extended DNS Errors RFC8914
   18 
   19 15 March 2021: Wouter
   20 	- Fix double config.h include in configlexer.c
   21 	- Fix to remove configyyrename from makedist.sh and also
   22 	  update the flex and bison rules there to add the "c_" prefix.
   23 
   24 13 March 2021: Willem
   25 	- Fix #154: TXT with parentheses fails in 4.3.5.
   26 	- Align parsing of TXT elements with how bind does it.
   27 	- A -p option to nsd-checkzone to print a successfully read zone.
   28 
   29 12 March 2021: Wouter
   30 	- Fix that wildcard is printed as a star instead of escaped, in
   31 	  logs and in written zone files.
   32 	- Fix unit test for wildcard printout change.
   33 
   34 11 March 2021: Wouter
   35 	- Fix #163: A TSIG noncompliance with RFC 2845.
   36 
   37 9 March 2021: Willem
   38 	- Enable configuring a control-interface by interface name.
   39 
   40 19 February 2021: Wouter
   41 	- Fix segfault on high verbosity for TLS channels with dnstap log
   42 	  local address.
   43 
   44 18 February 2021: Wouter
   45 	- Fix #146 with #147: DNSTAP log the local address of the server
   46 	  with the dnstap logs.
   47 
   48 16 February 2021: Wouter
   49 	- Man page documentation for dnstap options.
   50 
   51 8 February 2021: Wouter
   52 	- Fix AF_LOCAL compile error for Solaris.
   53 	- Fix ifaddrs compile error for Solaris.
   54 	- Fix ifaddrs.h compile error for Solaris.
   55 
   56 4 February 2021: Wouter
   57 	- Merge PR #153 from fobser: Repair -fno-common linker errors
   58 	  automatically.
   59 	- Fix uninitialized access of log_buf in error printout on apply ixfr.
   60 
   61 26 January 2021: Wouter
   62 	- Prevent a few more yacc clashes.
   63 
   64 19 January 2021: Wouter
   65 	- Set branch ready for 4.3.5 release.  Tag for 4.3.5rc1.
   66 	  Became the 4.3.5 release on 26 january 2021.  This branch continues
   67 	  with 4.3.6 in development.
   68 
   69 15 January 2021: Wouter
   70 	- Fix #152: '*' in Rdata causes the return code to be NOERROR instead
   71 	  of NX.
   72 	- Add config.guess and config.sub to .gitignore for autoconf 2.70.
   73 	- Fix #150: TXT record validation difference with BIND.
   74 	- Fixup TXT record validation fix for escaped quotes.
   75 	- Fixup TXT record validation fix for escaped backslashes.
   76 	- Fixup escape character parse for quoted strings.
   77 
   78 11 January 2021: Wouter
   79 	- Fix #151: DNAME not applied more than once to resolve the query.
   80 	- Fix dname test for #148.
   81 	- For #151: fix to not produce loops in output.
   82 
   83 5 January 2021: Wouter
   84 	- Fix configure.ac for autoconf 2.70.
   85 
   86 4 January 2021: Wouter
   87 	- Fix #148: CNAME need not be followed after a synthesized CNAME
   88 	  for a CNAME query.
   89 
   90 11 December 2020: Wouter
   91 	- Fix that nsd-control has timeout when connection is down.
   92 	- remove windows socket ifdefs from nsd-control.
   93 
   94 3 December 2020: Wouter
   95 	- For #145: Fix that service of remaining TCP and TLS connections
   96 	  does not allow new queries to be made, the connection is closed.
   97 	  Only existing queries and zone transfers are answered, new ones
   98 	  are rejected by a close of the channel.
   99 
  100 30 November 2020: Wouter
  101 	- Fix #144: fix better.
  102 
  103 27 November 2020: Wouter
  104 	- Fix #144: Typo fix in nsd.conf.5.in.
  105 
  106 26 November 2020: Wouter
  107 	- Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode.
  108 
  109 24 November 2020: Wouter
  110 	- Merge PR #141: ZONEMD RR type.
  111 	- tag for 4.3.4rc1.  This became 4.3.4 release on 1 dec 2020.
  112 	  The code repo continues for 4.3.5 in development.
  113 
  114 23 November 2020: Wouter
  115 	- Fix #142: NODATA answers missin SOA in authority section after
  116 	  CNAME chain.
  117 	- Fix for CVE-2020-28935 : Fix that symlink does not interfere
  118 	  with chown of pidfile.
  119 	- fix writepid for retvalue 0.
  120 
  121 9 November 2020: Wouter
  122 	- Fix #138: NSD returns non-EDNS answer when QUESTION is empty.
  123 	- Fix to check nscount in previous fix for EDNS in formerr response
  124 	  when there is no question.
  125 
  126 28 October 2020: Wouter
  127 	- Remove unused init_cfg_parse routine from configlexer.
  128 
  129 20 October 2020: Wouter
  130 	- Fix to add missing closest encloser NSEC3 for wildcard nodata type
  131 	  DS answer.
  132 
  133 14 October 2020: Wouter
  134 	- Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN.
  135 
  136 13 October 2020: Wouter
  137 	- Fix missing parenthesis on size of fix to init buffer.
  138 
  139 12 October 2020: Wouter
  140 	- Fix #127: two minor `-Wcast-qual` cleanups
  141 	- Fix #126: minor header hygiene
  142 	- Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle`
  143 	- Fix #133: fix 0-init of local ( stack ) buffer.
  144 
  145 8 October 2020: Wouter
  146 	- tag for 4.3.3 release
  147 	- current repository contains 4.3.4 in development.
  148 	- Fix #129: ambiguous use of errno, in log message if sendmmsg fails.
  149 	- Fix #128: Fix that the invalid port number is logged for sendmmsg
  150 	  failed: Invalid argument.
  151 
  152 1 October 2020: Wouter
  153 	- tag for 4.3.3rc1 release.
  154 
  155 30 September 2020: Wouter
  156 	- Updated date in nsd -v output.
  157 	- Fixup bug013_truncate, checkconf and cutest_qroot tests for new
  158 	  default EDNS size.
  159 
  160 29 September 2020: Willem
  161 	- Follow DNS flag day 2020 advice and
  162 	  set default EDNS message size to 1232.
  163 
  164 4 September 2020: Wouter
  165 	- Remove unused space from LIBS on link line.
  166 
  167 3 September 2020: Wouter
  168 	- Merge PR #121: Increase log level of recreated database from
  169 	  WARNING to ERR.
  170 
  171 1 September 2020: Wouter
  172 	- Fix #119: fix compile warnings from new gcc.
  173 	- Fix #119: warn when trying to parse a directory.
  174 
  175 27 August 2020: Wouter
  176 	- Merged PR #113 with fixes.  Instead of listing an IP-address to
  177 	  listen on, an interface name can be specified in nsd.conf, with
  178 	  ip-address: eth0.  The IP-addresses for that interface are then used.
  179 
  180 26 August 2020: Wouter
  181 	- Add xstrdup for PR #113.
  182 	- Tidy up code like in PR #113.
  183 	- Import code from PR #113.
  184 	- Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code.
  185 
  186 24 August 2020: Wouter
  187 	- Fix that configure checks for EVP_sha256 to detect openssl, because
  188 	  HMAC_CTX_new is deprecated in 3.0.0.
  189 	- Port TSIG code for openssl 3.0.0-alpha6.
  190 	- Sync acx_nlnetlabs.m4 with the unbound repo.
  191 	- Review fixes for tsig, defensive free and zero.
  192 
  193 4 August 2020: Wouter
  194 	- Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find
  195 	  fd_set - patch.
  196 
  197 23 July 2020: Wouter
  198 	- Merge #115 from millert: Fix strlcpy() usage. From OpenBSD.
  199 
  200 15 July 2020: Wouter
  201 	- Fix make install with --with-pidfile="".
  202 
  203 14 July 2020: Wouter
  204 	- Tag for 4.3.2 release.  Master branch contains the next version
  205 	  in development, 4.3.3.
  206 
  207 7 July 2020: Wouter
  208 	- Tag for 4.3.2rc1.
  209 
  210 6 July 2020: Wouter
  211 	- Fix compile includes for xfr-inspect tool on FreeBSD.
  212 	- Add tpkg/run_vm.sh that runs test when in a virtual machine.
  213 	- Merge #112 from jaredmauch: log old and new serials when NSD
  214 	  rejects an IXFR due to an old serial number.
  215 	- Fix bug034 test for vm test changes.
  216 
  217 22 June 2020: Wouter
  218 	- Remove errno reset behaviour from sendmmsg and recvmmsg
  219 	  replacement functions.
  220 	- Fix unit test for different nsd-control-setup -h exit code.
  221 
  222 19 June 2020: Wouter
  223 	- Merge #108 from Nomis: Make the max-retry-time description clearer.
  224 	- Retry when udp send buffer is full to wait until buffer space is
  225 	  available.
  226 
  227 18 June 2020: Wouter
  228 	- Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD.
  229 
  230 17 June 2020: Wouter
  231 	- Fix #107: nsd -v shows configure line, openssl version and libevent version.
  232 
  233 27 May 2020: Wouter
  234 	- Fix unlink of pidfile warning if not possible due to permissions,
  235 	  nsd can display the message at high verbosity levels.
  236 	- Update contrib/nsd.service for chown of nsd.log and /var/log in
  237 	  ReadWritePaths.
  238 	- Removed contrib/nsd.service, example is too complicated and not
  239 	  useful.
  240 
  241 15 May 2020: Wouter
  242 	- Merge PR#102 from and0x000: add missing default in documentation
  243 	  for drop-updates.
  244 	- Fix checkconf test for log-only-syslog option.
  245 
  246 14 May 2020: Wouter
  247 	- Document default value for tcp-timeout.
  248 
  249 13 May 2020: Jeroen
  250 	- Fix #99: Fix copying of socket properties with reuseport enabled.
  251 
  252 24 April 2020: Wouter
  253 	- Fix #97: EDNS unknown version: query not in response.
  254 
  255 21 April 2020: Wouter
  256 	- Fix #96: log-only-syslog: yes sets to only use syslog, fixes
  257 	  that the default configuration and systemd results in duplicate
  258 	  log messages.
  259 
  260 20 April 2020: Wouter
  261 	- Fix #95: Removed make test check because tpkg not included in
  262 	  release tarballs.
  263 	- Fix unused parameter compile warnings.
  264 
  265 16 April 2020: Wouter
  266 	- Tag for 4.3.1 release and track 4.3.2 release in code repository.
  267 	- note sha256 digest algo use in makedist.sh.
  268 	- Fix for posix shell syntax for trap in nsd-control-setup.
  269 	- Fix to omit the listen-on lines from log at startup, unless verbose.
  270 	- Fix uninitialised values for bindtodevice option at startup with
  271 	  reuseport and multiple interfaces.
  272 
  273 8 April 2020: Wouter
  274 	- Tag for 4.3.1rc2.
  275 
  276 7 April 2020: Wouter
  277 	- Merge PR #91 by gearnode: nsd-control-setup recreate certificates.
  278 	  The '-r' option recreates certificates.  Without it it creates them
  279 	  if they do not exist, and does not modify them otherwise.
  280 
  281 6 April 2020: Wouter
  282 	- Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC.
  283 	- Merge PR #92 by tonysgi: Fix typo.
  284 
  285 2 April 2020: Wouter
  286 	- Tag for 4.3.1rc1.
  287 
  288 1 April 2020: Wouter
  289 	- Fix for whitespace in minimal responses test for FreeBSD.
  290 
  291 25 March 2020: Wouter
  292 	- Merge PR #86 from noloader: Use precious variables for GREP, EGREP,
  293 	  SED, AWK, LEX and YACC.
  294 	- For PR #86: Fix that programs loaded after CFLAGS and stuff is
  295 	  set, specifically the compiler, so that it can work if it needs
  296 	  special flags from that.  Fix that lex only needs to support -i
  297 	  if actually defined, otherwise the output included in the source
  298 	  tarball can be used.
  299 	- Merge PR #72 from noloader: Increase Travis testing coverage
  300 
  301 23 March 2020: Wouter
  302 	- Fix unterminated ifdef in nsd.h.
  303 	- Fix unknown u_long in util.c for Issue #80 .
  304 
  305 20 March 2020: Wouter
  306 	- Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile.
  307 	- Fix #82: print error when system does not have setaffinity.
  308 	- Fix #80: NetBSD and implicit declaration of reallocarray.
  309 	- Fix for #80: Fix reallocarray test to define before include.
  310 	- Fix for #80: Define alternatives for IFNAMSIZ if it does not exist.
  311 
  312 19 March 2020: Wouter
  313 	- Fix #76: cpuid typedef for Hurd, DragonflyBSD compile.
  314 	- Fix #75: configure test for sched_setaffinity, and use
  315 	  cpuset_setaffinity otherwise.  Also test for presence of sysconf.
  316 	- Fix #74: GNU Hurd fix cast from pointer to integer of different size.
  317 	- Fix for #74, #75: cpuset test for header contents and provide code.
  318 	- Fix #78: Fix SO_SETFIB error on FreeBSD.
  319 
  320 18 March 2020: Wouter
  321 	- Fix #70: error: 'fd_set' undeclared.
  322 	- Fix #71: error: 'for' loop initial declaration used outside C99
  323 	  mode.
  324 	- Fix to move declarations out of for loops in event test too.
  325 	- Fix to move declarations out of for loops in popen3 test too.
  326 	- Another fix to move declaration out of for loop for event test.
  327 	- Fix to move declarations out of for loops in cutest regex display.
  328 
  329 17 March 2020: Wouter
  330 	- tag for 4.3.0 release and master branch has version 4.3.1.
  331 
  332 10 March 2020: Wouter
  333 	- repository has version number 4.3.0.  Tag for 4.3.0rc1.
  334 
  335 3 March 2020: Wouter
  336 	- Fix that the retry wait does not exceed one day for zone transfers.
  337 
  338 27 February 2020: Wouter
  339 	- Fix warning on FreeBSD about pointer size cast.
  340 
  341 26 February 2020: Wouter
  342 	- Fixup fix of reuseport TCP for server close of sockets not used
  343 	  by it.  And the unit test skips when the necessary debug output
  344 	  is not enabled.
  345 
  346 25 February 2020: Wouter
  347 	- Fix event unit test, signal has to be registered with signal_add,
  348 	  event_add not for every backend for signals.  The event_initialized
  349 	  is not possible for every backend, so event_added variable.  The
  350 	  agent write event fires after a timeout, instead of on event write
  351 	  so that it does not trigger a sigpipe event when the handlers stop.
  352 	  Timeout shorted to 0.1 second.  event_get_fd was not implemented,
  353 	  so used ev_fd.  Debug output printfs added to see what happens.
  354 	- Fix checkconf test for new drop-updates config option.
  355 	- Fix errors with reuseport and TCP file descriptors, it was
  356 	  closing them for server-1 in server-2 and server-3..
  357 
  358 7 February 2020: Jeroen
  359 	- Add feature to drop queries with opcode UPDATE.
  360 
  361 6 February 2020: Jeroen
  362 	- Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes
  363 	  to bind sockets directly to the network interface.
  364 	- Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address
  365 	  option to use the specified FIB for that socket.
  366 	- Require user to add servers=<range> after an ip-address option to
  367 	  specify the servers that must listen on that socket.
  368 
  369 6 February 2020: Wouter
  370 	- Merge PR#60: Minor portability fixes from michaelforney, with
  371 	  avoid pointer arithmetic on void* and avoid unnecessary VLA.
  372 
  373 4 February 2020: Wouter
  374 	- Merge PR#22: minimise-any: prefer polular and not large RRset,
  375 	  from Daisuke Higashi.
  376 	- Fix responses for IXFR so that the authority section is not echoed
  377 	  in the response.
  378 
  379 21 January 2020: Wouter
  380 	- Fix leak in server bitset setup.
  381 
  382 16 January 2020: Jeroen
  383 	- Add zone resource record iterator for future zone-verification port.
  384 	- Set FD_CLOEXEC on opened sockets.
  385 	- Add popen3 implementation for future zone-verification port.
  386 	- Add -r option to cutest so that a subset of tests can be run.
  387 
  388 15 January 2020: Jeroen
  389 	- Add feature to pin server proccesses to specific cpus.
  390 	- Add feature to pin IP addresses to selected server processes.
  391 	- Set process title to identify individual processes.
  392 
  393 13 January 2020: Wouter
  394 	- Merge pull request #59 from buddyns: add FreeBSD support
  395 	  for conf key ip-transparent.
  396 
  397 10 January 2020: Wouter
  398 	- Fix unreachable code in ssl set options code.
  399 	- Fix bad shift in assertion code analyzer complaint.
  400 
  401 6 January 2020: Wouter
  402 	- Fix #56: Drop sparse TSIG signing support in NSD.
  403 	  Sign every axfr packet with TSIG, according to the latest
  404 	  draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1.
  405 
  406 12 December 2019: Wouter
  407 	- Note that use-systemd is not necessary and ignored in man page.
  408 
  409 11 December 2019: Wouter
  410 	- Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters.
  411 	- use-systemd is ignored in nsd.conf, when NSD is compiled with
  412 	  libsystemd it always signals readiness, if possible.
  413 
  414 9 December 2019: Wouter
  415 	- Fix to define upper bounds on rr counts read from untrusted packet
  416 	  data.
  417 	- Try different annotation for radix_find_prefix_node not reachable.
  418 	- Separate acl_addr_match_range functions for ip4 and ip6, to
  419 	  please checkers.
  420 	- Avoid unused variable warning in new match_range_v4 function.
  421 
  422 6 December 2019: Wouter
  423 	- Fix to define max number of EDNS records we are willing to
  424 	  spend time on.
  425 	- Fix size of string len and capacity type cast in udbradtree.
  426 	- Fix to protect rrcount in tsig_find_rr from overflow.
  427 	- Annotate radix_find_prefix_node not reachable trail code.
  428 	- Fix to protect rrcount in packet_find_notify_serial from overflow.
  429 	- Fix to close socket on error in create_tcp_accept_sock.
  430 	- Fix to log on failure to chmod for socket for remote control.
  431 	- Fix to remove unneeded if in open of socket for remote control.
  432 	- Fix to restore input parameter on call failure in create_dirs.
  433 	- Please checker by terminating and initialising string read
  434 	  by remote control.
  435 	- Fixup of random_generate negative modulo, from previous commit,
  436 	  and return srandom when random is used if no getrandom.
  437 
  438 5 December 2019: Wouter
  439 	- Fix fname null check of fname in namedb_read_zonefile.
  440 	- Fix implicit cast of size in udb_radnode_array_grow.
  441 	- Fix ignore of return value of ssl_printf in remote.c.
  442 	- Fix unused check of fd in parent_handle_reload_command.
  443 	- Fix to use getrandom() for randomness, if available.
  444 	- Attempt to fix signedness of nscount lookup in ixfr query_process.
  445 	- Fix identical branches for ssl_print of errors in remote.c.
  446 	- Fix type cast bounds, signedness of opt_rdlen in edns_parse_record.
  447 	- Fix to separate header and data lines in parse_zone_list_file.
  448 
  449 3 December 2019: Wouter
  450 	- Fix #52: do not log transient network full errors unless higher
  451 	  verbosity is set.
  452 	- Fix checkconf test for new error output string.
  453 	- tag for 4.2.4rc1 release.  This became the 4.2.4 release,
  454 	  and the master branch continues with 4.2.5 in development.
  455 
  456 27 November 2017 Jeroen
  457 	- Fix regressions in configparser.y
  458 
  459 22 November 2019: Wouter
  460 	- Fix #48: Add make distclean that removes config.h made by configure.
  461 	  And add maintainer-clean that removes bison and flex output.
  462 
  463 18 November 2019: Wouter
  464 	- Detect fixed time memcmp for openssl 0.9.8 compatibility.
  465 	- Detect EC_KEY_new_by_curve_name for openssl 0.9.8.
  466 	- include limits.h for UINT_MAX.
  467 	- If no recvmmsg, dont use msg_flags member, but errno for error,
  468 	  where our fallback function left it, msg_flags also does not exist
  469 	  on some systems.
  470 	- Remove unused variable warning for portability.
  471 
  472 14 November 2019: Wouter
  473 	- Fix checkconf test with filenames that sort in the same order.
  474 	- Tag for 4.2.3rc1.  Branch master is 4.2.4 in development.
  475 
  476 11 November 2019: Wouter
  477 	- Fix #44: document that remote-control is a top-level nsd.conf
  478 	  attribute.
  479 	- Fix compile on OSX.
  480 	- Fix for #44: nicer top-level clause documentation.
  481 
  482 22 October 2019: Jeroen
  483 	- Number of different UDP handlers has been reduced to one. recvmmsg
  484 	  and sendmmsg implementations are now used on all platforms.
  485 	  Compatible implementations are in place for systems that lack the
  486 	  system calls.
  487 	- Socket options are now set in designated functions for easy reuse.
  488 	- Socket setup has been simplified for easy reuse.
  489 	- Configuration parser is now aware of the context in which an option
  490 	  was specified.
  491 
  492 21 October 2019: Wouter
  493 	- For #21 add
  494 	  contrib/patch_for_s6_startup_and_other_service_supervisors.diff
  495 	  that adds support for readiness notification with READY_FD from
  496 	  Cameron Nemo.
  497 
  498 17 October 2019: Jeroen
  499 	- Fix #40: Merge small fixes for confine-to-zone by Greg Bock.
  500 
  501 15 October 2019: Jeroen
  502 	- For #39: Merge confine-to-zone feature contributes by Greg Bock.
  503 
  504 26 September 2019: Wouter
  505 	- Fix #38: log address and failure reason with tls handshake errors,
  506 	  squelches (the same as unbound) some unless high verbosity is used.
  507 	- Fixup clang analysis warning in xfrd_parse_received_xfr_packet
  508 	  master dereference.
  509 
  510 25 September 2019: Wouter
  511 	- The nsd.conf includes are sorted ascending, for include statements
  512 	  with a '*' from glob.
  513 
  514 16 September 2019: Wouter
  515 	- Fixup warnings during --disable-ipv6 compile.
  516 	- Fixup unit test executable to run without IPv6.
  517 
  518 4 September 2019: Wouter
  519 	- Fix #35: excessive logging of ixfr failures, it stops the log when
  520 	  fallback to axfr is possible. log is enabled at high verbosity.
  521 
  522 2 September 2019: Wouter
  523 	- For #21: pidfile "" allows to run NSD without a pidfile, for
  524 	  startup management tools like daemontools.
  525 
  526 28 August 2019: Wouter
  527 	- In tests check for tls test tool availability.
  528 
  529 19 August 2019: Wouter
  530 	- Tag for 4.2.2 release.  Git master contains 4.2.3 in development.
  531 
  532 13 August 2019: Wouter
  533 	- Fix error message for out of zone data to have more information.
  534 	- Tag for 4.2.2rc2.
  535 
  536 12 August 2019: Wouter
  537 	- Fix #33: Fix segfault in service of remaining streams on exit.
  538 
  539 6 August 2019: Wouter
  540 	- Tag for 4.2.2rc1.
  541 
  542 5 August 2019: Wouter
  543 	- PR #31: nsd-control: Add missing stdio header.
  544 	- PR #32: tsig: Fix compilation without HAVE_SSL.
  545 	- Cleanup tls context on xfrd exit.
  546 
  547 31 July 2019: Wouter
  548 	- Fix #29: SSHFP check NULL pointer dereference.
  549 	- Fix #30: SSHFP check failure due to missing domain name.
  550 	- Fix to timeval_add in minievent for remaining second in microseconds.
  551 
  552 22 July 2019: Wouter
  553 	- Set timeout for refetch immediately, only spread load when there
  554 	  are retries.
  555 
  556 19 July 2019: Wouter
  557 	- Set no renegotiation on the SSL context to stop client
  558 	  session renegotiation.
  559 
  560 18 July 2019: Wouter
  561 	- Fix #25: NSD doesn't refresh zones after extended downtime,
  562 	  it refreshes the old zones, with a random delay of a couple of
  563 	  seconds to spread the load.
  564 	- Fix so that expired zones stay expired when server is down a
  565 	  long time.
  566 
  567 17 July 2019: Wouter
  568 	- Fix that NSD warns for wrong length of the hash in SSHFP records.
  569 
  570 15 July 2019: Wouter
  571 	- PR #23: Fix typo in nsd.conf man-page.
  572 
  573 4 July 2019: Wouter
  574 	- Set version to 4.2.2 in development.
  575 	- clean memory on exit of nsd-checkzone for memory debug.
  576 	- Fix #20: CVE-2019-13207 Stack-based Buffer Overflow in the
  577 	  dname_concatenate() function.  Reported by Frederic Cambus.
  578 	  It causes the zone parser to crash on a malformed zone file,
  579 	  with assertions enabled, an assertion catches it.
  580 	- Fix #19: Out-of-bounds read caused by improper validation of
  581 	  array index.  Reported by Frederic Cambus.  The zone parser
  582 	  fails on type SIG because of mismatched definition with RRSIG.
  583 
  584 2 July 2019: Wouter
  585 	- Tag for 4.2.1rc1
  586 
  587 27 June 2019: Wouter
  588 	- Fix unit test for added options and no dot after zone updated
  589 	  log message.
  590 	- Fix compile without accept4.
  591 
  592 21 June 2019: Wouter
  593 	- Omit remaining tcp processing if the list is empty.
  594 	- Fix output of nsd-checkconf -h.
  595 
  596 20 June 2019: Wouter
  597 	- Initialize event structures before event_set, to stop uninitialized
  598 	  values from setting event library lists and assertions, that would
  599 	  sometimes also show after event_del.
  600 	- Added num.tls and num.tls6 stat counters.
  601 	- PR #12: send-buffer-size, receive-buffer-size,
  602 	  tcp-reject-overflow options for nsd.conf, from Jeroen Koekkoek.
  603 	- Do not use symbol from libc, instead use own replacement, if not
  604 	  available, for accept4.
  605 	- Fix #14, tcp connections have 1/10 to be active and have to work
  606 	  every second, and then they get time to complete during a reload,
  607 	  this is a process that lingers with the old version during a version
  608 	  update.
  609 
  610 19 June 2019: Wouter
  611 	- Fix tls handshake event callback function mistake, reported
  612 	  by Mykhailo Danylenko.
  613 
  614 18 June 2019: Wouter
  615 	- Fix #15: crash in SSL library, initialize variables for TCP access
  616 	  when TLS is configured.
  617 
  618 14 June 2019: Wouter
  619 	- Fix to init event not pointer, in reassignment.
  620 
  621 12 June 2019: Wouter
  622 	- Fix to init event structure for reassignment.
  623 
  624 11 June 2019: Wouter
  625 	- NSD 4.2.0 release.  Current development is 4.2.1.
  626 	- Fixup of RELNOTES, corrected RFC reference for 4892.
  627 	- Fix #13: Stray dot at the end of some log entries, removes dot
  628 	  after updated serial number in log entry.
  629 	- Fix TLS cipher selection, the previous was redundant, prefers
  630 	  CHACHA20-POLY1305 over AESGCM and was not as readable as it could be. 
  631 	- Consolidate server tls context create and remote control context
  632 	  create, with hardening for the remote control tls context too.
  633 
  634 6 June 2019: Wouter
  635 	- NSD 4.2.0rc1 tag.
  636 
  637 4 June 2019: Wouter
  638 	- Fix unit test for outgoing interface to use random port numbers for
  639 	  the outgoing interface config.
  640 
  641 29 May 2019: Wouter
  642 	- Fix to guard _OPENBSD_SOURCE from redefinition.
  643 
  644 28 May 2019: Wouter
  645 	- Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD.
  646 
  647 16 May 2019: Wouter
  648 	- Fix #10: Fix memory leaks caused by duplicate rr and include
  649 	  instructions.
  650 
  651 6 May 2019: Wouter
  652 	- Note CII best practices badge for NSD on the README.md.
  653 
  654 2 May 2019: Wouter
  655 	- Fix .gitignore for unit test generated files.
  656 	- Fix checkconf unit test for hide-identity and tls.
  657 
  658 1 May 2019: Wouter
  659 	- Fix makedist.sh for use with git.
  660 	- Nicer output on travis for clang analysis.
  661 	- Add .gitignore file to exclude built files from version tracking.
  662 	- Add README.md file in repository with compile instructions.
  663 	- Fix .gitignore for dnstap files and aclocal temp.
  664 	- Add aclocal to README.md for pkgconfig for some configure options.
  665 
  666 25 April 2019: Wouter
  667 	- Add tls.tpkg unit test for DNS over TLS functionality.
  668 
  669 18 April 2019: Wouter
  670 	- Fix to avoid buffer alloc with global buffer in tls write handler.
  671 	- Fix to initialize event structure when accepting TCP connection.
  672 	- Use travis for build check, initial unit test and clang analysis.
  673 	- Disable SSLv2,3,TLSv1.0,1.1 if TLS1.2 is available in libssl.
  674 	- Disable weak ciphers, enable CIPHER_SERVER_PREFERENCE.
  675 	- further setup ssl ctx after the keys are loaded, for ECDH.
  676 	- TLS OCSP stapling support, enabled with tls-service-ocsp: filename,
  677 	  patch from Andreas Schulze.
  678 
  679 17 April 2019: Wouter
  680 	- Fix to share openssl init code, and perform it once.
  681 
  682 16 April 2019: Andreas via Sara
  683 	- Patch to add support for TCP Fast Open
  684 	- Patch to add support for tls service on a specified tls port
  685 
  686 16 April 2019: Wouter
  687 	- Fix #4249: The option hide-identity: yes stops NSD from responding
  688 	  with the hostname for chaos class queries.  Implements the RFC4829
  689 	  security considerations.
  690 	- Remove starttls, this signalling method was not standardized.
  691 	- Remove TO bit, this signalling method was not standardized.
  692 	- Remove unused first_query and tls_ok states.
  693 	- Remove sign-compare warning in tls packet send code.
  694 	- Fix spelling in comment and log printout.
  695 	- Fix potential uninitialized variable.
  696 	- Fix documentation for DNS over TLS, and set default port 853.
  697 	- Fix to add missing comment.
  698 	- Fix that the TLS handshake routine sets the correct event to
  699 	  continue when done.
  700 	- Fix that TLS renegotiation calls the read and write routines again
  701 	  with the same parameters when the desired event has been satisfied.
  702 	- Fix that TCP Fastopen has better error message and supports OSX.
  703 	- Fix log for fastopen with verbosity.
  704 	- Squelch TLS handshake failure log until verbosity 3.
  705 	- Add per-zone statistics for TLS queries, and dnstap for TLS queries,
  706 	  and rcode and TCflag statistics for TCP and TLS queries.
  707 
  708 25 March 2019: Wouter
  709 	- Print IP address when bind socket fails with error.
  710 
  711 21 March 2019: Wouter
  712 	- Fix spelling error in release notes.
  713 	- Fix to delete unused zparser.default_apex member.
  714 
  715 19 March 2019: Wouter
  716 	- tag 4.1.27rc1.  This became 4.1.27 on 25 March 2019 and trunk has
  717 	  4.1.28 in development.
  718 
  719 18 March 2019: Wouter
  720 	- Fix unit test bug013_truncate for new truncation with EDNS size,
  721 	  it is one RR smaller for the truncated response in the test.
  722 
  723 14 March 2019: Wouter
  724 	- Fixed radtree_insert memory leak.
  725 	- Fixed access recycled variable.
  726 
  727 11 March 2019: Wouter
  728 	- Fix #6: nsd-control-setup: Change validity time to a shorter
  729 	  period (<2038).
  730 	- Fix unused definition in header remote.h.
  731 	- Fix #4236: IPV4_MINIMAL_RESPONSE_SIZE=1480 is slightly too big.
  732 	- Fix #4235: IP_PMTUDISC_OMIT on IPv4/UDP sockets.
  733 
  734 18 February 2019: Wouter
  735 	- Fix to remove unused code.
  736 
  737 15 February 2019: Wouter
  738 	- tentative robustness, delete stats items from list twice if needed.
  739 
  740 14 February 2019: Wouter
  741 	- Fix #4: setusercontext() is in libutil on NetBSD, and also
  742 	  include login_cap.h only if it exists.
  743 	- Fix #4215: fixup for state update for TSIG information in server
  744 	  processes, nicer printout for tsig_print, tsig_print without
  745 	  arguments and no leaks.
  746 	- nicer logging for update_tsig.
  747 
  748 1 February 2019: Wouter
  749 	- Fix for tsig assoc_tsig command on acl with nokey elements.
  750 
  751 29 January 2019: Wouter
  752 	- Fix #4215: on-the-fly change of TSIG keys with patch from Igor, adds
  753 	  nsd-control print_tsig, update_tsig, add_tsig, assoc_tsig
  754 	  and del_tsig.  These changes are gone after reload, edit the
  755 	  config file (or a file included from it) to make changes that
  756 	  last after restart.
  757 	- documentation for tsig nsd-control options.
  758 
  759 24 January 2019: Wouter
  760 	- Deny ANY with only one RR in response, by default.  Patch from
  761 	  Daisuke Higashi.  The deny-any statement in nsd.conf sets ANY
  762 	  queries over UDP to be further moved to TCP as well.
  763 	  Also no additional section processig for type ANY, reducing
  764 	  the response size.
  765 	- assertions for clang analysis.
  766 
  767 10 December 2018: Wouter
  768 	- Fix for FreeBSD port with dnstap enabled.
  769 
  770 6 December 2018: Wouter
  771 	- Fix to reduce region_log_stats if condition, this removes a
  772 	  debug statement.
  773 
  774 5 December 2018: Wouter
  775 	- Fix #4213: disable-ipv6 and dnstap compile error.
  776 
  777 3 December 2018: Wouter
  778 	- Note that the content_list member is unused; and could be removed
  779 	  if the database format is modified or updated.
  780 	- Fix that dnstap logs CQ and CR like BIND does.
  781 	- Revert that, it looks wrong, AQ and AR are for the authoritative.
  782 	 
  783 29 November 2018: Wouter
  784 	- Tag for 4.1.26rc1. Which became 4.1.26 on 4 dec 2018.
  785 	  Trunk has 4.1.27 in development.
  786 	- Fix clang analysis warning on null in closest encloser for wildcard
  787 	  denial nsec.
  788 	- Fix clang analysis warnings.
  789 
  790 27 November 2018: Wouter
  791 	- Fix parsezone failure in 4194 fix.
  792 
  793 26 November 2018: Wouter
  794 	- Fix to not set GLOB_NOSORT so the nsd.conf include: files are
  795 	  sorted and in a predictable order.
  796 	- Added nsd-control changezone.  nsd-control changezone name pattern
  797 	  allows the change of a zone pattern option without downtime for
  798 	  the zone, in one operation.
  799 	- Fix #3433: document that reconfig does not change per-zone stats.
  800 
  801 20 November 2018: Wouter
  802 	- Fix #4205: enable-recvmmsg in mixed IPv4/IPv6 environment fails.
  803 	  This sets the msg_hdr.msg_namelen correctly after receipt.
  804 
  805 19 November 2018: Wouter
  806 	- Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes
  807 	  option in nsd.conf.
  808 	- Fix #4202: nsd-control delzone incorrect exit code on error.
  809 	- Tab style fix to use tab for 8 spaces, from Xiaobo Liu.
  810 
  811 25 October 2018: Wouter
  812 	- Adjust dnstap socket path for chroot.
  813 
  814 22 October 2018: Wouter
  815 	- Fix #4194: Zone file parser derailed by non-FQDN names in RHS of
  816 	  DNSSEC RRs.
  817 	- Fix some more, neater code and checks for domain length limit.
  818 	- check that the dnstap socket file can be opened and exists, print
  819 	  error if not.
  820 
  821 4 October 2018: Wouter
  822 	- dnstap work, the dnstap.proto is a copy of the file from Unbound,
  823 	  also dnstap.m4 configure include file.
  824 	- dnstap collector: free eventbase and memclean nicer.
  825 	- dnstap collector: send data and read it in collector.
  826 	- dnstap/dnstap.c and .h from Unbound's contribution from
  827 	  Farsight Security, added to then adapt it for dnstap logging in NSD.
  828 	- dnstap.c with auth query and auth response, and called from
  829 	  the collector.
  830 	- dnstap work, config nsd.conf parse.
  831 	- dnstap example config.
  832 
  833 25 September 2018: Wouter
  834 	- NSD 4.1.25 released, trunk has 4.1.26 in development.
  835 
  836 18 September 2018: Wouter
  837 	- tag for NSD 4.1.25rc1.
  838 
  839 17 September 2018: Wouter
  840 	- Fix #4156: Fix systemd service manager state change notification
  841 
  842 14 September 2018: Wouter
  843 	- Remove unused if clause during server service startup.
  844 
  845 13 September 2018: Wouter
  846 	- Fix typo in clang analysis test.
  847 	- Annotate exit functions with noreturn.
  848 	- nsd-control prints neater errors for file failures.
  849 
  850 12 September 2018: Wouter
  851 	- clang analysis test.
  852 
  853 11 September 2018: Wouter
  854 	- Fix to combine the same error function into one, from Xiaobo Liu.
  855 	- Fix initialisation in remote.c.
  856 	- please clang analyzer and fix parse of IPSECKEY with bad gateway.
  857 	- Fix unit test code for clang analyzer.
  858 	- Fix nsd-checkconf fail on bad zone name.
  859 
  860 10 September 2018: Wouter
  861 	- Fix coding style in nsd.c
  862 
  863 7 September 2018: Wouter
  864 	- append_trailing_slash has one implementation and is not repeated
  865 	  differently.
  866 
  867 4 September 2018: Wouter
  868 	- Fix codingstyle in nsd-checkconf.c in patch from Sharp Liu.
  869 
  870 15 August 2018: Wouter
  871 	- Fix use_systemd typo/leftover in remote.c.
  872 
  873 13 August 2018: Wouter
  874 	- tag for 4.1.24 release.
  875 	- trunk is 4.1.25 in development.
  876 	- Fix that nsec3 precompile deletion happens before the RRs of
  877 	  the zone are deleted.
  878 	- Fix printout of accepted remote control connection for unix sockets.
  879 
  880 6 August 2018: Wouter
  881 	- tag for 4.1.24rc1 release.
  882 
  883 30 July 2018: Wouter
  884 	- Tag for NSD 4.1.23 release, trunk is 4.1.24, includes
  885 	  fix NSD time sensitive TSIG compare vulnerability.
  886 	- Fix checkconf test for use-systemd option.
  887 
  888 25 July 2018: Wouter
  889 	- #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM
  890 	  chain, NSD leniently attempts to find a working NSEC3PARAM.
  891 
  892 23 July 2018: Wouter
  893 	- Remove socket activation from systemd code, it was reported as
  894 	  not useful to enable.  The readiness signalling is still there,
  895 	  and can be enabled with use-systemd: yes.
  896 	- Only call sd_notify from systemd when use-systemd is yes.
  897 
  898 6 July 2018: Wouter
  899 	- RFC8162 support, for record type SMIMEA.
  900 	- Fix that type CAA (and URI) in the zone file can contain
  901 	  dots when not in quotes.
  902 
  903 26 June 2018: Wouter
  904 	- configure --enable-systemd (needs pkg-config and libsystemd) can
  905 	  be used to then use-systemd: yes in nsd.conf and use socket
  906 	  activation and readiness signalling with systemd.
  907 
  908 19 June 2018: Wouter
  909 	- #4106: Fix that stats printed from nsd-control are recast from
  910 	  unsigned long to unsigned (remote.c).
  911 
  912 14 June 2018: Wouter
  913 	- Fix that first control-interface determines if TLS is used.  Warn
  914 	  when IP address interfaces are used without TLS.
  915 
  916 12 June 2018: Wouter
  917 	- #4102: control interface via local socket.
  918 	  configure it with control-interface: "/path/nsd.ctl"  The path
  919 	  has to start with a / to separate it from an IP address.
  920 	  The local socket does not use SSL, but unencrypted traffic, use
  921 	  file and containing directory permissions to restrict access.
  922 
  923 6 June 2018: Wouter
  924 	- Patch to fix openwrt for mac os build darwin detection in configure.
  925 
  926 4 June 2018: Wouter
  927 	- tag for 4.1.22rc1.  Became 4.1.22 on 11 June, trunk is 4.1.23 in
  928 	  development from this point.
  929 
  930 31 May 2018: Wouter
  931 	- Fix to use same condition for nsec3 hash allocation and free.
  932 
  933 23 May 2018: Wouter
  934 	- Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD
  935 	  and OpenBSD.
  936 
  937 22 May 2018: Wouter
  938 	- Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones.
  939 
  940 15 May 2018: Wouter
  941 	- Fix memory free in unit test.
  942 
  943 14 May 2018: Wouter
  944 	- Tag for 4.1.21 release.
  945 	- trunk has 4.1.22 in development.
  946 	- refuse-any sends truncation (+TC) in reply to ANY queries over UDP,
  947 	  and allows TCP queries like normal.
  948 
  949 7 May 2018: Wouter
  950 	- Tag for 4.1.21rc1 release.
  951 
  952 4 May 2018: Wouter
  953 	- Fix #4093: Release notes not using 2018.
  954 
  955 3 May 2018: Wouter
  956 	- Fix buffer size warnings from compiler on filename lengths.
  957 
  958 26 April 2018: Wouter
  959 	- lower memory usage for tcp connections, so tcp-count can be higher.
  960 	- Fix checkconf test for refuse-any option.
  961 
  962 3 April 2018: Wouter
  963 	- refuse-any nsd.conf option that refuses queries of type ANY.
  964 
  965 5 March 2018: Wouter
  966 	- Fix #3562: explain build error when flex missing.
  967 
  968 20 February 2018: Wouter
  969 	- For more clang warnings
  970 	- Fix spelling error in xfr-inspect.
  971 
  972 19 February 2018: Wouter
  973 	- Fix for clang analysis complaints.
  974 
  975 15 February 2018: Wouter
  976 	- --enable-memclean cleans up memory for use with memory checkers,
  977 	  eg. valgrind.
  978 	- Fix unused variable warnings from clang analyzer.
  979 
  980 14 February 2018: Wouter
  981 	- updated RELNOTES for upcoming release.
  982 	- tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in
  983 	  development.
  984 
  985 9 February 2018: Wouter
  986 	- make depend: updated the make dependencies in the Makefile.
  987 
  988 8 February 2018: Wouter
  989 	- Fix memory leak when rehashing nsec3 after axfr or zonefile read,
  990 	  in the selectively allocated precompiled nsec3 hashes.
  991 
  992 6 February 2018: Wouter
  993 	- Fix memory leak in zone file read of unknown rr formatted RRs.
  994 
  995 11 December 2017: Wouter
  996 	- Add test for support of -Wno-address-of-packed-member for
  997 	  --enable-packed.
  998 	- tag for release 4.1.19
  999 	- trunk has 4.1.20 in development.
 1000 
 1001 8 December 2017: Wouter
 1002 	- tag for 4.1.19rc1
 1003 
 1004 7 December 2017: Wouter
 1005 	- Fixup lexer warning for gcc 4.2.
 1006 
 1007 6 December 2017: Wouter
 1008 	- Fix 3392: Fix regression in 4.1.18 for notify lists with ip4
 1009 	  and ip6 targets.
 1010 
 1011 5 December 2017: Wouter
 1012 	- Fix spelling error in xfr-inspect.
 1013 
 1014 1 December 2017: Wouter
 1015 	- Fix warnings emitted by clang for --enable-packed.  Alignment is not
 1016 	  a problem for x86_64, don't enable packed when the platform
 1017 	  requires aligned access.
 1018 
 1019 30 November 2017: Wouter
 1020 	- tag for 4.1.18 release.
 1021 	- trunk has 4.1.19 in development.
 1022 	- ignore fallthrough compiler warning in flex EOF rule.
 1023 
 1024 27 November 2017: Wouter
 1025 	- Fix crash for DS query when parent and child zones both configured
 1026 	  in nsd.conf and parent zone has not loaded properly.
 1027 	- tag for 4.1.18rc2.
 1028 
 1029 16 November 2017: Wouter
 1030 	- tag for 4.1.18rc1.
 1031 
 1032 14 November 2017: Wouter
 1033 	- Fix #2871: Increase number of sockets for xfrd transfers.
 1034 
 1035 6 November 2017: Wouter
 1036 	- Set usage counts in namedb tree to uint32 to save memory.
 1037 	- Fix up debug content from nsec3 collision printout work.
 1038 
 1039 2 November 2016: Wouter
 1040 	- make ip-transparent option work on OpenBSD.
 1041 
 1042 11 October 2016: Wouter
 1043 	- Fix #1567: Change crit to err log level for gettimeofday failure.
 1044 	  Add defines for compile without syslog.
 1045 
 1046 9 October 2016: Wouter
 1047 	- Fix collision printout of nsec3 to print name, hash and reverse.
 1048 
 1049 2 October 2016: Wouter
 1050 	- nsd-control zonestatus prints wait time between attempts, for zones
 1051 	  that are in that waiting time.
 1052 
 1053 19 September 2016: Wouter
 1054 	- merges feature branch branches/alloced_prehashes into trunk.
 1055 
 1056 18 September 2016: Wouter
 1057 	- Fix #1446: A corrupted zone file "propagates" to good ones.
 1058 
 1059 14 September 2016: Wouter
 1060 	- Fix layout in xfrd.c.
 1061 
 1062 6 September 2017: Willem
 1063 	- Save memory by selectively allocate precompiled nsec3 hashes
 1064 
 1065 29 August 2016: Wouter
 1066 	- With --enable-packed save memory, at expense of unaligned reads.
 1067 	- Fix writev compile warning on FreeBSD.
 1068 
 1069 25 July 2016: Wouter
 1070 	- NSD sends up to 16 notifies simultaneously for up to 64 zones,
 1071 	  to increase rate of notification for large master configurations.
 1072 
 1073 24 July 2016: Wouter
 1074 	- Fix gcc 7.1.1 warnings.
 1075 
 1076 17 July 2016: Wouter
 1077 	- Trunk has 4.1.18
 1078 	- xfr-inspect is part of source dir, but not made or installed by
 1079 	  default.
 1080 	- retry timeout between sending notifies dropped from 15 to 3 sec.
 1081 
 1082 13 July 2016: Wouter
 1083 	- tag 4.1.17rc1, and that became the 4.1.17 release on 21 July 2017.
 1084 
 1085 29 June 2016: Wouter
 1086 	- make depend.
 1087 
 1088 26 June 2016: Wouter
 1089 	- Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
 1090 	  empty base64 or hex string.
 1091 
 1092 23 June 2016: Wouter
 1093 	- Fix potential null pointer in nsec3 adjustment tree.
 1094 
 1095 15 June 2016: Wouter
 1096 	- xfr-inspect debug tool prints out xfr contents of files in tmp.
 1097 
 1098 6 June 2016: Wouter
 1099 	- Fix #1272: use writev to put tcp length field with data for outgoing
 1100 	  zone transfer requests.
 1101 
 1102 16 May 2016: Wouter
 1103 	- zone parser parses type AVC (it has TXT format).
 1104 
 1105 25 April 2016: Wouter
 1106 	- 4.1.16 release tag.
 1107 	- trunk contains 4.1.17 in development.
 1108 
 1109 11 April 2016: Wouter
 1110 	- 4.1.16 rc1 tag for release.
 1111 	- minor manpage fix.
 1112 
 1113 5 April 2016: Wouter
 1114 	- Patch for expire state in multi-master when masters includes
 1115 	  broken master.
 1116 
 1117 27 March 2016: Wouter
 1118 	- Fix 1243: Option to make NSD emit really minimal responses,
 1119 	  minimal-responses: yes in nsd.conf.
 1120 	- but they give additional information for priming queries (type NS).
 1121 
 1122 6 March 2016: Wouter
 1123 	- Fix 1228: OpenSSL include is not guarded with HAVE_SSL
 1124 
 1125 28 February 2016: Wouter
 1126 	- Printout serial error with hint it may be too big.
 1127 
 1128 20 February 2016: Wouter
 1129 	- Fix missing _t to _type conversion for disable-radix-tree option.
 1130 
 1131 15 February 2016: Wouter
 1132 	- zone parser can parse acronyms for algorithms ED25519 and ED448.
 1133 
 1134 13 February 2016: Wouter
 1135 	- Calculate new udb index after growing the array, fix from
 1136 	  Chaofeng Liu.
 1137 
 1138 7 February 2016: Wouter
 1139 	- tag for 4.1.15 rc1.  Which became 4.1.15 on 16 Feb.  Trunk 4.1.16.
 1140 
 1141 19 January 2016: Wouter
 1142 	- Fix to rename _t typedefs because POSIX reserves them.
 1143 
 1144 3 January 2016: Wouter
 1145 	- Fix #1195: Fix so that NSD fails on non-compliant values for Serial.
 1146 
 1147 14 December 2016: Wouter
 1148 	- Squelch zone transfer error address family not supported by protocol
 1149 	  at low verbosity levels.
 1150 
 1151 13 December 2016: Wouter
 1152 	- Fix nsd-control and ipv6 only.
 1153 
 1154 8 December 2016: Wouter
 1155 	- tag 4.1.14
 1156 	- trunk contains 4.1.15 in development.
 1157 
 1158 1 December 2016: Wouter
 1159 	- Fix restart of zone transfers when new config becomes available.
 1160 	- tag 4.1.14rc1
 1161 
 1162 25 October 2016: Wouter
 1163 	- Fix #1132 for SERVFAIL zones perform backoff, and remembers the
 1164 	  timeout on next startup.
 1165 	- Save backoff timeout into xfrd.state file, this file has a higher
 1166 	  version number now.  Old files are skipped silently (causes
 1167 	  refresh) and created as new files upon exit.
 1168 	- Set number of rounds to 1; NSD will try every master once, then
 1169 	  wait for timeout or notify.
 1170 	- Fix axfr fallback for rounds to 1.
 1171 
 1172 20 October 2016: Wouter
 1173 	- suppress compile warning in lex files.
 1174 
 1175 18 October 2016: Wouter
 1176 	- Robust fix against missing master in tcp_open for xfrd.
 1177 	- More in depth fix for the previous.
 1178 	- Fix wildcards in include: config statements with chroot enabled.
 1179 
 1180 27 September 2016: Wouter
 1181 	- NSD 4.1.13 tag.
 1182 	- trunk has 4.1.14 in development.
 1183 	- Fix null memcpy for radixtree with single link element.
 1184 
 1185 19 September 2016: Wouter
 1186 	- Review comments Ralph: wrapped long lines and nicer example conf.
 1187 
 1188 16 September 2016: Wouter
 1189 	- NSD 4.1.13rc1 tag.
 1190 
 1191 15 September 2016: Wouter
 1192 	- Test for openssl init_crypto and init_ssl functions.
 1193 
 1194 14 September 2016: Ralph
 1195 	- Fix OPENSSL_INIT_ADD_ALL_DIGESTS compatibility check
 1196 
 1197 13 September 2016: Wouter
 1198 	- Fix double const in dname_const() function.
 1199 	- Silenced flex-generated sign-unsigned warning print with gcc
 1200 	  diagnostic pragma.
 1201 
 1202 8 September 2016: Wouter
 1203 	- more extensible edns option handling.
 1204 
 1205 2 September 2016: Wouter
 1206 	- Release of 4.1.12; trunk is 4.1.13 and the patch for 4.1.12 (that
 1207 	  does not contain the other changes to the trunk) is folded into
 1208 	  the trunk.
 1209 	- Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
 1210 
 1211 25 August 2016: Wouter
 1212 	- Fix multimaster for not tried full zone transfer for a expired zone.
 1213 	- Explain --disable-radix tree uses some more CPU.
 1214 
 1215 22 August 2016: Wouter
 1216 	- Fix README spelling error of BSD license (reported by Joerg Jung).
 1217 
 1218 19 August 2016: Wouter
 1219 	- for type SRV add A/AAAA to the additional section (if possible),
 1220 	  just like we already do for type MX.
 1221 
 1222 17 August 2016: Wouter
 1223 	- Add robustness against unallocated data in nsec3 trees.
 1224 
 1225 16 August 2016: Wouter
 1226 	- configure --disable-radix-tree for about 15% lower memory usage.
 1227 
 1228 12 August 2016: Wouter
 1229 	- Fix #817: xfrd update failed loop.
 1230 
 1231 9 August 2016: Wouter
 1232 	- Can config key algorithms with the digest name, eg. 'sha256'.
 1233 	- default tsig algorithm is sha256.
 1234 	- Fix typo in log output, 'transfered' -> 'transferred'.
 1235 	- Fix compile warnings about signcompare in minmax retrytime.
 1236 
 1237 8 August 2016: Wouter
 1238 	- Support syntax of RR type OPENPGPKEY from RFC 7929.
 1239 
 1240 5 August 2016: Wouter
 1241 	- multi-master-check: yes can be used to check all masters for the
 1242 	  last version, using the higher version from the configured masters,
 1243 	  from Manabu Sonoda.
 1244 	- small fixups on patch.  And fix spacing and remove configure flag.
 1245 	- Fix #812: make depend fails after distribution.
 1246 
 1247 2 August 2016: Wouter
 1248 	- Fix unused result warnings from write and strtol.
 1249 
 1250 1 August 2016: Wouter
 1251 	- Tag 4.1.11rc1.
 1252 	- Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.
 1253 	- Tag 4.1.11rc2.
 1254 	- trunk is 4.1.12 in development.
 1255 
 1256 8 July 2016: Wouter
 1257 	- Note down tracking numbers for issue JVN#63359718 JPCERT#91251865.
 1258 
 1259 5 July 2016: Wouter
 1260 	- Fix #790: size-limit-xfr can stop NSD from downloading infinite zone
 1261 	  transfer data size, from Toshifumi Sakaguchi.
 1262 
 1263 27 June 2016: Wouter
 1264 	- Set default for min-refresh-time and min-retry-time to 0.  Behaves
 1265 	  just like before, but has a configurable option in nsd.conf.
 1266 	- Fix #783: Trying to run a root server without having configured it
 1267 	  silently gives wrong answers.
 1268 
 1269 16 June 2016: Wouter
 1270 	- When tcp is more than half full, use short timeout for tcp session.
 1271 	- Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
 1272 	- man page entries for max-refresh-time patch.
 1273 
 1274 15 June 2016: Wouter
 1275 	- Fix build without IPv6, patch from Zdenek Kaspar.
 1276 
 1277 14 June 2016: Wouter
 1278 	- release 4.1.10 and tag for that.
 1279 	- trunk has 4.1.11 in development.
 1280 
 1281 7 June 2016: Wouter
 1282 	- Fix NSEC3 ent fix to use closest encloser, not wildcard denial.
 1283 
 1284 2 June 2016: Wouter
 1285 	- Fix for NSEC3 with zone signed without exact match for empty
 1286 	  nonterminals, the answer for that domain gets wildcard denial.
 1287 	- #772 Document that recvmmsg has IPv6 problems on some linux kernels.
 1288 	- tag for 4.1.10rc1.
 1289 
 1290 31 May 2016: Wouter
 1291 	- print notice that nsd is starting before taking off.
 1292 
 1293 20 May 2016: Wouter
 1294 	- Updated fix for nonterminal nsec3 answers.
 1295 
 1296 19 May 2016: Wouter
 1297 	- Fix empty nonterminal nsec3 cover answers.
 1298 
 1299 12 May 2016: Wouter
 1300 	- NSD includes AAAA before A for queries over IPV6 (in delegations).
 1301 	  And TC is set if no glue can be provided with a delegation because
 1302 	  of packet size.
 1303 
 1304 19 April 2016: Wouter
 1305 	- Fix #755: NSD spins after a zone update and a lot of TCP queries.
 1306 
 1307 7 April 2016: Wouter
 1308 	- If set without nsd.db print "" as the default in the man pages.
 1309 
 1310 4 April 2016: Wouter
 1311 	- Fix #751: NSD fails to occlude names below a DNAME.
 1312 
 1313 24 March 2016: Wouter
 1314 	- Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl.
 1315 
 1316 21 March 2016: Wouter
 1317 	- Update acx_nlnetlabs.m4 to version 33 with HMAC_Update test.
 1318 	- acx_nlnetlabs.m4 to v34, with -ldl -pthread test for libcrypto.
 1319 
 1320 15 March 2016: Wouter
 1321 	- ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option
 1322 	  for Linux, binds to interfaces and addresses that are down.
 1323 	- Change the nsd.db file version because of nanosecond precision fix.
 1324 	- 4.1.9 release with the nsd.db file version fix (but not freebind),
 1325 	  trunk contains 4.1.10 in development.
 1326 
 1327 10 March 2016: Wouter
 1328 	- Tag 4.1.8
 1329 	- Trunk contains 4.1.9 in development.
 1330 
 1331 2 March 2016: Wouter
 1332 	- Tag 4.1.8rc1
 1333 
 1334 1 March 2016: Wouter
 1335 	- #744: Fix that NSD replies for configured but unloaded zone
 1336 	  with SERVFAIL, not REFUSED.
 1337 
 1338 16 February 2016: Wouter
 1339 	- RR type CSYNC (RFC7477) syntax is supported.
 1340 
 1341 29 January 2016: Wouter
 1342 	- #739: zonefile changes when mtime is small are detected on reload,
 1343 	  if filesystem supports precision mtime values.
 1344 
 1345 19 January 2016: Wouter
 1346 	- Fix #736: segfault during zone transfer.
 1347 
 1348 08 January 2016: Wouter
 1349 	- Define _DEFAULT_SOURCE with _BSD_SOURCE for recent Linuxes.
 1350 
 1351 05 January 2016: Wouter
 1352 	- #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch
 1353 	  from Daisuke Higashi.
 1354 
 1355 04 January 2016: Wouter
 1356 	- Updated acx_nlnetlabs to version 32.
 1357 
 1358 11 December 2015: Wouter
 1359 	- Fix flto check for OSX clang.
 1360 
 1361 10 December 2015: Wouter
 1362 	- 4.1.7 release
 1363 	- trunk has 4.1.8 in development.
 1364 	- take advantage of arc4random_uniform if available, patch from
 1365 	  Loganaden Velvindron.
 1366 
 1367 3 December 2015: Wouter
 1368 	- tag for 4.1.7rc1 prerelease.
 1369 
 1370 2 December 2015: Wouter
 1371 	- configure --enable-ratelimit-default-is-off with --enable-ratelimit
 1372 	  to set the default ratelimit to disabled but available in nsd.conf.
 1373 	- Document that ratelimit qps and slip are updated in reconfig.
 1374 	- version: "string" option to set chaos version query reply string.
 1375 	- Fix up defaults in manpage.
 1376 
 1377 1 December 2015: Wouter
 1378 	- Explain rrl-slip better in documentation.
 1379 
 1380 30 November 2015: Wouter
 1381 	- Fix TCP responses when REUSEPORT is in use by turning it off.
 1382 	- reuseport: no is the default, because the feature is not troublefree.
 1383 	- Document default in manpage for rrl-slip, ip4 and 6 prefixlength.
 1384 
 1385 24 November 2015: Wouter
 1386 	- Fix zonec ttl mismatch printout to include more information.
 1387 
 1388 18 November 2015: Wouter
 1389 	- RELNOTES more descriptive.
 1390 	- newer acx_nlnetlabs.m4.
 1391 	- spelling fixes from Igor Sobrado Delgado.
 1392 
 1393 17 November 2015: Wouter
 1394 	- Fix #721: Fix wrong error code (FORMERR) returned for unknown
 1395 	  opcode.  NOTIMP expected.
 1396 
 1397 16 November 2015: Wouter
 1398 	- Allocate less memory for TSIG digest.
 1399 
 1400 6 November 2015: Wouter
 1401 	- Fixup for newer acx_nlnetlabs.m4, test for openssl version after
 1402 	  testing for libdl need.
 1403 
 1404 5 November 2015: Wouter
 1405 	- newer acx_nlnetlabs.m4, does not needlessly link with -ldl.
 1406 
 1407 30 October 2015: Wouter
 1408 	- Fix tpkg tests for portability.
 1409 
 1410 29 October 2015: Wouter
 1411 	- patch from Doug Hogan for SSL_OP_NO_SSLvx options.
 1412 	- updated contrib/nsd.spec, from Bálint Szigeti.
 1413 	- support configure --with-dbfile="" for nodb mode by default, where
 1414 	  there is no binary database, but nsd reads and writes zonefiles.
 1415 
 1416 27 October 2015: Wouter
 1417 	- portability fixes.
 1418 
 1419 26 October 2015: Wouter
 1420 	- Init pfd for handlers added during handler-event-walk.
 1421 
 1422 23 October 2015: Wouter
 1423 	- Fix many interfaces and zones updates from nsd parent event loop.
 1424 
 1425 22 October 2015: Wouter
 1426 	- 4.1.6 release tag.
 1427 	- trunk contain 4.1.7 in development.
 1428 
 1429 20 October 2015: Wouter
 1430 	- 4.1.6rc2 tag created.
 1431 
 1432 19 October 2015: Wouter
 1433 	- Fix compile of zonec error message on FreeBSD.
 1434 
 1435 15 October 2015: Wouter
 1436 	- 4.1.6rc1 tag created.
 1437 
 1438 13 October 2015: Wouter
 1439 	- nsd-checkconf warns for master zones with no zonefile statement.
 1440 	- Fix start failure when many file descriptors are in use.
 1441 	- The servfail rcode is not printed with a space in the middle.
 1442 	- fixup file descriptor fixup nicer.
 1443 	- print failed token for config syntax error or parse error.
 1444 
 1445 12 October 2015: Wouter
 1446 	- Fix #711: Document that debug-mode yes is used for staying
 1447 	  attached to the supervisor console.
 1448 	- Document verbosity 3 prints more information.
 1449 
 1450 30 September 2015: Wouter
 1451 	- makedist.sh print on pgp signature creation.
 1452 
 1453 28 September 2015: Wouter
 1454 	- Fix typo in zonec.c inside error message.
 1455 
 1456 24 September 2015: Wouter
 1457 	- Fix #701: Fix that AD=1 set in a BADVERS response.
 1458 
 1459 21 September 2015: Wouter
 1460 	- Fix #706: default port 53 not opened on ip4 because of getaddrinfo
 1461 	  hints initialisation failure.
 1462 	- 4.1.5 release tag
 1463 	- trunk contains 4.1.6 in development.
 1464 
 1465 9 September 2015: Wouter
 1466 	- 4.1.4 release tag created.
 1467 	- trunk contains 4.1.5 in development.
 1468 
 1469 31 August 2015: Wouter
 1470 	- 4.1.4rc1 tag created.
 1471 
 1472 28 August 2015: Wouter
 1473 	- Fix #698 formatting errors and typos in nsd.8.in.
 1474 	- Add --enable-pie and --enable-relro-now options.
 1475 
 1476 18 August 2015: Wouter
 1477 	- Admitted axfrs are logged at verbosity 1.  Refused at verbosity 2.
 1478 
 1479 17 August 2015: Wouter
 1480 	- Fixed checkconf test for reuseport setting.
 1481 
 1482 14 August 2015: Wouter
 1483 	- SO_REUSEPORT does not work on FreeBSD.  Enabled by default on Linux,
 1484 	  not enabled by default on other OSes.
 1485 
 1486 5 August 2015: Wouter
 1487 	- Fix that notify from nsd-control contains soa serial.
 1488 
 1489 3 August 2015: Wouter
 1490 	- squelch SO_REUSEPORT failure on verbosity less than 3.
 1491 
 1492 31 July 2015: Wouter
 1493 	- removed hardcoded interface limit, --with-max-ips removed.
 1494 	- SO_REUSEPORT support.
 1495 
 1496 16 July 2015: Wouter
 1497 	- Fix #618: documented need to list ip-addresses separately in
 1498 	  nsd.conf if there are multiple, because the source address of
 1499 	  replies can otherwise go wrong.
 1500 
 1501 10 July 2015: Wouter
 1502 	- Fix that for expired zones NSD performs an AXFR and accepts newer
 1503 	  and older serial numbers.
 1504 	- Document that minimal responses only minimizes responses to fit
 1505 	  in one datagram.  It does not minimize smaller responses.
 1506 
 1507 2 July 2015: Wouter
 1508 	- Fix NSID response for short edns sizes.
 1509 
 1510 23 June 2015: Wouter
 1511 	- Trunk contains 4.1.4 in development.
 1512 
 1513 4 June 2015: Wouter
 1514 	- Tag 4.1.3rc1
 1515 	- improve nsd-control usage text. (23 june - added to 4.1.3)
 1516 	- RFC7553 RR Type URI support.
 1517 
 1518 2 June 2015: Wouter
 1519 	- Fix redefined macro lex warning for freebsd flex.
 1520 
 1521 29 May 2015: Wouter
 1522 	- Fix that formerrors are ratelimited.
 1523 
 1524 19 May 2015: Wouter
 1525 	- max-interfaces raised to 32.
 1526 
 1527 18 May 2015: Wouter
 1528 	- removed unused defines for unofficial tsig-hmac algorithm codes.
 1529 	  The TSIG algorithm is identified by name in the config file.
 1530 
 1531 14 May 2015: Wouter
 1532 	- hmac sha224, sha384 and sha512 support, patch from David Gwynne.
 1533 
 1534 23 April 2015: Wouter
 1535 	- Fix crash in zone parser for relative dname after error in origin.
 1536 	- Test for zone parser failures
 1537 
 1538 21 April 2015: Wouter
 1539 	- nsd-control addzones and delzones read list of zones from stdin.
 1540 	- Fix task and zonestat files to be stored in a subdirectory in tmp
 1541 	  to stop privilege elevation.
 1542 	- printout names for successful addition and removal with bulk command.
 1543 
 1544 20 April 2015: Wouter
 1545 	- Fix #665: when removing subdomain, nsd does not reparse parent zone.
 1546 
 1547 14 April 2015: Wouter
 1548 	- trunk contains 4.1.3(upcoming).
 1549 
 1550 7 April 2015: Wouter
 1551 	- Tag 4.1.2rc2.
 1552 
 1553 2 April 2015: Wouter
 1554 	- Made log message more consistent, changed 'axfr refused' log message
 1555 	  to be more consistent with other messages.  Also notify refused.
 1556 	- verbosity 2 logs axfr refused and notify refused.
 1557 	  verbosity 1 contains less log messages.
 1558 
 1559 31 March 2015: Wouter
 1560 	- Tag 4.1.2rc1.
 1561 
 1562 24 March 2015: Wouter
 1563 	- Fix #654: Fix contradiction in notify logging verbosity level.
 1564 	- Incoming notifies have serial number logged (at verbosity 1).
 1565 	- Fix #655: Fix contradiction in verbosity for zone transfers.
 1566 
 1567 17 March 2015: Wouter
 1568 	- Use reallocarray for integer overflow protection, patch submitted
 1569 	  by Loganaden Velvindron.
 1570 	- Fix allocation integer overflow checks.
 1571 
 1572 13 March 2015: Wouter
 1573 	- Fix buffer overflow in config parse of domain name,
 1574 	  reported by John Van de Meulebrouck Brendgard.
 1575 
 1576 12 March 2015: Wouter
 1577 	- Updated default keylength in nsd-control-setup to 3k.
 1578 
 1579 10 March 2015: Wouter
 1580 	- Fix use after free after zonefile syntax error followed by ttl
 1581 	  or origin directive, reported by John Van de Meulebrouck Brendgard.
 1582 	- Fix syntax error followed by too many TXT elements parse crash
 1583 	  reported by John Van de Meulebrouck Brendgard.
 1584 
 1585 9 March 2015: Wouter
 1586 	- Fix origin directive from unused old value and subdomain parser
 1587 	  failure, reported by John Van de Meulebrouck Brendgard.
 1588 
 1589 2 March 2015: Wouter
 1590 	- Fix b64pton out of bounds error on invalid zonefile input
 1591 	  reported by John Van de Meulebrouck Brendgard.
 1592 
 1593 20 February 2015: Wouter
 1594 	- Fix segfault on double origin in zone reader (thanks John Van de
 1595 	  Meulebrouck Brendgard).
 1596 
 1597 19 February 2015: Wouter
 1598 	- Remove dead code domain_table_iterate.
 1599 	- Fix segfault in zone reader on invalid input
 1600 	  reported by John Van de Meulebrouck Brendgard.
 1601 
 1602 5 February 2015: Wouter
 1603 	- Fix #642: Change 'zone read with no errors' to '.. with success'.
 1604 	  Patch from Benedikt Heine.
 1605 
 1606 3 February 2015: Wouter
 1607 	- Tag 4.1.1 release
 1608 	- Trunk is 4.1.2 in development.
 1609 	- Remove some duplicate header includes (from Brad Smith).
 1610 	- Fix tcp waiting list for zone transfers where the bind and connect
 1611 	  calls fail.
 1612 
 1613 29 January 2015: Wouter
 1614 	- Fix zonesdir chroot error message.
 1615 
 1616 28 January 2015: Wouter
 1617 	- correct some hyphen-used-as-minus-sign (from Andreas Schulze) in
 1618 	  man pages.
 1619 
 1620 27 January 2015: Wouter
 1621 	- Tag 4.1.1rc1
 1622 
 1623 21 January 2015: Wouter
 1624 	- Synthesize CNAMEs with same TTL as DNAME.
 1625 
 1626 12 January 2015: Wouter
 1627 	- Fix casts for ctype functions (from Todd Miller).
 1628 	- nsd-checkconf -f prints out full name of pidfile (with dir).
 1629 
 1630 9 January 2015: Wouter
 1631 	- Fix bug#637: fix that nsd.db grows limitlessly, an off by one
 1632 	  on one megabyte free chunks, created during AXFRs of large zones,
 1633 	  that caused the one megabyte chunk to be leaked.
 1634 	- Fix udb-inspect for one megabyte chunks, counts and statistics.
 1635 
 1636 6 January 2015: Wouter
 1637 	- Fix spinning NSD with lots of failing transfers, due to pointer
 1638 	  comparison using void pointer subtraction (from Otto Moerbeek).
 1639 
 1640 5 January 2015: Wouter
 1641 	- Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE.
 1642 
 1643 4 Nov 2014: Wouter
 1644 	- Document zonestat config, and nsd-checkconf access.
 1645 
 1646 3 Nov 2014: Wouter
 1647 	- Fix that failure to add tcp to tcp base does not leak the socket.
 1648 
 1649 27 Oct 2014: Wouter
 1650 	- Disabled use of SSLv3 in nsd-control.
 1651 	- zonestats are cleared (or not, with stats_noreset).
 1652 
 1653 22 Oct 2014: Wouter
 1654 	- Test for wildcard fix (from 3.2).
 1655 
 1656 16 Oct 2014: Wouter
 1657 	- Fixes for wildcard addition and deletion, speedup for some cases.
 1658 
 1659 15 Oct 2014: Wouter
 1660 	- Fix that queries for noname CH TXT are REFUSED instead of nodata.
 1661 
 1662 14 Oct 2014: Wouter
 1663 	- per zone statistics with --enable-zone-stats, configure with
 1664 	  zonestats: "zonestatidentifier", zones with the same id are added.
 1665 
 1666 10 Oct 2014: Wouter
 1667 	- Fix #616: retry xfer for zones with no content after command.
 1668 	- Fix char used as array index warnings on NetBSD.
 1669 
 1670 8 Oct 2014: Wouter
 1671 	- Fix "xfrd_handle_ipc: bad mode" log errors when compiled 
 1672 	  with --disable-bind8-stats.
 1673 
 1674 18 Sep 2014: Wouter
 1675 	- Fix that expired zones stay expired after a server restart.
 1676 
 1677 15 Sep 2014: Wouter
 1678 	- RFC 7344: CDS and CDNSKEY (read in).
 1679 
 1680 4 Sep 2014: Wouter
 1681 	- Tag 4.1.0.
 1682 	- trunk is 4.1.1 in development.
 1683 	- fix manpage for nsd-checkzone to have version and date.
 1684 
 1685 29 Aug 2014: Wouter
 1686 	- Fix install of the nsd-checkconf man page.
 1687 
 1688 28 Aug 2014: Wouter
 1689 	- Tag 4.1.0rc1
 1690 
 1691 25 Aug 2014: Wouter
 1692 	- Increased default --with-max-ips from 8 to 16, this increases the
 1693 	  number of interfaces you can specify in nsd.conf to listen to.
 1694 
 1695 19 Aug 2014: Wouter
 1696 	- Remove .LP after .SH in man pages.
 1697 
 1698 7 Aug 2014: Wouter
 1699 	- Fix for process swap of main and reload, reload failure from the
 1700 	  pipe is acted on, and reload fail not cause nsd to shutdown, also
 1701 	  ignore sigchlds from the servermain in reload, that would cause
 1702 	  EINTR to break file reads.
 1703 	- trunk has version 4.1.
 1704 
 1705 5 Aug 2014: Wouter
 1706 	- Fix #600: document that provide-xfr provides AXFR and not IXFR.
 1707 	- remove program group fix, because it is not needed.
 1708 	- Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
 1709 	  that keep track of all past process parents, or leak memory
 1710 	  for them.  Fix makes it so there is no very deep string of
 1711 	  process parents.
 1712 	  The reload process is now the process parent of servermain.  That
 1713 	  makes signals for children arrive at the reload, and servermain
 1714 	  has to use closed pipes to detect that children have exited.
 1715 
 1716 1 Aug 2014: Wouter
 1717 	- Set program group on main process and its child processes, and
 1718 	  kill them on a reload.
 1719 
 1720 20 July 2014: Wouter
 1721 	- Fix endian.h include for OpenBSD.
 1722 
 1723 15 July 2014: Wouter
 1724 	- Fix -O3 compile flag to -O2 to avoid miscompilations.
 1725 	- Allow user to override the -g -O2 CFLAGS in ./configure.
 1726 
 1727 11 July 2014: Wouter
 1728 	- fix strptime implicit declaration error on OpenBSD.
 1729 
 1730 9 July 2014: Wouter
 1731 	- removed unnecessary arc4random_uniform.
 1732 
 1733 8 July 2014: Matthijs
 1734 	- fake-rfc2553 patch (thanks Benjamin Baier).
 1735 
 1736 8 July 2014: Wouter
 1737 	- wait and reap processes that are not part of the process group.
 1738 
 1739 7 July 2014: Wouter
 1740 	- Code review fixup from NSD3.
 1741 
 1742 30 Jun 2014: Wouter
 1743 	- Fix #590: rrl log does not print wildcard as a star but escaped.
 1744 	- Fix #591: rrl log messages at verbosity level 1.
 1745 	  (If that does not work for everyone, we need rrl-log: yesno option).
 1746 
 1747 27 Jun 2014: Wouter
 1748 	- Fixup rr-test test so that it does not fail on the #553 string.
 1749 
 1750 17 Jun 2014: Matthijs
 1751 	- Fix #587: Default value for statistics is 0.
 1752 	- Remove the shift-reduce conflicts from the bug#553 fix.
 1753 
 1754 5 Jun 2014: Wouter
 1755 	- Fix roundrobin cornercase for truncated packets.
 1756 	- round-robin: yesno in nsd.conf enabled round robin rotation.
 1757 
 1758 28 May 2014: Wouter
 1759 	- Fix #585: yylex_destroy missing, cannot compile on RHEL 5.x.
 1760 	- Fix #583: Round-robin for records in the Answer section.
 1761 
 1762 22 May 2014: Wouter
 1763 	- Fix zonefile parse with no whitespace before semicolon comments.
 1764 
 1765 16 May 2014: Wouter
 1766 	- xfrd reaps children on a timer as well, similar to server_parent.
 1767 
 1768 8 May 2014: Wouter
 1769 	- Fix #564: nsd-checkzone tool to check zonefile correctness.
 1770 
 1771 7 May 2014: Wouter
 1772 	- Fix #577: makefile incorrectly installed manpages from srcdir.
 1773 
 1774 30 April 2014: Wouter
 1775 	- Fix that xfrd reaps all children on every eventloop, because some
 1776 	  exited reloads may attach here and need reaping, also if the signal
 1777 	  is lost.
 1778 
 1779 23 April 2014: Wouter
 1780 	- Fix progress printout for very large zones (numeric overflow).
 1781 
 1782 10 April 2014: Wouter
 1783 	- Fix write_socket return value check in server.c (Thanks Brad Smith,
 1784 	  Mark Kettenis).
 1785 
 1786 8 April 2014: Wouter
 1787 	- nsd-control addzone reports if zone already exists.
 1788 
 1789 7 April 2014: Wouter
 1790 	- Fix #571: unused variable and incompatible pointer warnings when
 1791 	  compiled on a system without INET6.
 1792 
 1793 27 March 2014: Wouter
 1794 	- Fix delete or rename of a lot of zones and make it take a
 1795 	  non-enormous time.  Database compaction is deferred.
 1796 	- Speed up deletion of zone contents a lot, (56s to 1s), speeds up
 1797 	  delete, rename and AXFR for zones.  Defer emptynonterminal checks.
 1798 	- Better example config in nsd.conf manual page.
 1799 	- log-time-ascii option, default yes, with readable timestamp in log.
 1800 
 1801 25 March 2014: Wouter
 1802 	- nsd shuts down during init process if given signal.
 1803 	- shorter logging for zone transfer fail rcodes.
 1804 
 1805 24 March 2014: Wouter
 1806 	- include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
 1807 	- Fix print filename of encompassing config file on read failure.
 1808 
 1809 21 March 2014: Wouter
 1810 	- Fix bug in nodatabase mode with ixfrs that change nsec3param
 1811 	  (Thanks Anand Buddhdev).
 1812 	- Changed maxbackoff for no-content secondary zones from 4h to 24h.
 1813 	- nocontent zones are checked on startup, but continue backoff
 1814 	  from stored xfrd.state values.
 1815 
 1816 19 March 2014: Wouter
 1817 	- made database: "" set the 3600 default for zonefileswrite only
 1818 	  if it is also at its default, so that user settings override.
 1819 	- Unit test for zonefiles-write.
 1820 	- Write xfrd.state for nodb mode again.  Disable xfrd.state with
 1821 	  xfrdfile: "" in config.  Does not check slave zone if state is
 1822 	  same as last time on startup.
 1823 	- Fixed shutdown message sporadically not printed on exit.
 1824 	- Documented zonefile %s syntax in nsd.conf man page.
 1825 	- Fix manpage to put colon after zonefiles check and write.
 1826 	- Change from 'Zone" to "zone" with ".. serial .. is updated" log
 1827 	  message.
 1828 
 1829 18 March 2014: Wouter
 1830 	- unit test for nodb mode.
 1831 	- Speed up zone write (.nl zonefile 30% faster).
 1832 	  The memory alloc-dealloc in print_rr has been moved to print_rrs.
 1833 	- (from 3.2), fix for #553 and for other TXT string syntax.
 1834 	- in nodb mode, xfrd.state is not written out, because the zones
 1835 	  are refreshed upon next startup anyway, so keeping timers and state
 1836 	  is unnecessary.
 1837 	- zonefiles-write option in nsd.conf, enabled when database is "".
 1838 	  The server writes changed zonefiles to disk every hour.
 1839 
 1840 17 March 2014: Wouter
 1841 	- Speed up zone parsing (.nl reads 40% faster).
 1842 	  The rrtype_from_string routine is called often, optimised it.
 1843 
 1844 14 March 2014: Wouter
 1845 	- tag 4.0.3
 1846 	- trunk has 4.0.4 in development.
 1847 	- database: "" starts without mmap of database.  Less memory is used,
 1848 	  zones are read from text zonefile.
 1849 
 1850 13 March 2014: Wouter
 1851 	- Fix nsd.db unclean close check.  Previous databases are considered
 1852 	  unclean by the code and are created anew.
 1853 	- Adds nsd.db larger than 400Tb check for sanity. Also test if
 1854 	  filesize as documented in the file is correct.
 1855 	- nsd waits for tasks to complete on stop, prevents nsd.db corruption.
 1856 	- fix to not delete tmpdir too early in shutdown process.
 1857 
 1858 12 March 2014: Wouter
 1859 	- tag 4.0.2
 1860 	- trunk has 4.0.3 in development.
 1861 	- disabled udb checking functionality that made it very slow,
 1862 	  this was enabled when enable-checking was turned on.
 1863 
 1864 27 February 2014: Wouter
 1865 	- tag 4.0.2rc1
 1866 
 1867 26 February 2014: Wouter
 1868 	- Fix that NSD will delete and recreate not-clean-closed databases.
 1869 
 1870 20 February 2014: Wouter
 1871 	- Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only
 1872 	check serial).
 1873 
 1874 18 February 2014: Wouter
 1875 	- Fix leak of zone name after zonefile read.
 1876 	- Fix malloc too large that would be leaked in the radix tree.
 1877 
 1878 14 February 2014: Wouter
 1879 	- configure change for easier compile on Minix.
 1880 
 1881 10 February 2014: Wouter
 1882 	- Fix #552: zonefile loads on nsd-control reconfig when the name
 1883 	  of the file has changed.
 1884 
 1885 7 February 2014: Wouter
 1886 	- Fix #551: change Regent to Copyright holder in the LICENSE,
 1887 	  to match the definition on opensource.org for the BSD License.
 1888 
 1889 3 February 2014: Wouter
 1890 	- Disabled recvmmsg and sendmmsg usage by default because kernel
 1891 	  versions have implementation issues: ipv6 ignored, security issues.
 1892 	- Detect libevent2 install automatically by configure, and use
 1893 	  event2 header files if necessary.
 1894 	- Fixup link with lib/event2 subdir.
 1895 
 1896 30 January 2014: Wouter
 1897 	- Fix expired zones to give SERVFAIL, also when parent zone loaded.
 1898 
 1899 27 January 2014: Wouter
 1900 	- tag 4.0.1.
 1901 	- trunk is 4.0.2 in development.
 1902 	- rcode REFUSED for queries to non-hosted zones.
 1903 	- documented nsd-control zonestatus output in nsd-control manpage.
 1904 	- remove mention of nsdc from nsd-checkconf manpage.
 1905 
 1906 21 January 2014: Wouter
 1907 	- tag 4.0.1rc2
 1908 
 1909 20 January 2014: Wouter
 1910 	- Fix #546:  output format errors in nsd_munin_ (Thanks Tom Hendrikx).
 1911 
 1912 17 January 2014: Wouter
 1913 	- Fix type CAA.
 1914 	- Fix type EUI48.
 1915 	- nsid can be set with "ascii_somestring" in ascii.
 1916 	- Fix printout of high-chars in TXT on NetBSD.
 1917 
 1918 16 January 2014: Wouter
 1919 	- Unit test for WKS failure.
 1920 
 1921 15 January 2014: Wouter
 1922 	- tag 4.0.1rc1
 1923 
 1924 13 January 2014: Wouter
 1925 	- Check if configure in srcdir collides with outofdir build.
 1926 
 1927 10 January 2014: Wouter
 1928 	- Fix that chroot is removed from zonefile names (for absolute names).
 1929 
 1930 9 January 2014: Wouter
 1931 	- Fix that bad IXFR updates do not result in double SOA records,
 1932 	  and that an AXFR is started (attempted) when the zone state seems
 1933 	  to be inconsistent with the master's zone state.
 1934 
 1935 8 January 2014: Matthijs
 1936 	- Bugfix #542: Match RRSIG TTL with SOA TTL in negative response.
 1937 
 1938 7 January 2014: Wouter
 1939 	- Fix xfrd when zone transfer TCP contains zero length packets.
 1940 	- Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
 1941 	  because AXFRs overwrote nsec3 administration in the child zone.
 1942 
 1943 2 January 2014: Wouter
 1944 	- Log ip address for sendto and sendmmsg failures.
 1945 
 1946 4 December 2013: Matthijs
 1947 	- Support for CAA RRtype (RFC 6844).
 1948 
 1949 26 November 2013: Wouter
 1950 	- Fix segfaults after read of zones with rr type WKS from zonefile.
 1951 	- Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
 1952 
 1953 25 November 2013: Wouter
 1954 	- (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
 1955 
 1956 11 November 2013: Wouter
 1957 	- Fix bug#534: IXFR query loop over UDP for zones that are unchanged.
 1958 
 1959 11 November 2013: Matthijs
 1960 	- EUI48 and EUI64 is now RFC 7043
 1961 
 1962 5 November 2013: Wouter
 1963 	- Accept interface: as an alternative for ip-address: for
 1964 	  consistency with unbound.conf syntax.
 1965 
 1966 29 October 2013: Wouter
 1967 	- tag for 4.0.0 release.
 1968 	- trunk has 4.0.1 in development, for bug fixes.
 1969 
 1970 24 October 2013: Wouter
 1971 	- Fixup zone change code.
 1972 	- tag 4.0.0rc3.
 1973 
 1974 21 October 2013: Matthijs
 1975 	- Initialize xfrd zone when changing zone from master to slave
 1976 	  and delete xfrd zone when changing zone from slave to master.
 1977 
 1978 14 October 2013: Wouter
 1979 	- tag 4.0.0rc2.
 1980 
 1981 14 October 2013: Matthijs
 1982 	- Additional log messages with reason why RR to be deleted cannot be
 1983 	  found.
 1984 
 1985 14 October 2013: Wouter
 1986 	- Fix for zone transfer that has different-cased RRSIG signer names
 1987 	  or NSEC next-owner names.
 1988 
 1989 9 October 2013: Wouter
 1990 	- tsig errors on incoming tsig print key name and source IP of query.
 1991 
 1992 8 October 2013: Wouter
 1993 	- Update documentation for nsd -d option.
 1994 
 1995 7 October 2013: Wouter
 1996 	- Fix mini_event ev_once flag to be prettier (review comments Yuri).
 1997 	- tag 4.0.0rc1 recreated.
 1998 
 1999 4 October 2013: Wouter
 2000 	- Fix bug where if you do not have flex, and then install flex, it
 2001 	  would not make without a re-untar of the source.
 2002 
 2003 3 October 2013: Wouter
 2004 	- Review changes from Matthijs.
 2005 	- doc/README updated, 'nsdc' is now removed.
 2006 
 2007 1 October 2013: Wouter
 2008 	- Review commits from Matthijs.
 2009 	- doc/UPGRADING updated, review Yuri.
 2010 
 2011 30 September 2013: Wouter
 2012 	- tag 4.0.0rc1
 2013 	- updated doc/RELNOTES
 2014 
 2015 19 September 2013: Wouter
 2016 	- configure --disable-recvmmsg for compat with older Linux kernels,
 2017 	  by default it autodetects support in the kernel on the buildmachine.
 2018 
 2019 20 Aug 2013: Wouter
 2020 	- Fix time at 2038, uint32s changed to time_t, support 64bit time_t.
 2021 
 2022 19 Aug 2013: Wouter
 2023 	- Fix use of 32bit time, for 2038, thanks to Theo de Raadt for patch.
 2024 
 2025 13 Aug 2013: Wouter
 2026 	- Bugfix#518 Incorrect RRL prefix length option names in nsd.conf
 2027 	  man page from Ville Mattila.
 2028 
 2029 9 Aug 2013: Wouter
 2030 	- Fix that xfrd, and nsd-control, does not stop responding when reload
 2031 	  errors out.  The pid is sent like it should by server_main.
 2032 	- Fix that EOF in quoted string error does not cause reload to exit.
 2033 	- Fixup errors from the stack code checker.
 2034 
 2035 6 Aug 2013: Wouter
 2036 	- Removed use of random when arc4random is available.  Thus, random
 2037 	  and srandom are then not linked with the executable.
 2038 
 2039 16 Jul 2013: Wouter
 2040 	- Fix segfault with no logfile and chroot (Thanks Patrik Lundin).
 2041 
 2042 15 Jul 2013: Wouter
 2043 	- beta 5 tag.
 2044 	- trunk has beta6 named in configure.
 2045 
 2046 9 Jul 2013: Wouter
 2047 	- unlink xfr file if transfer is stopped, timeouted or interrupted.
 2048 	  And unlink xfr file in progress when the zone is deleted.
 2049 
 2050 8 Jul 2013: Wouter
 2051 	- Increase tcpbacklog default to 256 (silently capped to 128 on BSD).
 2052 	  For remote control keep it at 16, it has less TCP load.
 2053 	  It does not actually increase TCP performance (some except), but
 2054 	  reduces connection loss when there is a spike in TCP connections.
 2055 
 2056 5 Jul 2013: Wouter
 2057 	- nsd-mem stores temp files in current dir because /tmp is too small. 
 2058 	- printout pct parsed, read, nsec3 and written every 100.000 elements
 2059 	  and after 5 seconds.  For big zones.
 2060 
 2061 3 Jul 2013: Wouter
 2062 	- region-allocator has list of large allocations, so delete is in O(1).
 2063 	- recursive readroutine for speedup of nsd.db reads (30%).
 2064 	- udb-inspect prints type summary of nodes in nsd.db.
 2065 
 2066 28 Jun 2013: Matthijs
 2067 	- Update tmp serial in xfr checking.
 2068 
 2069 28 Jun 2013: Wouter
 2070 	- nsd.db 12% smaller, no nsec3 hash storage.  Also ups udb version
 2071 	  because of the format change.  printout udb write complete for
 2072 	  debug.
 2073 	- Fix warning in labellength 0 code.
 2074 
 2075 27 Jun 2013: Matthijs
 2076 	- Better XFR checking, fallback to AXFR (if allowed) if three
 2077 	  malformed XFR packets have been seen.
 2078 	- zonec: Don't crash on domain names with label length 0.
 2079 
 2080 25 Jun 2013: Matthijs
 2081 	- Rename --enable-eui-rrtypes to --enable-draft-rrtypes.
 2082 
 2083 25 Jun 2013: Wouter
 2084 	- acx_nlnetlabs.m4 update, --disable-flto.
 2085 
 2086 20 Jun 2013: Matthijs
 2087 	- Use IPV6 minimum MTU settings with TCP to reduce failures that
 2088 	  are caused by delays in learning working PMTU when communicating
 2089 	  through a tunnel.
 2090 	- Improved RRL logging: also print triggering query src addr and qtype
 2091 	  (thanks Klaus Darilion).
 2092 	- Merge some minor stuff from NSD3.2
 2093 
 2094 18 Jun 2013: Matthijs
 2095 	- Add rrl-slip config option (thanks Stephane Bortzmeyer).
 2096 	- Add rrl-ipv{4,6}-prefix-length config option.
 2097 	- Bug #496: Support for EUI48 and EUI64 RR types.
 2098 
 2099 14 Jun 2013: Wouter
 2100 	- Optimizations: -O3 if possible (user can override CFLAGS), udp
 2101 	  buffers are set to 1m by default (if socket options exist),
 2102 	  use recvmmsg and sendmmsg, or only recvmmsg, or recvfrom.
 2103 
 2104 11 Jun 2013: Wouter
 2105 	- Fix memory leak in zone parser for txt record (since the large
 2106 	  number of txt subsections fix).
 2107 	- Fix zone parser allocations to be in db region.
 2108 	- nsd-mem prints advice
 2109 
 2110 5 Jun 2013: Wouter
 2111 	- Fix segfault on repeated reconfigs, double free of zone apex name.
 2112 
 2113 4 Jun 2013: Wouter
 2114 	- Remove duplicate zlfile variable from options structure.
 2115 
 2116 30 May 2013: Wouter
 2117 	- Fix nsd-mem for printout of values above 4G.
 2118 
 2119 16 May 2013: Wouter
 2120 	- Patch from Lukas Wunner that makes chroot more consistent.
 2121 	  Make all paths absolute with the chrootdir in front, or use
 2122 	  an absolute zonesdir with other patsh relative to that.
 2123 
 2124 3 May 2013: Wouter
 2125 	- Fix race on exit of nsd, for restarts, so that the pidfile-pid
 2126 	  process waits until port53 has been closed before exiting.
 2127 	- update acx_nlnetlabs.m4 to v23, sleep w32 fix.
 2128 
 2129 29 April 2013: Wouter
 2130 	- Remove unused pointer and fixup chroot include for trail slash.
 2131 
 2132 26 April 2013: Wouter
 2133 	- Patch from Lukas Wunner that makes nsd.conf include files work
 2134 	  inside chroot/etc environments on repattern and reconfig.
 2135 
 2136 25 April 2013: Matthijs
 2137 	- New config option "ip-transparent:", to bind to non local addresses
 2138 	  (thanks Arjen Zonneveld).
 2139 	- RRtypes ASFDB, RP, RT should not compress dnames (thanks Peter
 2140 	  van Dijk).
 2141 
 2142 19 April 2013: Wouter
 2143 	- own snprintf, fix use of snprintf return value (in debug print).
 2144 
 2145 18 April 2013: Wouter
 2146 	- fix bug #491: pick program name (0th argument) as syslog identity.
 2147 
 2148 9 April 2013: Wouter
 2149 	- Bug #494: Exit with return code 1 if socket code fails. (from 3.2)
 2150 	- Fix B64_NTOP replacement definitions in configure.ac.
 2151 
 2152 26 March 2013: Wouter
 2153 	- update lookup3.c with better endianness detection.
 2154 
 2155 25 March 2013: Wouter
 2156 	- faster nsec3 updates.
 2157 	- Fixup contrib/bug390.patch for 4.0.0b4.
 2158 	- remove leak of nsec3.
 2159 	- allocate radixtree in region for small (5%) total savings and
 2160 	  about 15% savings in the radixtree itself (due to many small alloc
 2161 	  savings in region).
 2162 
 2163 22 March 2013: Wouter
 2164 	- use less memory for non-nsec3, nsec3tree.
 2165 
 2166 18 March 2013: Wouter
 2167 	- update nsd-mem with pretty printout and RRL count.
 2168 
 2169 14 March 2013: Wouter
 2170 	- Fix memory statistics in nsd_munin_.
 2171 
 2172 8 March 2013: Wouter
 2173 	- nsd-mem tool initial commit.
 2174 
 2175 7 March 2013: Wouter
 2176 	- notify information is logged at correct verbosity level, 1.
 2177 
 2178 5 March 2013: Matthijs
 2179 	- Add hash to rrl bucket
 2180 
 2181 5 March 2013: Wouter
 2182 	- Fixup the growth and shrinkage of nsd.db.  This should use less
 2183 	  calls to remap and change the file and mmap size.
 2184 
 2185 15 February 2013: Wouter
 2186 	- Fix compile on bigendian netbsd alpha.
 2187 	- Fixup tests for older dig (check if +noedns option is supported)
 2188 
 2189 11 February 2013: Matthijs
 2190 	- Fix outgoing-interface: Don't fail if family is IPv6 but
 2191 	  only IPv4 outgoing-interface is set, or vice versa.
 2192 
 2193 11 February 2013: Wouter
 2194 	- fix tcp zonetransfer pipeline lookup function.
 2195 	- remove compiler warning for memset from tsig read.
 2196 
 2197 7 February 2013: Wouter
 2198 	- detect endianness in lookup3 on BSD, patch from Brad Smith.
 2199 	- nsd-control verbosity prints out verbosity level without argument.
 2200 	- nsd-control status prints out ratelimit if ratelimit is enabled.
 2201 
 2202 5 February 2013: Wouter
 2203 	- Fix that old zonefile does not override newer AXFR for slave zones.
 2204 	- Nicer printout of notify.
 2205 	- beta4
 2206 
 2207 4 February 2013: Wouter
 2208 	- Fix AXFR of NSEC3 slave zone.
 2209 
 2210 1 February 2013: Wouter
 2211 	- Less printout of 'bad transfer'.
 2212 
 2213 31 January 2013: Wouter
 2214 	- Fix that nsec3 zones are precompiled when read from udb.  This
 2215 	  caused assertion failures.
 2216 	- Fix is_apex flag for zones read from udb.
 2217 
 2218 29 January 2013: Matthijs
 2219 	- RRL documented in nsd.conf.sample
 2220 
 2221 29 January 2013: Wouter
 2222 	- printout log less verbosely, not every axfr packet.
 2223 	- remove printout of "bad transfer" to the log for notimpl.
 2224 	- fixup tests for new netstat and new netcat.
 2225 
 2226 25 January 2013: Wouter
 2227 	- fix gcc warning, do not use uninit value for rng init.
 2228 	- fix zonefiles-check: entry in nsd.conf
 2229 	- remove -fwhole-program gcc flag usage.  We cannot reliably detect
 2230 	  if it works without failure.
 2231 
 2232 23 January 2013: Wouter
 2233 	- beta3
 2234 
 2235 22 January 2013: Wouter
 2236 	- Fix time calculation of zone transfer.
 2237 	- log ip address with tcp failure.  
 2238 
 2239 21 January 2013: Wouter
 2240 	- Improve tabs in sample nsd.conf for different tabsizes.
 2241 	- Fix segv if xfrdir does not exit.
 2242 	- create xfrdir on make install (does not remove on make uninstall,
 2243 	  because this could be /tmp).
 2244 	- do not leave task files in /tmp if nsd fails to startup because
 2245 	  of file permissions.
 2246 	- do-ip4 and do-ip6 nsd.conf options just like unbound.
 2247 	- fixed testset for dig9 default with edns.
 2248 
 2249 18 January 2013: Wouter
 2250 	- Fix configure for gentoo gcc and headers.
 2251 	- List libevent in README.
 2252 	- Tabs and spaces nicer in nsd.conf.sample.
 2253 	- Fix spurious assertion failure for some rrl blocks.
 2254 
 2255 16 January 2013: Wouter
 2256 	- Added zonefiles-check option, default yes, check mtimes of zone files
 2257 	  on sighup and startup (from Robin Hack).
 2258 
 2259 15 January 2013: Wouter
 2260 	- documented that the _implicit_ pattern names are used internally.
 2261 
 2262 10 January 2013: Wouter
 2263 	- updated RELNOTES.
 2264 	- applied patch from Robin Hack to remove double pid file truncation.
 2265 	- repattern is called reconfig (because most config options are
 2266 	  picked up, except for superuser options (chroot, logfile, port)).
 2267 	- document that the zonefile attribute can be empty.
 2268 
 2269 9 January 2013: Wouter
 2270 	- 4.0.0b2 is beta2 version tag.
 2271 
 2272 8 January 2013: Matthijs
 2273 	- Merge changes from 3.2.15 with trunk:
 2274 		* Update docs: CREDITS, NEW-CFG-OPTION, REQUIREMENTS,
 2275 		  RELNOTES, TODO
 2276 		* Update dname_test.tpkg test.
 2277 		* TSIG init only fails if no digests at all can be found.
 2278 		* Remove unused tsig_get_algorithm_by_id code (was used by
 2279 		  nsd-xfer).
 2280 		* Fix some fd leaks.
 2281 		* Bug #485: Fallback to DEFAULT_TTL if MSB is set.
 2282 		* Fix RCODE when xNAME loop final answer not exist to NXDOMAIN.	
 2283 
 2284 8 January 2013: Wouter
 2285 	- Fix make outside of source directory.
 2286 
 2287 7 January 2013: Wouter
 2288 	- fixed uninit variable for empty zone axfr request
 2289 	- fixed alloc of acl options for config zones so they can be deleted.
 2290 	- fixed that pattern name is copied, so that patterns stay the same.
 2291 	- repattern also rereads the zones in the config file and applies that
 2292 	  to the running server.
 2293 
 2294 21 December 2012: Wouter
 2295 	- --with-logfile sets the logfile inside the example documentation.
 2296 	- Fixed addzone and delzone inside chroot (thanks Will Pressly).
 2297 
 2298 19 December 2012: Wouter
 2299 	- Fixup for libevent-2.1.2.
 2300 
 2301 18 December 2012: Wouter
 2302 	- makedist makes sha256 for tarballs.
 2303 	- nsd-control start runs an absolute path to start sbin/nsd.
 2304 
 2305 17 December 2012: Wouter
 2306 	- Fix for use with libev (no use of event.ev_flags).
 2307 
 2308 12 December 2012: Wouter
 2309 	- 4.0.0b1 is beta1 version.
 2310 
 2311 11 December 2012: Matthijs
 2312 	- Better ILNP RR parsing (thanks Stephane Bortzmeyer).
 2313 
 2314 11 December 2012: Wouter
 2315 	- fix libevent=no signals on Solaris.
 2316 	- Fix handle of activated zones from timeout event.
 2317 	- contrib/nsd_munin_ updated with memory lookup for BSD.
 2318 
 2319 10 December 2012: Wouter
 2320 	- implement --with-libevent=no.
 2321 
 2322 10 December 2012: Matthijs
 2323 	- Bug #483: Better error messages for TSIG errors.
 2324 	- RFC 2845: If BADKEY or BADSIG, RCODE should be NOTAUTH.
 2325 	  Also, continue TSIG verification if NOTAUTH.
 2326 
 2327 7 December 2012: Wouter
 2328 	- stable pidfile, xfrd is process leader and forks server-parent.
 2329 
 2330 5 December 2012: Wouter
 2331 	- NSD4_imp_6 tag.
 2332 	- trunk has imp_7 implementation.
 2333 
 2334 4 December 2012: Wouter
 2335 	- NSD-RRL documented in manpage.
 2336 
 2337 3 December 2012: Wouter
 2338 	- Fixup exit of server-child while notifies are incoming.
 2339 
 2340 28 November 2012: Wouter
 2341 	- RRL implements classification type RRSIG.
 2342 
 2343 26 November 2012: Wouter
 2344 	- Fix to make nsd.udb portable between 32bit and 64bit machines.
 2345 	- Fix to make udb mmap work for FreeBSD8 when it grows significantly.
 2346 
 2347 23 November 2012: Wouter
 2348 	- Fix compiler warnings and fix blocking pipes.
 2349 	- default tcp-count set to 100.
 2350 
 2351 21 November 2012: Wouter
 2352 	- Implement rrl log of unblock for collision.
 2353 	- imported TLSA and ILNP support from NSD3.
 2354 
 2355 19 November 2012: Wouter
 2356 	- Fix bug 480: libevent use when tcp-count is hit caused hang (in NSD4).
 2357 
 2358 9 November 2012: Wouter
 2359 	- Log when NSD-RRL stops a stream from being blocked.
 2360 
 2361 8 November 2012: Willem
 2362 	- Fix AXFR. Loop through the zone to transfer only.
 2363 
 2364 2 November 2012: Wouter
 2365 	- Fix bug 478: declaration after statement (for gcc 2.95).
 2366 
 2367 1 November 2012: Wouter
 2368 	- Fix default settings for RRL.
 2369 
 2370 30 October 2012: Wouter
 2371 	- review fixup of RRL SLIP response.
 2372 	- RRL uses dev/random at start, nonRRL does not.
 2373 
 2374 26 October 2012: Wouter
 2375 	- nsd-control repattern also changes rrl-ratelimit and whitelist limit.
 2376 
 2377 17 October 2012: Wouter
 2378 	- Fix alignment problem in zone transfer pipeline code.
 2379 	- Fix random generator generating negative.
 2380 	- Fix udb radtree strspace creation bug.
 2381 
 2382 15 October 2012: Wouter
 2383 	- Fix activated zone does not interrupt transfer.
 2384 	- Log of connection failure for zone transfer is neater.
 2385 
 2386 12 October 2012: Wouter
 2387 	- Fix invalid time argument in nsd control (for OpenBSD).
 2388 
 2389 11 October 2012: Wouter
 2390 	- Fix build on OpenBSD (Thanks Oliver Peter).
 2391 	- tpkg for RRL.
 2392 
 2393 10 October 2012: Wouter
 2394 	- implement nsd-checkconf option use of rrl-whitelist.
 2395 
 2396 9 October 2012: Wouter
 2397 	- with --enable-ratelimit you enable ratelimiting, with verbosity 2
 2398 	  it logs what is ratelimited for operational inspection.
 2399 	- unit test for rrl.
 2400 	- rrl uses mmap to save state across reloads.
 2401 	- rrl enum and u16 flags (dnskey type).
 2402 	- rrl whitelist and config.
 2403 
 2404 8 October 2012: Wouter
 2405 	- Sync with unbound lookup3, has raninit value.
 2406 
 2407 5 October 2012: Wouter
 2408 	- fix bug with event loop in zone transfer pipeline.
 2409 	- close xfrd_sock_p in server_child because otherwise due to use of
 2410 	  kqueue, it gets a broken pipe when that process exits (on FreeBSD).
 2411 
 2412 4 October 2012: Wouter
 2413 	 - Fixup no use of internals ev_flags of libevent.
 2414 
 2415 1 October 2012: Wouter
 2416 	- fix xfrd tcp skip.
 2417 
 2418 21 September 2012: Wouter
 2419 	- tzset before chroot for correct timezone (from Camiel Dobbelaar).
 2420 	- pipeline support for AXFR and IXFR tcp queries.
 2421 
 2422 11 September 2012: Wouter
 2423 	- writev support for TCP.
 2424 
 2425 28 August 2012: Wouter
 2426 	- TXT records with components longer than 255 fail to parse,
 2427 	  but without segfault, it continues processing with non NULL value.
 2428 
 2429 27 August 2012: Wouter
 2430 	- libevent in server_child.
 2431 
 2432 21 August 2012: Matthijs
 2433 	- Fix bug#464: Conditionally define MAXHOSTNAMELEN
 2434 
 2435 20 August 2012: Wouter
 2436 	- Fix hang on exit in xfrd.
 2437 	- optimized socket counts for zone transfer speed.
 2438 
 2439 13 August 2012: Wouter
 2440 	- Fix xfrd libevent events.
 2441 
 2442 10 August 2012: Wouter
 2443 	- libevent in xfrd.
 2444 
 2445 26 July 2012: Yuri
 2446 	- Prioritize notify sender for requesting XFR.
 2447 	  (thanks Ilya Bakulin)
 2448 
 2449 19 July 2012: Willem
 2450 	- Fix for VU#624931 CVE-2012-2978: NSD denial of service 
 2451 	  vulnerability from non-standard DNS packet from any host
 2452 	  on the internet.
 2453 	  http://www.nlnetlabs.nl/downloads/CVE-2012-2978.txt
 2454 
 2455 18 July 2012: Wouter
 2456 	- Fix bug#460: man page correction - identity.
 2457 
 2458 9 July 2012: Wouter
 2459 	- delete temporary transfer files on exit of xfrd and reload.
 2460 	- when tasks are applied, reload checks if it must exit between
 2461 	  tasks, so that it can quickly exit when NSD is told to quit.
 2462 	- fix bug in apply_xfr that must use an udb_ptr because it shifts
 2463 	  when new allocations are made.
 2464 
 2465 6 July 2012: Wouter
 2466 	- add xfrdir: "/tmp" option and configure --with-xfrdir="/tmp".
 2467 	  The nsd.task files and a subdirectory for zone transfers are
 2468 	  created there.
 2469 
 2470 2 July 2012: Wouter
 2471 	- fix checkconf unit test and add test for backwards compatibility
 2472 	  for difffile: "x" statement.
 2473 
 2474 29 June 2012: Wouter
 2475 	- Implemented /tmp/nsd.xfr.xxx/ to replace ixfr.db.  So that nsdc
 2476 	  patch is no longer needed.
 2477 
 2478 8 June 2012: Wouter
 2479 	- Fix tpkg test cutest_qroot and rr-test for printout of algorithms
 2480 	  as numbers, and copy of DO flag to the answer.
 2481 	- pick up fd fix from 3_2 branch: Some more fd >= 0 to fd != -1 fixes
 2482 
 2483 31 May 2012: Matthijs
 2484 	- Sync with 3.2 branch
 2485 
 2486 24 February 2012: Wouter
 2487 	- Fix for qtype ANY for a wildcard domain in NSEC signed zone.
 2488 
 2489 9 February 2012: Wouter
 2490 	- Update acxnlnetlabs.m4 version 21, fixed MEMCMP_BROKEN #undef line.
 2491 
 2492 23 January 2012: Wouter
 2493 	- remove clang security warning about %n in format string.
 2494 
 2495 20 January 2012: Wouter
 2496 	- Fix bug #430: segfault when MAX_INTERFACES set to more than 65K.
 2497 	- Fix configure for OpenIndiana sunos 5.11, acx_nlnetlabs.m4 update.
 2498 
 2499 12 January 2012: Matthijs
 2500         - Fix bug #421: truncate pidfile on shutdown, before unlink.
 2501 
 2502 10 January 2012: Wouter
 2503 	- removed unused variables.
 2504 
 2505 10 November 2011: Wouter
 2506 	- acxnlnetlabs.m4 updated to version 16, better lto check (a.out drop).
 2507 
 2508 3 November 2011: Wouter
 2509 	- fflush zonelistfile after zone add or delete.
 2510 
 2511 1 November 2011: Wouter
 2512 	- Fix -flto detection for llvm compiler on Lion.
 2513 
 2514 10 October 2011: Matthijs
 2515 	- Don't clear the AA bit if there is an authoritative CNAME in the
 2516 	  answer section (as shown in RFC 1034, Section 6.2.7, 2nd example).
 2517 
 2518 10 October 2011: Wouter
 2519 	- squelch EPIPE when writing AXFR, enable with verbosity 2.
 2520 
 2521 26 September 2011: (Matthijs, from NSD3_2 branch)
 2522 	- Copy the DO bit to the response.
 2523 	- Don't return SERVFAIL on a domain that looks like a NSEC3
 2524 	  domain but is actually a empty non-terminal.
 2525 
 2526 19 August 2011: Wouter
 2527 	- Fix segfault if no logfile is used.
 2528 
 2529 5 August 2011: Wouter
 2530 	- Fix make from repeating action already taken.
 2531 	- Fix compile without openssl.
 2532 
 2533 3 August 2011: Wouter
 2534 	- silence 'Broken pipe' messages in log (visible with verbosity 2).
 2535 	- fix makedist.sh for removal of patch, notify, xfer. new nsd-control.
 2536 	- tag 4.0.0-imp-5 created.
 2537 	- trunk is 4.0.0-imp-6 under development.
 2538 	- added nsd_munin_ script for statistics monitoring to contrib.
 2539 
 2540 2 August 2011: Wouter
 2541 	- fix compile on Ubuntu 11.04 systems, detects cc system header issue.
 2542 
 2543 1 August 2011: Wouter
 2544 	- fix checkconf test for remote control options.
 2545 	- fix warning on Ubuntu 10.04, fix autoconf 2.68 warning on NetBSD.
 2546 
 2547 29 July 2011: Wouter
 2548 	- zones with no zonefile are not written to text (assumes you can
 2549 	  get AXFR and IXFR for the contents).  They are stored in nsd.db.
 2550 	- test for repattern.
 2551 
 2552 28 July 2011: Wouter
 2553 	- nsd-control repattern reads TSIG and pattern configuration.
 2554 
 2555 25 July 2011: Wouter
 2556 	- fixed tests for removed tools from nsd, with replacements.
 2557 	  replaced nsd-patch with nsd-control write. replaced nsd-notify with
 2558 	  ldns-notify. replaced nsd-xfer with dig -t axfr.
 2559 	- fix for xfrd restart if crashed. xfrd knows if a reload is
 2560 	  active at that time so it cannot start another one at the same
 2561 	  time.  New shortsoa track for start that does not use taskdb
 2562 	  in use by reload.  taskdb in use by crashed xfrd is recreated,
 2563 	  in case it is corrupt.  This keeps the nsd.db intact, keeps
 2564 	  reload running with its updated and keeps service from the
 2565 	  server processes active.
 2566 
 2567 22 July 2011: Wouter
 2568 	- added contrib/nsd.init (nsdc.sh that only does start,stop).
 2569 	- removed nsdc.sh, nsd-xfer, nsd-notify, nsd-patch.
 2570 	  for rc.d: contrib/nsd.init, or platform specific init script.
 2571 	  nsd-xfer: see nsd-control transfer, or force_transfer.
 2572 	  nsd-notify: see nsd-control notify.
 2573 	  nsd-patch: see (cron job to) nsd-control write.
 2574 
 2575 21 July 2011: Wouter
 2576 	- nsd-control notify, transfer and force_transfer.
 2577 	- fix for bug in write and reload zone option.
 2578 	- nsd-control zonestatus command.
 2579 
 2580 20 July 2011: Wouter
 2581 	- reload can be given optional zone argument.
 2582 	- nsd-control reopen_logfile.
 2583 	- nsd-control write changed zonefiles.
 2584 
 2585 18 July 2011: Wouter
 2586 	- Fix xfrd activation of zones to not break running zone transfers.
 2587 
 2588 13 July 2011: Wouter
 2589 	- fix that signal causes stats to be printed to log.
 2590 	- fix stats without remotecontrol.
 2591 	- ignore notify and soainfo for deleted zone, if due to race they
 2592 	  arrive after the deletion.
 2593 	- tpkg test for nsd-control, addzone and delzone
 2594 
 2595 5 July 2011: Wouter
 2596 	- fix link to ssl with FreeBSD make.
 2597 
 2598 1 July 2011: Wouter
 2599 	- fix optimize compile to link with ssl.
 2600 
 2601 29 June 2011: Wouter
 2602 	- nsd-control delzone zone.  Removes zone from zonelist.
 2603 	- stats includes number of zones.
 2604 	- RAXFR stat, which has not worked since NSD 1.2.4, reinstated.
 2605 	- print more memory statistics, for xfrd and config.
 2606 
 2607 28 June 2011: Wouter
 2608 	- nsd-control addzone zone pattern.  Adds new zone, slave or master.
 2609 
 2610 27 June 2011: Wouter
 2611 	- nsd-control stats and stats_noreset (if enabled at compile time).
 2612 	  nsd does not print statistics to logfile if period is 0.
 2613 
 2614 23 June 2011: Wouter
 2615 	- -flto check supports clang compiler.
 2616 
 2617 22 June 2011: Wouter
 2618 	- remote control, config, client, setup and status command.
 2619 	- reload nsd-control command.
 2620 	- stop nsd-control command.
 2621 	- verbosity nsd-control command.
 2622 
 2623 14 June 2011: Wouter
 2624 	- Fix to have no authority NS set processing for CNAMEs.
 2625 
 2626 9 June 2011: Wouter
 2627 	- fix bug that relptrs have to be initialized with rel_ptr_init() when
 2628 	  created and zeroed with rptr_zero before deletion.
 2629 	- tag 4.0.0-imp4 created
 2630 	- trunk is 4.0.0-imp5 under development.
 2631 
 2632 8 June 2011: Wouter
 2633 	- nsd reads the zonelist file on start.
 2634 	- updated acx_nlnetlabs.m4 to version 11.
 2635 	- configure checks size of off_t and increase region-allocator
 2636 	  alignment to 8 if it is 64bit and alignment at 4.
 2637 	- fixed bug where not all references were removed before mmap was
 2638 	  synced to another process.
 2639 
 2640 7 June 2011: Wouter
 2641 	- code to add and remove zonelist entries, and unit test.
 2642 
 2643 6 June 2011: Wouter
 2644 	- fix unit tests for mmap with TODO and removal of -f in nsd-patch.
 2645 	- zone expiry is communicated via the mmap, and not via the pipes,
 2646 	  simplifying the code significantly as well as making a large number
 2647 	  of zones more feasible.
 2648 
 2649 1 June 2011: Wouter
 2650 	- mmap used for parent-xfrd communication of tasks and task results.
 2651 	  SIGHUP is sent to xfrd so it can become a task in the normal
 2652 	  workflow. This can process about 4500 zones per second (this was
 2653 	  with lots of debug prints per zone, in debug compile). The mmaps
 2654 	  are file-backed with /tmp/ files.  They are removed on a clean exit.
 2655 	- nsd.db and tmp mmaps are created with mode 0600 for safety.
 2656 	- updated flag removed, nsd-patch always in -f force mode (-f removed)
 2657 	  and writes all zones always. Its role is taken over by task results.
 2658 
 2659 30 May 2011: Wouter
 2660 	- Fix Makefile for U in environment, since wrong U is more common than
 2661 	  deansification necessity.
 2662 
 2663 27 May 2011: Wouter
 2664 	- xfrd is forked before the database is read in, thus it does not
 2665 	  consume the memory of the database.  It can be reforked on a crash,
 2666 	  which is like the current case.  Difffile is cleaned by main process
 2667 	  and the soa serials are all sent via pipe instead of via forkmem.
 2668 
 2669 24 May 2011: Wouter
 2670 	- implemented patterns in the nsd.conf file.
 2671 	  they can be instantiated with include-pattern: x.
 2672 	  existing zone definitions keep working (backwards compatible), such
 2673 	  zones really have an implicit pattern and cannot_delete flag set.
 2674 	- work on zonelist read and storage.
 2675 
 2676 20 May 2011: Wouter
 2677 	- from NSD_3_2 branch the fix: bug if the zonefile is changed for a
 2678 	secondary but stored transfers are applied, and stop ixfr to empty.
 2679 	The zone is flagged with error, and the good zone is still in nsd.db
 2680 	for NSD4.
 2681 
 2682 17 May 2011: Wouter
 2683 	- unit test for code coverage on nsec3 ixfr.
 2684 	- tag 4.0.0-imp3 created
 2685 	- trunk is 4.0.0-imp4 under development.
 2686 
 2687 13 May 2011: Matthijs
 2688 	- Fix bug #381 - Binary escaped and transfers.
 2689 
 2690 13 May 2011: Wouter
 2691 	- Unit test nsec3 salt change and fix for sanity check of nsec3 chain.
 2692 	  pretty prints the nsec3 parameters if verbose.
 2693 
 2694 12 May 2011: Wouter
 2695 	- more unit test for nsec3 precompile changes.
 2696 	- unit test for salt change, rehash in udb fix, remove last NSEC3
 2697 	  from chain works, NSEC3PARAM RR fixed up if RR added or removed
 2698 	  from NSEC3PARAM RRset, hashtrees cleared properly, precompile clear
 2699 	  more thorough (not dependant on nsec3_conditions).
 2700 
 2701 11 May 2011: Wouter
 2702 	- fixes for nsec3 precompile code: precompile for empty nonterminals
 2703 	  created when an RR is added. If SOA removed, precompile stays
 2704 	  coherent even though domain_find_zone no longer returns correct zone.
 2705 
 2706 21 April 2011: Wouter
 2707 	- unit test and fixes in nsec3 precompile code.
 2708 
 2709 20 April 2011: Wouter
 2710 	- incremental NSEC3 precompile.
 2711 
 2712 14 April 2011: Wouter
 2713 	- remove chnum. Added numlist sorted by domain.number.
 2714 	  domains that are not used are removed.
 2715 
 2716 13 April 2011: Wouter
 2717 	- Fix is_existing flag for ENT when domain that has a shared ENT
 2718 	  is deleted by IXFR.
 2719 	- zonec can parse strings with RR in it.
 2720 	- unit test for namedb.
 2721 
 2722 8 April 2011: Wouter
 2723 	- porting complete.
 2724 	- tag 4.0.0-imp2 created
 2725 	- trunk is version 4.0.0-imp3.
 2726 
 2727 7 April 2011: Wouter
 2728 	- ported to sunos 4.1.4, the unit test works (udb, radtree in mmap).
 2729 
 2730 6 April 2011: Wouter
 2731 	- UDB_CHECK is enabled if --enable-checking is used.
 2732 	  Because it checks the pointer-administration lists it slows down.
 2733 	- udb-inspect has feature -l that lists zones (and RRs) in nsd.db.
 2734 	- fix memory leak by zonec; the region_cleanup triggers too late.
 2735 	- set listen TCP_BACKLOG to 16 by default, it avoids connect reset
 2736 	  by peer in 1000-zones transfer on an ultra10, thus for many-zones.
 2737 	- default xfrd-reload-timeout to 1 second.
 2738 
 2739 5 April 2011: Wouter
 2740 	- Fix uninitialised value in xfrd nsd_soa, the rdata_count.
 2741 	- Unit test for update of the nsd.db with new contents.
 2742 	- Fix array bounds check in radtree-search function.
 2743 
 2744 4 April 2011: Wouter
 2745 	- removed zonec from tests. fix unknown_rr test, enable ipseckey test.
 2746 	  increased timeouts on tests that are hard on the filesystem.
 2747 	- Fixed IPSECKEY printout by nsd-patch.
 2748 
 2749 30 March 2011: Wouter
 2750 	- nsd edits nsd.db for IXFR and AXFR messages.  since xfrd already
 2751 	  checks zone transfers completely for syntax those errors cannot
 2752 	  happen, if they do (memory, disk error) the file is left dirty,
 2753 	  to be recreated on the next start (and the process dies).
 2754 
 2755 29 March 2011: Wouter
 2756 	- nsd recreates nsd.db if it has not been closed properly or is
 2757 	  corrupted (bad header or wrong file format).
 2758 
 2759 28 March 2011: Wouter
 2760 	- NSD without zonec.  NSD loads zonefiles on start.
 2761 	  NSD stores NSEC3hashes on disk.
 2762 
 2763 25 March 2011: Wouter
 2764 	- Fix bug #365, you can set NSDC_ZONEC_VERBOSE and NSDC_PATCH_STYLE
 2765 	  in the environment where nsdc runs.
 2766 	- Fix bug #375, typos in nsd.conf.5.
 2767 	- First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC.
 2768 	- Fix bug #302, nsd accepts XFR but refuses to re-read the slave zone.
 2769 	- NSD4 work: removed zonec, nsdc patch does not write text files
 2770 	  for slave zones (as if option is always to binary, this capability
 2771 	  returns later), nsdc patch deletes the ixfr.db.
 2772 	  kill-HUP rereads zone files that have changed.
 2773 
 2774 24 March 2011: Wouter
 2775 	- compile fixes for BSD. preserve RRset order.
 2776 
 2777 23 March 2011: Wouter
 2778 	- udbzone, store and read zone data in the random-access udb format.
 2779 
 2780 21 March 2011: Wouter
 2781 	- udbradtree works. udb-inspect tool can print radtree details.
 2782 
 2783 16 March 2011: Matthijs
 2784 	- undo fix bug#325: messes up dname compression
 2785 
 2786 14 March 2011: Wouter
 2787 	- udb code added.  uses lookup3 from unbound (public domain).
 2788 	- unit test for radix tree in cutest.
 2789 	- unit test for udb in cutest.
 2790 	- udb-inspect tool to printout internals of udb files.
 2791 	  for debug, not installed or built by default.
 2792 	- removed --disable-radixtree option.
 2793 
 2794 11 March 2011: Wouter
 2795 	- Removed precompile features, speed gain took too much memory.
 2796 	- domain number to size_t.
 2797 
 2798 9 March 2011: Wouter
 2799 	- DNAME synthesis of CNAME.  Uses TTL of the DNAME record.
 2800 	- nsec3 and wildcard code.  No additional section for wildcards.
 2801 	  Also CNAME and DNAME replies contain only that record (and synth
 2802 	  CNAME), the chain is not followed.
 2803 
 2804 8 March 2011: Wouter
 2805 	- precompile work:
 2806 		class ANY gets AA flag, SOA and type-NS processing, just
 2807 		like BIND (9.6) and it simplifies processing for NSD.
 2808 	  other than compression difference (precompile compresses smaller),
 2809 	  there are no differences in a 49000 query testset against the root,
 2810 	  without EDNS.
 2811 
 2812 7 March 2011: Wouter
 2813 	- check chown value and report high verbosity its error.
 2814 
 2815 3 March 2011: Matthijs
 2816 	- fix #bug352: fix hardcoded paths in manpages.
 2817 
 2818 2 March 2011: Matthijs
 2819 	- fix #bug354: make realclean cleans too much
 2820 	- added make devclean for cleaning up autoconf and automake stuff
 2821 	- Fix hardcoded paths in nsd.conf.sample and nsd.conf.5
 2822 
 2823 24 February 2011: Matthijs
 2824 	- fix #bug350: refused notifies should log client ip.
 2825 
 2826 2 March 2011: Wouter
 2827 	- Fix AXFR service with radix tree.
 2828 	- cutest for speed of answer encoding, and format of answers for root.
 2829 
 2830 1 March 2011: Wouter
 2831 	- after merge, remove double -I. from makefile.
 2832 	- radixtree is default.  Nicer makefile and no warnings from unused
 2833 	  flex functions.
 2834 
 2835 1 March 2011: Wouter
 2836 	- merge with trunk r3181:
 2837 	24 February 2011: Matthijs
 2838 		- fix #bug350: refused notifies should log client ip.
 2839 	24 February 2011: Wouter
 2840 		- fix bug#362: outgoing-interface and v4 vs. v6 leads to spurious
 2841 		  warning messages.
 2842 		- fix bug#363: nsd-checkconf -v does not print outgoing-interface ok.
 2843 		- fix that nsd-checkconf -o outgoing-interface omits NOKEY.
 2844 	23 February 2011: Wouter
 2845 		- fix for bug#357, make xfrd quit with many zones.
 2846 		
 2847 23 February 2011: Wouter
 2848 	- Merge trunk r3151.
 2849 		22 February 2011: Matthijs
 2850 			- Patch Jakob Schlyter (setusercontext before chroot).
 2851 		18 February 2011: Wouter
 2852 			- overhaul of testset, with port uniqueness and fast start and stop.
 2853 		11 February 2011: Wouter
 2854 			- added test case to do with bug357.
 2855 		24 January 2011: Matthijs
 2856 			- Patch Tom Hendrikx (only errors to stderr when doing nsdc patch).
 2857 
 2858 17 February 2011: Wouter
 2859 	- Fix leak of compressiontable when the domain table increases in size.
 2860 	- added test case to do with bug357.
 2861 
 2862 10 February 2011: Wouter
 2863 	- Merged with trunk r3115 changes:
 2864 		20 January 2011: Wouter
 2865 			- Fix on shutdown, then getaddrinfo acquired data uses freeaddrinfo.
 2866 		19 January 2011: Wouter
 2867 			- Bug #348: no -I/usr and -L/usr for libcrypto in /usr.
 2868 		5 January 2011: Matthijs
 2869 			- Fix nsdc update and nsdc notify
 2870 			- Force outgoing interface to be a single range acl
 2871 			- Update documentation about acl options
 2872 			- Code review
 2873 			- Fix nsdc so it can use hmac-sha* tsigs
 2874 			- Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch
 2875 		4 January 2011: Yuri
 2876 			- Doc spelling error, bug#345
 2877 		15 December 2010: Wouter
 2878 			- fix race condition when nsd is stopped while a reload is in
 2879 			  progress, often when rc.d does nsdc patch; nsdc stop in sequence.
 2880 			  reload is now signalled to stop too.
 2881 		10 December 2010: Matthijs
 2882 			- fix bug#306: applied documentation patch
 2883 			- fix bug#253: now also for QTYPE=DS.
 2884 		12 October 2010: Wouter
 2885 			- Fix compilation on SunOS4.
 2886 		24 September 2010: Matthijs
 2887 			- Bug #328: nsd-checkconf overrun
 2888 		1 September 2010: Yuri
 2889 			- Support for huge TXT records.
 2890 		23 Aug 2010: Wouter
 2891 			- fix bug#325: remove stale files from cvs from repo.
 2892 		16 Aug 2010: Yuri
 2893 			- zonec, MAXRDATALEN check was off by one.
 2894 		9 Aug 2010: Matthijs
 2895 			- nsdc return 1 outside function, should be exit 1
 2896 			- Bug #320: arc4random
 2897 		2 Aug 2010: Matthijs
 2898 			- Bump to 3.2.7.
 2899 		21 July 2010: Wouter
 2900 			- NUM_RECV_PER_SELECT 100 implemented, configure check if kernel
 2901 			  supports this.
 2902 
 2903 17 January 2011: Matthijs
 2904 	- Bump to 3.2.8.
 2905 
 2906 5 January 2011: Matthijs
 2907 	- Fix nsdc update and nsdc notify
 2908 	- Force outgoing interface to be a single range acl
 2909 	- Update documentation about acl options
 2910 	- Code review
 2911 	- Fix nsdc so it can use hmac-sha* tsigs
 2912 	- Bug #347: NSEC3 nodata QTYPE=DS not at delegation mismatch
 2913 
 2914 20 July 2010: Wouter
 2915 	- Branched from trunk. Added radix tree.
 2916 	- use -fwhole-program if gcc supports it.
 2917 
 2918 19 July 2010: Matthijs
 2919 	- fix bug#314, NSEC next field now correctly escapes spaces.
 2920 	  Also fixes label overflow issue.
 2921 	- Put back HAVE_SSL.
 2922 	- Code reviews.
 2923 	- Add donor text.
 2924 
 2925 6 July 2010: Wouter
 2926 	- Compiles on Minix 3.1.7; checks ss_family, suseconds_t, some
 2927 	  warning fixes.  Needs socketpair to work, e.g.
 2928 	  http://wiki.minix3.org/en/SummerOfCode2010/UnixDomainSockets.
 2929 
 2930 2 July 2010: Wouter
 2931 	- Put back CHECK_SSL in configure (removed with disable-tsig).
 2932 
 2933 17 June 2010: Matthijs
 2934 	- Expand command line option '-a' and config option 'ip-address:'
 2935 	  with port number.
 2936 	- Removed --disable-nsid, --disable-dnssec, --disable-tsig
 2937 
 2938 14 April 2010: Matthijs
 2939 	- Bump to 3.2.6.
 2940 
 2941 14 April 2010: Matthijs
 2942 	- uintptr_t fallback value to void*
 2943 	- Backwards compatibility for MAP_ANONYMOUS
 2944 	- Tag 3.2.5.
 2945 
 2946 31 March 2010: Matthijs
 2947 	- Commit b64_pton optimalized compat code (Martin Svec).
 2948 	- Commit (experimental) mmap-alloc-namedb patch (Martin Svec).
 2949 	- Commit parse-token-leaks patch (Martin Svec).
 2950 
 2951 27 March 2010: Wouter
 2952 	- fix bug#303: misspelled error message.
 2953 
 2954 19 March 2010: Wouter
 2955 	- documented nsid: "hex string" setting in nsd.conf.sample.
 2956 
 2957 24 February 2010: Matthijs
 2958 	- nsid: option
 2959 	- Enable NSID support by default
 2960 	- --with-chroot configure option
 2961 	- Less stupid chroot error handling
 2962 
 2963 15 February 2010: Matthijs
 2964 	- Skip memory cleanup to speed up reload (Martin Svec)
 2965 
 2966 1 February 2010: Wouter
 2967 	- compat code for memcmp unsigned comparisons.
 2968 
 2969 21 January 2010: Wouter
 2970 	- fixup debug sprintf to snprintf.
 2971 
 2972 21 January 2010: Matthijs
 2973 	- Secure string functions, including compat code for strlcat.
 2974 	- Randomness utility function
 2975 	- Prepare for default chroot
 2976 
 2977 6 January 2010: Wouter
 2978 	- check write errors when marking commit failed when difffile is broken.
 2979 
 2980 6 January 2010: Matthijs
 2981 	- Move to 3.2.5
 2982 
 2983 23 December 2009: Matthijs
 2984 	- Store new options in nsd structure.
 2985 
 2986 22 December 2009: Matthijs
 2987 	- New options 'ipv4-edns-size:' and 'ipv6-edns-size'.
 2988 	- Bug 276
 2989 	- Bug 286
 2990 	- Bug 288
 2991 
 2992 21 December 2009: Matthijs
 2993 	- New option 'tcp-query-count:'.
 2994 	- New option 'tcp-timeout:' and configure option '--with-tcp-timeout'.
 2995 	- New zone option 'notify-retry:'.
 2996 
 2997 11 December 2009: Wouter
 2998 	- Disable UDP IPv4 DF flag on Linux/FreeBSD/AIX with socket option.
 2999 
 3000 20 November 2009: Matthijs
 3001 	- NSID bugfix: NSD did not recognize NSID in the query.
 3002 
 3003 9 September 2009: Matthijs
 3004 	- DLV support
 3005 
 3006 18 August 2009: Matthijs
 3007 	- Bug 269.
 3008 	- Typo: logincap.h -> login_cap.h
 3009 
 3010 12 August 2009: Matthijs
 3011 	- Maintainers feedback
 3012 
 3013 10 August 2009: Matthijs
 3014 	- Code review.
 3015 	- Also send errors to /dev/null in controlled_stop.
 3016 	- chown nsd.db
 3017 
 3018 7 August 2009: Matthijs
 3019 	- Bug 266: don't have strptime build error
 3020 
 3021 28 July 2009: Matthijs
 3022 	- Bug 263: make TSIG algorithms comparison case insensitive.
 3023 
 3024 23 July 2009: Matthijs
 3025 	- Patch Paul Wouters for NSD using hardcoded name.
 3026 
 3027 13 July 2009: Matthijs
 3028 	- Bug 236: allow RRs before the SOA RR.
 3029 	- Bug 253: No need for NS RRset in authority section, when returning
 3030 	  final answer for QTYPE=DNSKEY.
 3031 
 3032 29 June 2009: Wouter
 3033 	- patch for use of Linux IPV6_MTU option, so that on linux the default
 3034 	  EDNS UDP size advertised becomes 4096 over IPv6.  It fragments the
 3035 	  packets using the IPv6 minimum MTU.
 3036 
 3037 19 May 2009: Matthijs
 3038 	- Clean up configure script (install hickup)
 3039 	- Bug 249: Remove unnecessary LLONG_MIN and LLONG_MAX code.
 3040 	- Replace strtoll code with own strtoserial function.
 3041 	- Move up to 3.2.3.
 3042 
 3043 11 May 2009: Matthijs
 3044 	- Add Off-by-one test
 3045 
 3046 6 May 2009: Matthijs
 3047 	- Small fix in SO_REUSEADDR warning log message.
 3048 	- Off-by-one bugfix (thanks Ilja van Sprundel, IOActive)
 3049 
 3050 29 April 2009: Matthijs
 3051 	- A more ensured do_stop (useful fo nsdc restart).
 3052 
 3053 2 February 2009: Matthijs
 3054 	- Bugfix #234.
 3055 	- Bugfix #235.
 3056 	- Reset 'error occurred' after notifying an error occurred at the $TTL or   
 3057 		$ORIGIN directive (Otherwise, the whole zone is skipped because the
 3058 		error is reset after reading the SOA).
 3059 
 3060 2 February 2009: Matthijs
 3061 	- Bugfix: return BADVERS when EDNS version > 0, instead of 0x1<FORMERR>.
 3062 
 3063 19 January 2009: Matthijs
 3064 	- Bug 230: nsd-*: use stdout for non-error output (instead of stderr).
 3065 	- Don't do strptime test when cross compiling.
 3066 
 3067 17 January 2009: Jelte
 3068 	- Fix file rotation when no logfile but chroot.
 3069 
 3070 8 January 2009: Matthijs
 3071 	- New nsd-patch option -o dbfile (set output.db)
 3072 	- update nsdc to deal with the new nsd-patch options
 3073 	- strptime compat fix
 3074 
 3075 6 January 2009: Matthijs
 3076 	- New nsd-patch option -s (skip writing zonefiles)
 3077 	- Removed some region_create memchecks (not needed)
 3078 
 3079 5 January 2009: Matthijs
 3080 	- Bug 218
 3081 	- Bug 222
 3082 	- Replace SHA256_DIGEST_LENGTH with nicer HAVE_EVP_SHA256
 3083 
 3084 10 December 2008: Matthijs
 3085 	- Bugfix: better error message when ixfr.db cannot be read
 3086 
 3087 18 November 2008: Matthijs
 3088 	- chown logfile, don't do file rotation if logfile is outside absolute 
 3089 		and outside chroot.
 3090 
 3091 17 November 2008: Matthijs
 3092 	- File rotation for nsd.log when owned by nsd (+ tpkg test).
 3093 	- Only AXFR fallback if master responded NOTIMPL or FORMATERR on IXFR 
 3094 		request.
 3095 	- allow-axfr-fallback option.
 3096 
 3097 7 November 2008: Matthijs
 3098 	- Bugfix: don't fclose if logfile == NULL.
 3099 	
 3100 30 October 2008: Matthijs
 3101 	- Allow escape characters in literal dnames
 3102 	- Fix typo in zonec manpage
 3103 	- Some fixes from code review
 3104 
 3105 20 October 2008: Matthijs
 3106 	- Redo bugfix literal domain names in rdata (code adjustment)
 3107 	- Added tests for case sensitive dns names and "Bug #162"
 3108 	- Adjust nsd-patch to new ixfr.db format
 3109 
 3110 14 October 2008: Matthijs
 3111 	- Only SO_LINGER when outgoing port is set
 3112 	- Reset diff_skip when a new difffile is created (parts in the difffile 
 3113 		now have a timestamp).
 3114 	- Undo bugfix literal domain names in rdata (code adjustment)
 3115 	- Split up dname_parse to parse literal dnames and normalized dnames.
 3116 
 3117 3 October 2008: Matthijs
 3118 	- setsockopt SO_LINGER, for portability outgoing-interface (BSD/Solaris)
 3119 
 3120 1 October 2008: Matthijs
 3121 	- Configure the source ip-address for notifies by the master and zone 
 3122 		transfer requests by the slave in nsd.conf.
 3123 	- Previously added source hostname/ip and port configuration for 
 3124 		nsd-notify and nsd-xfer
 3125 	- Finetuned nsdc for nsdc notify and nsdc update
 3126 
 3127 29 September 2008: Matthijs
 3128 	- Bugfix: only normalize domain names in rdatas when rrtype is listed in 
 3129 		RFC 4034, section 6.2: Canonical RR Form.
 3130 	- Update TODO list
 3131 
 3132 25 September 2008: Matthijs
 3133 	- Fix bug where hmac-sha256 was in algorithm table, but could not be 
 3134 		retrieved by name or id.
 3135 	- Additional arguments for nsd-notify and nsd-xfer: set outgoing 
 3136 		hostname/ip-address and source port.
 3137 	- Additional TODO entry: optimize code in nsd-* programs.
 3138 
 3139 8 September 2008: Matthijs
 3140 	- RFC 4635, bugfix #130: support for hmac-sha1 and hmac-sha256 tsig 
 3141 		algorithms.
 3142 	- modify and add tpkg tests for hmac-sha1 algorithms.
 3143 
 3144 2 September 2008: Matthijs
 3145 	- AXFR fallback when IXFR/UDP failed on all masters
 3146 	- Bugfix: strip off chroot value in corner cases
 3147 	- Additional debug and verbose log messages
 3148 
 3149 29 August 2008: Matthijs
 3150 	- IXFR allow UDP option
 3151 
 3152 26 August 2008: Matthijs
 3153 	- Code layout, additional comments and documentation typo fixes
 3154 	- IXFR over TCP, no longer UDP
 3155 
 3156 17 July 2008: Matthijs
 3157 	- Make the maximum number of interfaces configurable.
 3158 	- Write pidfile *after* successful server initialization,
 3159 		instead of writing, and unlink if fail.
 3160 
 3161 16 July 2008: Matthijs
 3162 	- Set upcoming release to 3.1.1
 3163 	- Wouter: fixed memory leaks that happened on error, mostly on
 3164 	  zone transfer errors.
 3165 
 3166 11 July 2008: Matthijs
 3167 	- Avoid race condition in nsdc: let nsd server update pidfile before 
 3168 		closing old parent process. 
 3169 
 3170 8 July 2008: Jelte
 3171 	- Fixed NSEC3 memory leak in the case NSEC3 is not needed.
 3172 
 3173 7 July 2008: Matthijs
 3174 	- Bugfix #191
 3175 
 3176 9 June 2008: Matthijs
 3177 	- When comparing RRs, do not compare TTL values (since the same record
 3178 	  with different TTL values are considered equal).
 3179 	- Fixup some more unaligned memory access that could occur when 
 3180 	  reading ixfr.db.
 3181 
 3182 19 May 2008: Matthijs
 3183 	- Do not always log tcp read errors, only when real error or high verbosity
 3184 
 3185 28 April 2008: Matthijs
 3186 	- Bugfix #172 (misleading error from zonec)
 3187 
 3188 27 March 2008: Matthijs
 3189 	- Port some branch modifications to trunk
 3190 
 3191 28 February 2008: Matthijs
 3192 	- Do not answer nsec3 wildcard information when DO bit is not set
 3193 
 3194 19 February 2008: Matthijs
 3195 	- Fixed strptime bug (for MacOS Leopard)
 3196 
 3197 22 January 2008: Matthijs
 3198 	- Add configuration for chkconfig to control nsd service (bug 164)
 3199 
 3200 15 January 2008: Matthijs
 3201 	- Fixed bug 157 where nsd would return FORMERR if edns query is
 3202 	  received with version set to zero and rdlen is larger than zero.
 3203 
 3204 8 January 2008: Wouter
 3205 	- no warning about optout records. also no warning about missing
 3206 	  nsec3 records.
 3207 	- check for hash(apex)==nsec3 with SOA bit was done in duplicate.
 3208 	- removed old commented out code
 3209 	- using SOA bit in NSEC3 typemap to detect parameters
 3210 	- using nonhashed NSEC3 to prove qtype=NSEC3 nxdomains
 3211 	- prints for debugging.
 3212 	- nicer comment on nsec3_lookup.
 3213 
 3214 7 January 2008: Wouter
 3215 	- Fixup nsec3 tests, they need zonesdir: "." in conf files.
 3216 	  The tests pass.
 3217 	- configure default is --enable-nsec3. Disabling this will save 20% more
 3218 	  memory (for very large zones). Moved tests to test on commit.
 3219 	- set RRTYPE numbers for NSEC3=50, NSEC3PARAM=51.
 3220 	- fixup checkconf test - updated parser lexer gives syntax error 
 3221 	  on some garbage instead of parse error. Parselexer is updated for
 3222 	  new options (hide-version, verbosity).
 3223 	- removed highrange rrtype code. fixup cutest for that.
 3224 	- speedup of prehash code.
 3225 		- skip nonexistent domains (operator.example.com).
 3226 		- skip only-nsec3 domains (that could be 2x speedup)
 3227 		- skip glue nameserver domains (for TLD with 2 glue per
 3228 		  delegation this is a 3x speedup).
 3229 		- skip the prehash_domain for delegation points, which saves
 3230 		  another 2/3 hash operations, 3x speedup.
 3231 	- printout how long nsec3 prepare took (verbosity >= 1).
 3232 
 3233 3 December 2007: Matthijs
 3234 	- Fixup bug where data related files are looked up in the wrong
 3235 	  directory when chrooted with chrootdir ending with a slash.
 3236 
 3237 26 November 2007: Matthijs
 3238 	- Fixup bug start nsd while already running: do not initialize server,
 3239 	  since it is already running. 
 3240 
 3241 15 November 2007: Matthijs
 3242 	- Changed man pages format from mdoc to mansun, to support the Solaris OS. 
 3243 	- Better logging for nsd-notify (show 'broken' zone)
 3244 
 3245 13 November 2007: Wouter
 3246 	- CREDITS and RELNOTES now in utf-8.
 3247 
 3248 12 November 2007: Matthijs
 3249 	- Changed man pages according to bug 162. 
 3250 
 3251 30 October 2007: Wouter
 3252 	- Fixup for skip after unknown deleted IXFR RR, otherwise processing
 3253 	  would continue at the wrong spot in the packet and process the IXFR
 3254 	  as if it were malformed.
 3255 	- added unit test for this in long (needs ldns-testns, updated it).
 3256 	- added unit test for rollback of malformed zone transfers.
 3257 	  Fixup for it, and fixup in ldns-testns to be randomport and
 3258 	  copy id for hex packets.
 3259 
 3260 29 October 2007: Wouter
 3261 	- Fixup bug where malformed IXFR replies cause partial processing in
 3262 	  reload (or nsd-patch or nsd-startup). One result is multiple SOA
 3263 	  records in zone apex. Fixup rolls back the zone transfer, and waits
 3264 	  for NSD to try to load again.
 3265 
 3266 26  October 2008: Wouter
 3267 	- small fix in descriptive text in sample config for debug-mode.
 3268 
 3269 9 October 2007: Mark
 3270 	- Change default location of: nsd.db, ixfr.db & xfrd.state to
 3271 	  /var/db/nsd.
 3272 
 3273 5 October 2007: Wouter
 3274 	- Fixup manual page entry for allow AXFR to anyone.
 3275 
 3276 3 August 2007: Mark
 3277 	- Report source and zone for denied AXFR attempts.
 3278 
 3279 25 July 2007: Wouter
 3280 	- bind2nsd to 0.5.0, fixup of includes, key{} handling.
 3281 
 3282 19 July 2007: Wouter
 3283 	- bind2nsd to 0.4.8, fixup of include bug.
 3284 
 3285 18 July 2007: Wouter
 3286 	- added contrib for bind2nsd, Al Stone provided an abridged version
 3287 	  that neatly fits for contrib.
 3288 
 3289 17 July 2007: Wouter
 3290 	- fixup commithooks.
 3291 
 3292 16 July 2007: Wouter
 3293 	- Added reference to http://bind2nsd.sourceforge.net/ to
 3294 	  contrib/README.
 3295 
 3296 3 July 2007: Mark
 3297 	- Zone compiler now gives more sane error message when out of
 3298 	  diskspace.
 3299 	- Fixed a call to drill in tpkg that made a test check bind instead of
 3300 	  nsd.
 3301 
 3302 2 July 2007: Mark
 3303 	- Remove last traces of mmap usage.
 3304 	- Some cleanups in tpkg.
 3305 
 3306 24 April 2007: Mark
 3307 	- Added "hide-version" configuration setting. Enabling this feature
 3308 	  stops NSD from answering to CHAOS class version requests.
 3309 
 3310 19 April 2007: Wouter
 3311 	- Compiled on minix 3.1.3 and make some adjustments to ease porting.
 3312 	  ECONNABORTED is checked for. sys/select.h included in nsd-notify.
 3313 	  SO_REUSEADDR failure is not fatal. PF_INET compat code added.
 3314 	  If you compile yourself; strptime and socketpair need compat code.
 3315 
 3316 13 April 2007: Wouter
 3317 	- Minor tweak to nsec3.c, more elegant handling of malformed nsec3 
 3318 	  records from a zone transfer.
 3319 
 3320 10 April 2007: Wouter
 3321 	- Fixup ignored return value in region-allocator. Now returns a NULL
 3322 	  memory allocation failure and leaves region in a consistent state.
 3323 
 3324 20 March 2007: Wouter
 3325 	- Released 3.0.5.
 3326 	- (for 3.0.6) -O2 test for Alpha moved to saner position.
 3327 
 3328 16 March 2007: Wouter
 3329 	- port configure to AIX, removed warning on ALIGNMENT in region code. 
 3330 	  defined _ALL_SOURCE to get recent C definitions on AIX.
 3331 	- improved nsec3.h comments.
 3332 
 3333 22 February 2007: Wouter
 3334 	- Zonesdir default is now /etc/nsd.
 3335 	  So that the invocation directory is not used to dump files into.
 3336 	  The user can change the zonesdir by editing the config file.
 3337 	  The directory is created by install, if not an error is printed.
 3338 	- updated tpkg tests to use current dir for testing.
 3339 	- tcp connections that drop do not spam the log file.
 3340 	  Unless verbosity is set high.
 3341 
 3342 19 February 2007: Wouter
 3343 	- Fix empty line printed with warning on 'force zone transfer'.
 3344 
 3345 15 February 2007: Wouter
 3346 	- Check for EPROTO definition to compile on FreeBSD4/Alpha.
 3347 
 3348 13 February 2007: Mark
 3349 	- Debug flag (-d) behavior changed. Nsd now also forks children when
 3350 	  run in debug mode.
 3351 	- Added verbosity mode (-V <level>) for extra operational logging.
 3352 
 3353 8 January 2007: Wouter
 3354 	- README text on interface configuration added.
 3355 
 3356 2 January 2007: Wouter
 3357 	- Fixup accept() that could block due to already closed connection.
 3358 	  Made listen() nonblocking, ignores errcodes that indicate closed tcp.
 3359 
 3360 29 January 2007: Mark
 3361 	- Handle the new CERT RDATA types defined in RFC 4398 (submitted
 3362 	  by Mans Nilsson).
 3363 	- Change nsd-notify retry timer from linear into exponential backoff
 3364 	  (submitted by Mans Nilsson).
 3365 	- Due to a small bug in a comparison statement, zonec would fail
 3366 	  on the parsing of unknown CERT types. This got triggered by the
 3367 	  first bugfix today, as that one shouldn't have been discovered in
 3368 	  the first place. Took the opportunity to sanitize two other
 3369 	  comparison statements related to strtol().
 3370 	
 3371 24 January 2007: Wouter
 3372 	- Tentative change to set UDP sockets nonblocking. Perhaps it 
 3373 	  helps Howard.
 3374 
 3375 19 January 2007: Wouter
 3376 	- NSEC3 work. prehash printed only once with time taken to prepare.
 3377 	- prints are now only in DEBUG mode (except errors).
 3378 	- rr descriptor counts for NSEC3 updated, has an extra field flags.
 3379 	- now NSEC3PARAMs with flags!=0 are ignored, as per draft-09.
 3380 	- Fixed where only first NSEC3PARAM was properly detected.
 3381 	- Added tpkg in manual (because you need to compile with nsec3)
 3382 	  that performs the test queries from draft-09 and checks them.
 3383 	- Made tpkg to test NSEC3 parameter detection. NSD will skip any
 3384 	  NSEC3PARAMs that don't work until the first working one is found.
 3385 	  Also, this means unknown hash algorithms are simply ignored.
 3386 	  A zone that uses exclusively unknown hash algorithms for NSEC3
 3387 	  will give errors on loading (or after zone transfer) but NSD
 3388 	  will load and serve the zone (but no NSEC3s are returned).
 3389 	- added tpkg in manual to test parent side DS answers.
 3390 	  These follow a different code path than child side DS.
 3391 	- Will allow NSEC3s(and signatures) below a DNAME.
 3392 	- A query for an NSEC3 ownername will lead to DNAME redirection
 3393 	  as if the NSEC3 did not exist.
 3394 	- Test package in manual that tests NSEC3 and DNAME in the apex.
 3395 	- Changed NSEC3 memory requirements from 5 pointers per domain name
 3396 	  to 3 pointers and 2 bits.
 3397 	- Added jumpstart for nsec3 search, will greatly speed up optout
 3398 	  zone nxdomains. At the cost of one ptr per domain name.
 3399 	  The speedup also speeds up the nsec3 prepare stage.
 3400 
 3401 18 January 2007: Wouter
 3402 	- Created 3.0.4 release tag.
 3403 	- 3.0.5 number in trunk.
 3404 	- add nsd.spec patch from Farkas Levente to contrib.
 3405 	- NSEC3 new wireformat and presentation format from draft-09.
 3406 
 3407 11 January 2007: Wouter
 3408 	- The message 'server .. closed cmd channel' is now priority INFO.
 3409 	  This to reduce the 'error' amount in the logs.
 3410 	- On error in a tcp request, set to retry next instead of waiting
 3411 	  for the tcp timeout.
 3412 
 3413 9 January 2007: Wouter
 3414 	- TSIG acl matching changed so that NOKEY allow-notify entries match 
 3415 	  only queries without a tsig. Otherwise NSD would crash.
 3416 	  This only affects servers that have allow-notify: ip NOKEY and
 3417 	  someone sends a TSIG signed notify from that ip.
 3418 	- test package for that.
 3419 	- Fix for reply to notify messages with ANCOUNT wrong. The ack
 3420 	  to notify messages that passed the ACL, and had a SOA in the answer
 3421 	  section of the query, included wrong RR counts in the header.
 3422 	- test package for notify reply wireformat.
 3423 
 3424 8 January 2007: Wouter
 3425 	- ipc_send_blocked will not lead to busy waiting on it, but will block
 3426 	  in select, until SOA_END comes by.
 3427 	- server_main sends SOA_END if reload crashes, to xfrd. So that xfrd
 3428 	  can set ipc_blocked=0 and can_send_reload=1; and thus resume service,
 3429 	  assuming that the crash was a temporary condition. 
 3430 	  This will lead to trying every reload-timeout seconds to reload
 3431 	  if it is a permanent condition. Which is more obvious to the 
 3432 	  operator.
 3433 	- put the error "error: diff: RR ns.kiev.ua. already exists" in
 3434 	  debug mode only. Zone transfers with this error are liberally
 3435 	  accepted, and we should not spam the logfile.
 3436 	- empty zones will not be retried forever every 10 seconds,
 3437 	  but exponential backoff to a max of every 4 hours.
 3438 	  The exact value is randomised to spread out attempts.
 3439 
 3440 5 January 2007: Wouter
 3441 	- Fixed --zonesdir=<path> for configure. The value did not get used
 3442 	  as a default value. Now it is used as a default value. If a 
 3443 	  default value is set for zonesdir, you can go to a 'no value 
 3444 	  specified' by giving the empty string, zonesdir: "" in nsd.config.
 3445 	- Fixed checkconf.tpkg for this change. nsd-checkconf will 
 3446 	  output zonesdir: "" as this is the default for --zonesdir.
 3447 
 3448 2 January 2007: Wouter
 3449 	- Added contrib script from Stephane Bortzmeyer to convert NSD 2 to 
 3450 	  NSD 3 config files. Converts secondary zones and TSIG keys.
 3451 	- Made config conversion script skip empty lines.
 3452 	- Made config conversion script convert primary zones (and notify).
 3453 	- Nsdc control script will exit with 'nsd startup failed.' if nsd
 3454 	  fails to start (due to bad config file for example).
 3455 
 3456 15 December 2006: Wouter
 3457 	- Removed dlopen() checks from configure.ac, NSD3 no longer has
 3458 	  dynamic plugin support (since 3.0.0).
 3459 	- added .rpm spec file to contrib.
 3460 	- Updated README to remove reference to buildzones script.
 3461 
 3462 12 December 2006: Wouter
 3463 	- Added missing include to ipc.c to compile on SunOS.
 3464 	- Cast to avoid signed/unsigned comparison in compat/inet_ntop.c.
 3465 
 3466 11 December 2006: Wouter
 3467 	- Added test to check for CNAME and other data error by zonec.
 3468 	  Currently NSEC, NSEC3, RRSIG, SIG, NXT are allowed next to CNAME.
 3469 	- Fixup unaligned memory access that could occur when reading ixfr.db
 3470 	  with a partial transfer inside.
 3471 	- RR type WKS (well known service) was not printed correctly,
 3472 	  htons() was forgotten when calling getservbyport.
 3473 	- NSD does not complain about not being able to read the db CRC
 3474 	  when all that happens is the file became longer or shorter.
 3475 
 3476 8 December 2006: Wouter
 3477 	- Moved down max XFRD UDP sockets for zone transfer queries to 100
 3478 	  down from 300. This makes the total socket max at 200, so it fits
 3479 	  easily under 256 ulimit (a common default).
 3480 
 3481 7 December 2006: Wouter
 3482 	- Improved error message to help operator.
 3483 	- created 3.0.3 svn tag.
 3484 	- default of zonesdir corrected (no directory is default).
 3485 
 3486 4 December 2006: Wouter
 3487 	- updated test packages. Moved 213_large from manual to long.
 3488 	  size_0, source_port_0 made more working (needs root permission).
 3489 
 3490 1 December 2006: Wouter
 3491 	- Moved xfrd ipc and reload handlers to front of event handler
 3492 	  lists for a 10% speedup in xfrd.
 3493 	- Fixed so that NSD no longer interrupts zone transfers when
 3494 	  a notify comes in for that zone. Added package to test it.
 3495 	- Fixed warning on Solaris 10.
 3496 
 3497 30 November 2006: Wouter
 3498 	- Test for fallback in getaddrinfo more portable.
 3499 	  Ported to FreeBSD 6.1 without inet6.
 3500 	- New quit sync had a problem with blocking in dispatch. Fixed.
 3501 	- reload will retry quit_sync if nothing happens.
 3502 	- parent tries to empty the pipes before closing them on quitsync.
 3503 	- xfrd does not send reload when previous reload request busy.
 3504 	- netio will only deliver the number of bits from select
 3505 	  and then stop. Optimisation.
 3506 
 3507 29 November 2006: Wouter
 3508 	- Fixed getaddrinfo error message to be more descriptive.
 3509 	- Fallback to ip4 also if getaddrinfo fails for ip6.
 3510 	- instead of EAI_ADDRFAMILY uses EAI_FAMILY which is portable
 3511 	  to FreeBSD.
 3512 	- signed/unsigned warning fix for FD_SETSIZE comparison.
 3513 	- Lots of debug statements and new quit sync feature, where
 3514 	  the server children are synced with. So as not to lose buffers.
 3515 
 3516 28 November 2006: Wouter
 3517 	- Debugging 10k zones transfer, set so that zones waiting for a
 3518 	  socket do not get timeouts.
 3519 	- Debug change so that an event is only returned to one handler
 3520 	  by netio.
 3521 	  Reversed this. Netio will not deliver events you do not listen
 3522 	  to, and since xfrd first listens to write then read, it will
 3523 	  not have problems with stale events (for the fd from the previous
 3524 	  select) because these are always read, while it needs a write.
 3525 	  Re-Reversed it: netio will deliver events only once.
 3526 	  This is easier to understand for the poor hapless developer.
 3527 	- Need to set notify_current for notify on waiting list. Fixed.
 3528 
 3529 27 November 2006: Wouter
 3530 	- Debugging 10k zones transfer, noticed that it is possible for 
 3531 	  netio to give a callback for an event that you were not listening
 3532 	  to. Now no longer does that.
 3533 
 3534 16 November 2006: Wouter
 3535 	- Bug #153: now checks for FD_SETSIZE when adding fd to select fdset.
 3536 	- Easy overview of socket allocation for xfrd in xfrd.h
 3537 	- Upped the default xfrd socket limits a bit.
 3538 	- Log message that the TCP connection limit is reach is now only
 3539 	  in -L 2 logging. It is spammy.
 3540 	- updated dependencies.
 3541 	- Added test for notify-socketcount, and removed unused files from
 3542 	  bug153 test package.
 3543 	- Notify udp sockets are also capped at a max number. The rest
 3544 	  has to wait in a queue.
 3545 
 3546 15 November 2006: Wouter
 3547 	- Fixed bug #152: identity keyword in nsd.conf did not work.
 3548 	  What happened was that the hostname() from the computer 
 3549 	  was overriding the nsd.conf identity. Fixed now.
 3550 	  If commandline is given that is used.
 3551 	  Else nsd.conf entry is used.
 3552 	  Else hostname() detected from computer is used.
 3553 	  Else default string "unidentified" is used.
 3554 
 3555 14 November 2006: Wouter
 3556 	- Fixed bug where NSD tries to create 10000 udp sockets,
 3557 	  when starting with 10000 secondary zones. Limited to 50
 3558 	  at a time. The XFRD_MAX_UDP constant controls this.
 3559 
 3560 3 November 2006: Wouter
 3561 	- Created tags/NSD_3_0_2_REL.
 3562 
 3563 2 November 2006: Wouter
 3564 	- Added pdf for differences.tex for ease of use.
 3565 	- Updated text in readme on memory usage.
 3566 
 3567 24 October 2006: Wouter
 3568 	- Recycle rrset memory after doing special processing on the deleted
 3569 	  rrset data.
 3570 	- log message clearer for 'duplicate xfr part' to 'discarding partial
 3571 	  xfr part'.
 3572 	- if you have a server that has IXFR turned off but sends a TC flag
 3573 	  for IXFR queries, xfrd will retry to TCP. This makes the use of
 3574 	  'AXFR' flag in nsd.conf file not needed in certain cases.
 3575 	- Be thrifty and save up the memory that was lost at end of chunks
 3576 	  in the recycle bin. Saved 1.3Mb on 170(rrs)/220(total) Mb dataset.
 3577 
 3578 23 October 2006: Wouter
 3579 	- Added checks for out of memory in reload (diff file). And it exits
 3580 	  if so neatly.
 3581 
 3582 13 October 2006: Wouter
 3583 	- Bug #149: Wrong text for NOTAUTH error code. When notify is not
 3584 	  authorised REFUSED error code returned instead.
 3585 
 3586 4 October 2006: Wouter
 3587 	- More fixes from Koh-ichi Ito (kohi@iri.co.jp now), for bug #146,
 3588 	  his bash does not do $(( )), so nsdc.sh has to use test of course.
 3589 
 3590 29 September 2006: Wouter
 3591 	- recyclebin works, added a test that uses it (about 3 Mb goes
 3592 	  through the recyclebin). This resolves bug #147.
 3593 	- Made -L 1 logging is little less verbose (-L 2 gets it all).
 3594 	- added search path for openssl on Solaris 10 (/usr/sfw).
 3595 
 3596 28 September 2006: Wouter
 3597 	- Removed unused global variable current_region,
 3598 	  and routines for it in region-allocator.c and .h.
 3599 	- Added recycle option to regions. It will keep track of small
 3600 	  objects in a recycle bin. Large objects are deallocated.
 3601 	  No calls to recycle yet, unit test it first.
 3602 	- added unit test for region recycle.
 3603 
 3604 27 September 2006: Wouter
 3605 	- Further suggestion from Koh-ichi Ito, I've set opt->xfrdfile
 3606 	  to XFRDFILE in options_create. So opt->xfrdfile and opt->difffile
 3607 	  are never NULL. This simplifies code elsewhere.
 3608 	  And also handles chroot case (+=l) for default values.
 3609 	- Fix for bug #145. The skip file position in the diff file was used
 3610 	  inconsistently - one part of the code skipped to before the 'IXFR'
 3611 	  type code and another part skipped to after that. Now all skip to
 3612 	  before the type code. This bug only happens if your diff file 
 3613 	  is like: zone1_part1, zone2_part_1, zone1_part2, zone1_commit,
 3614 	    zone2_part2, zone2_commit. The skip over zone1_part1 failed.
 3615 	- tpkg test in long dir that tests for the bugfix. Takes a long time
 3616 	  and uses ldns-testns feature to wait partway through an AXFR.
 3617 	- removed debug log of strerror on diff read failure, when the errno
 3618 	  was already output to the logfile (resulting in a nonsense error).
 3619 
 3620 26 September 2006: Wouter
 3621 	- NSD compiles on Solaris 10 with the sun cc compiler.
 3622 	  Added a define for _STDC_C99 for that.
 3623 	- Checked that the patch for solaris for bug 143 indeed fixes the bug.
 3624 	- Fixed bug #146 reported by Koh-ichi Ito: when chrooted nsd failed
 3625 	  to write xfrdfile/difffile.
 3626 	
 3627 18 September 2006: Wouter
 3628 	- no queries for NSEC3, RRSIG, ANY succeed for nsec3 only domains.
 3629 
 3630 15 September 2006: Wouter
 3631 	- Fixed LOC parsing of integer overflow causing maximum values.
 3632 	  Added to test and backported fix to 2.3.6.
 3633 	- NSEC3 qtype queries get noerror/nodata or nxdomain answers.
 3634 	  You can query for NSEC3PARAM.
 3635 	- warnings for printf format on maxOS (sizet needs cast to int).
 3636 
 3637 13 September 2006: Wouter
 3638 	- added fsync to AF_UNIX sockets to write last command (QUIT) before
 3639 	  closing them.
 3640 	- sent explicit QUIT command to xfrd on final shutdown of the server.
 3641 
 3642 12 September 2006: Wouter
 3643 	- Bug #144: LOC defaults for unspecified values wrong. Error in zonec.
 3644 	  Set defaults. Also fixed parser if LOC has no minutes or seconds.
 3645 	- Also fixed rounding error in seconds 0.001 decimal. 
 3646 	- Test tpkg for bug 144.
 3647 
 3648 11 September 2006: Wouter
 3649 	- nsdc now more portable in use of 'which'.
 3650 	  Does not only look at exit code but also checks for '^no ' string.
 3651 	- nsd-patch does a chdir to zonesdir for relative difffile or dbfile
 3652 	  path names.
 3653 	- nsdc handles zonesdir: for relative pidfile, dbfile, difffile 
 3654 	  pathnames.
 3655 
 3656 7 September 2006: Wouter
 3657 	- bumped version to 3.0.2.
 3658 	- Nice configuration error when you had the wrong zone name in the
 3659 	  nsd.conf file. Zonec will give an error already.
 3660 	- When you start a secondary zone without a zone file, you get
 3661 	  a much nicer error message, warning you of the zone transfer.
 3662 	- Credits for prerelease testers; Thanks guys!
 3663 
 3664 6 September 2006: Wouter
 3665 	- Fixed nsd-patch so that it writes the SOA at the start of the file.
 3666 	- test tpkg that tests for the bug, has multiple rrsets at zone apex
 3667 	  and does nsd-patch followed by zonec.
 3668 	  Previous tests did not catch this: they used nsd-xfer to test zone
 3669 	  contents, or only checked the zone-file after nsd-patch.
 3670 	- version number bumped to 3.0.1.
 3671 	- svn tag 3_0_1 made.
 3672 
 3673 5 September 2006: Wouter
 3674 	- differences file improvements.
 3675 	- created 3.0.0 release in svn tags.
 3676 
 3677 4 September 2006: Wouter
 3678 	- From suggestions by Bin Zhang:
 3679 		- nsdc restart does not fail if nsd was not running.
 3680 		- fixes to man pages, wrong locations for files.
 3681 	- NSEC3-PARAM has no optout bit in presentation format.
 3682 	- NSEC3PARAM spelling.
 3683 	- differences in latex format (needs nlnetlabs housestyle).
 3684 
 3685 31 August 2006: Wouter
 3686 	- Fix for tsig size still set when data is null ptr.
 3687 	- Fix configure for NetBSD (1.6 - 2.0) to find struct timespec.
 3688 	- DIFFERENCES file completion.
 3689 
 3690 30 August 2006: Wouter
 3691 	- Print error nicely when nonblocking connect fails on systems
 3692 	  in a portable way.
 3693 	- doc/UPGRADING document to assist NSD 2 to 3 upgrades.
 3694 	- updates of error print - ignore EINPROGRESS if we check too early.
 3695 	- wait for select writable before testing for connect error.
 3696 	- echo "" >&2 is not as portable as we would like, removed from nsdc.
 3697 	- fixed debug print of a null ptr.
 3698 	- fixed bug where query for CNAME that points to unserved zone caused
 3699 	  nullptr exception on empty zone ptr. Now original zone is restored
 3700 	  after CNAME-pointed data is added to the packet.
 3701 	  Test in dname.tpkg. Reported by Kai.
 3702 	- fixed stack corruption when ipv6 disabled.
 3703 
 3704 29 August 2006: Wouter
 3705 	- NSEC3 made it so it can handle the case where the NSEC3 RRSET
 3706 	  with the SOA bit on does not have the RR with the soa bit set
 3707 	  as the first RR.
 3708 	- Handle NSEC3-PARAM type. Checks to see if any of them work:
 3709 	  zone apex hashed exists, with NSEC3 type, and RR that has
 3710 	  the same parameters and the SOA bit set.
 3711 	- in presentation format of NSEC3, NSEC3-PARAM reversed hash, optout.
 3712 	- update to the DIFFERENCES file, bind 9.3.2 vs NSD 3 and 
 3713 	  NSD 2 and 3 comparisons are completed.
 3714 
 3715 28 August 2006: Wouter
 3716 	- echo messages in nsdc made clearer. nsdc notify and nsdc update
 3717 	  only send notify messages to slaves / localhost to force transfers.
 3718 	- initial NSEC3-PARAM type code entry. parsed, ignored.
 3719 
 3720 25 August 2006: Wouter
 3721 	- disabled make test target as tests are not shipped.
 3722 	- performed prerelease static snapshot.
 3723 	- updates to the DIFFERENCES document.
 3724 
 3725 24 August 2006: Wouter
 3726 	- Fix bug 141 port from 2.3.6, copies behaviour from bind 9.3.2.
 3727 	- Added a test for bug 141.
 3728 	- Bug141: save the opcode from the query.
 3729 
 3730 23 August 2006: Wouter
 3731 	- Fixed % by 0 exception in the bugfix #139.
 3732 	- Fixed RFC 4035 says CD flag SHOULD be cleared on authoritative
 3733 	  responses, now NSD clears the CD flag. This is bug #140.
 3734 	  RFC 4035 could be confusing on this, as it states 'all servers
 3735 	  MUST copy the CD bit' more than once, but then makes clear only 
 3736 	  recursive servers are meant with that statement.
 3737 	- Differences document updates for bind 9.3.2 and nsd 3.
 3738 
 3739 22 August 2006: Wouter
 3740 	- version number to 3.0.0 in preparation for release.
 3741 	- Bug #139: resync stats to whole period. Fixed.
 3742 
 3743 21 August 2006: Wouter
 3744 	- check for error in ftruncate call.
 3745 	- replaced fwrite call with write_data call from util that does
 3746 	  error checking.
 3747 
 3748 15 August 2006: Wouter
 3749 	- removed unused struct nsd.named8_stats variable.
 3750 	- Bug #138: nsd aborts trying to bind all interfaces if ip6 is not
 3751 	  enabled, instead it will fallback to ip4.
 3752 
 3753 14 August 2006: Wouter
 3754 	- Added test for rollback of an IXFR transfer by xfrd.
 3755 	- Added test for reload timeout in xfrd, the reload does happen after
 3756 	  a while, but not immediately.
 3757 	- Test that makes xfrd connect to ip6 address.
 3758 	- Test that overloads the number of tcp connections in xfrd,
 3759 	  simulating a slow master, so that zones have to queue up to get it.
 3760 	- code coverage is now 2514 of 10636 uncovered. Still a lot uncovered.
 3761 	- ixfr queries return NOT_IMPL errors.
 3762 
 3763 11 August 2006: Wouter
 3764 	- srandom to init random() in xfrd based on PID and time.
 3765 	- improved usage() information to be more helpful, and with version.
 3766 	- in makedist.sh, flex and bison called like in Makefile.
 3767 	- test for tcp underrun and overrun of the buffer.
 3768 
 3769 10 August 2006: Wouter
 3770 	- added more tests to increase code coverage of testset.
 3771 	- moved acl parsing code from configparser.c to options.c to help
 3772 	  unit testing.
 3773 	- nsd-checkconf echod wrong difffile filename with -v.
 3774 	- nsd-patch can now be used with -f to force printing of all RRs.
 3775 	- TYPE_NULL crashed NSD when it printed it, arg was ZF_DNAME,
 3776 	  now ZF_UNKNOWN.
 3777 	- unknown rr test was faulty on input, the length was in nibbles
 3778 	  not in octets, but rfc specifies octets for unknown rrs.
 3779 	  NSD does not look at the length, and prints the length correctly.
 3780 	- added type NXT to the rr-test for weird RRs.
 3781 	- added printing test to rr-test, ipseckey and unknown-rr tests.
 3782 	  checks if NSD prints the same RR on output as it read in.
 3783 	- put -x option for nsd-patch in usage().
 3784 	- test that kills an nsd child server and checks that it is
 3785 	  restarted.
 3786 
 3787 9 August 2006: Wouter
 3788 	- tested nsdc functionality, make install and make uninstall.
 3789 	- set O_NONBLOCKING on xfrd tcp sockets before the connect call,
 3790 	  because the handshaking can take very long too.
 3791 	- difffile and xfrdfile set via configure, to absolute pathnames,
 3792 	  so that chroot checks work for them.
 3793 	- updated tpkgs, they need to set relative paths now for difffile.
 3794 	- gcov says 2821 of 10617 total code lines are not covered.
 3795 	  compiled with --coverage, not -O2, ran tpkg/* and long/testplan*.
 3796 	  counted grep '#####:' *.gcov | wc and grep '^ *[0-9]*:' *.gcov | wc.
 3797 	- cleaned up the log functions, NSD no longer spams the syslog with
 3798 	  debug messages. The standard NSD debug util is used, -F -1 -L 2 for
 3799 	  a compile configured with --enable-checking will enable them again.
 3800 	  Errors are logged, as is the automated reload of a new serial.
 3801 	- tpkgs for bug077 and bug107 were silently failing to test properly.
 3802 
 3803 8 August 2006: Wouter
 3804 	- fixes for checkconf test, more portable.
 3805 	- removed items from TODO that have been tested.
 3806 	  for multihomed servers you have to bind to each interface
 3807 	  explicitly to get outgoing ip-address the same as query
 3808 	  destination ip-address.
 3809 	  Forks and if-existing are tested and ok in testplan tests.
 3810 	  close_all_sockets is called by child, if tcponly, so leave it. 
 3811 	- user name check is hard portably with shell scripts, and 
 3812 	  packaging could set a default user that does not exist on a machine.
 3813 	- empty nodes (nonterminals) give no nxdomain any more (todo item done).
 3814 	- removed (old) from TODO.
 3815 	- removed contrib/buildzones.pl, it is outdated.
 3816 
 3817 7 August 2006: Wouter
 3818 	- Made the tests a little more portable.
 3819 	- fixed mempcy unable to handle unaligned memory addresses on Solaris,
 3820 	  used memmove instead of memcpy in zonec LOC conversion code.
 3821 	- another unaligned memory access, when storing off_t pointer in 
 3822 	  difffile.c, used memmove.
 3823 
 3824 4 August 2006: Wouter
 3825 	- nsd will start if diff file is corrupt, with a log message.
 3826 	  It ignores the bad data.
 3827 	- tpkg files do not override PATH, svnhook sets it. So user can
 3828 	  set path to utilities on the system to run the tests.
 3829 	- running testset on DecAlpha discovered uninitialised variable
 3830 	  in NSD. Fixed.
 3831 	- Jakob Schlyter asked for building nsd3 in an obj dir, i.e.
 3832 	  mkdir obj; cd obj; ../configure && make. Fixed up makefile for that.
 3833 	- and bug137.tpkg for separate obj dir building.
 3834 
 3835 3 August 2006: Wouter
 3836 	- more tests in mesh test.
 3837 	- changed test packages to put nsd log to test result "/dev/stdout".
 3838 	- test packages more portable - use default 'dig' location.
 3839 	  also, path is appended to, instead of replaced.
 3840 
 3841 2 August 2006: Wouter
 3842 	- Region can be customised for detailed memory handling.
 3843 	  Especially if you set large_object_size=0, chunk_size=0,
 3844 	  the region will perform individual allocs, and 'save memory'.
 3845 	  The region still keeps tracks of allocations so that at
 3846 	  region_free time all memory is released.
 3847 	- tsig.region removed, it was not used after attaching a cleanup
 3848 	  at creation. tsig creation uses custom region settings.
 3849 	- xfrd inits the tsig records with memory saving settings,
 3850 	  so the regions alloced for tsig take up about 60 + 4*8 bytes.
 3851 	- new custom region for query region - to make chunksize larger
 3852 	  there. The chunksize for the query region is important, if
 3853 	  all allocations for a query fit in it, no mallocs are needed.
 3854 	- TSIG other_data field size according to RFC 2845 is 0 or 6.
 3855 	  In tsig implementation put a maximum to the field of 16,
 3856 	  otherwise a formerror results.
 3857 	- query with IXFR appended SOA not formerror.
 3858 	  IXFR queries not reach the handler in axfr.c for IXFR queries.
 3859 	- removed annoying debug message of added tsig key.
 3860 	- added test that starts 7 servers in a mesh and lets them fight out
 3861 	  what zones to transfer and serve.
 3862 	- xfrd logic bug: if notified a slave would not see the renewal
 3863 	  of its current zone.
 3864 
 3865 1 August 2006: Wouter
 3866 	- Test for remove domains with IXFR.
 3867 	- Fix for empty nonterminals and IXFR deletes.
 3868 	- Test for timeouts, including expiry, and expiry and zone updates.
 3869 	- Test for axfr refused authorisation.
 3870 	- Test for deadlock in ipc.
 3871 
 3872 31 July 2006: Wouter
 3873 	- Test plan ixfr test in tpkg/long directory.
 3874 	- IXFR with many packets tested (one RR per packet).
 3875 
 3876 28 July 2006: Wouter
 3877 	- tentative change, that preserves ordering of rrtypes for a domain.
 3878 	- fix for serial rollover (old_serial + 2**31), now works, is seen
 3879 	  as new serial and rolled over to new.
 3880 	- serial numbers, and time values, printed as unsigned to logfile.
 3881 	- set so that if info is provided by operator, refreshing state
 3882 	  not expired is used.
 3883 	- forgot to * a pointer to boolean, is_ixfr in the difffile reader.
 3884 	  This fixes the testplan_ixfr test 1.
 3885 
 3886 27 July 2006: Wouter
 3887 	- fixup desc of tsig xfer test, remove debug from xfr_huge.
 3888 	- fixed compressed dname tables cleanup, to set ptr to NULL.
 3889 	- initialised xfrd_listener.fd to -1.
 3890 	- fixed difffile handling of very short AXFRs, with no data.
 3891 
 3892 26 July 2006: Wouter
 3893 	- Updated the requirements with comments from Olaf.
 3894 	- README discourages use of experimental nsec3 rr a bit more.
 3895 	- typo in DNAME code, used original qname instead of CNAME
 3896 	  adapted qname variable.
 3897 	- added IPSECKEY RR type, RFC 4025.
 3898 	- tpkg test with sample ipseckey rrs.
 3899 	- wireformat for IPSECKEY depends on the value of a rdata atom, added
 3900 	  WF_IPSECGATEWAY to handle that.
 3901 	- DHCID type, data is encoded in one binary/b64 blob.
 3902 
 3903 25 July 2006: Wouter
 3904 	- max number of tries for nsd-notify is 15, so that the
 3905 	  total time for sending is about 75 seconds.
 3906 	- forward port of fixes for bug 105 and 135 in nsdc.
 3907 	  forward port of test for bug 105.
 3908 	- fixed nasty bug with configure --prefix=<...> where config.h
 3909 	  was wrong. Now double evaluate the shell expansion on the defines.
 3910 
 3911 5 July 2006: Wouter
 3912 	- helped in README with gnu make; need to make clean
 3913 	  so that botched attempts by make to create the lexer files
 3914 	  do not stay around.
 3915 	- removed %zd, replaced by casts to int.
 3916 	- updated REQUIREMENTS file, the sections on RR types, on what
 3917 	  algorithm NSD follows and on which RFCs are supported are updated.
 3918 
 3919 3 July 2006: Wouter
 3920 	- 'make depend' target in makefile. (updates both Makefile.in
 3921 	  and Makefile, so it works for users and for svn).
 3922 	- doc minor update.
 3923 
 3924 2 July 2006: Wouter
 3925 	- TESTPLAN, README, bugzilla-bugs docs updated.
 3926 	- NSD for BIND users update.
 3927 
 3928 29 June 2006: Wouter
 3929 	- removed --zonesfile nsd.zones configure option.
 3930 	- doc/README updated for 3.0.
 3931 	- doc update. NSD_FOR_BIND_USERS document.
 3932 	- moved from -Ds to the config.h header, cleaner compilation output.
 3933 	- use autoconfs built in large file support enabler.
 3934 
 3935 28 June 2006: Wouter
 3936 	- nsdc neater, checks for BLOCKED ips more strictly.
 3937 	- nsd -d also disables xfrd forking, and thus all reloads
 3938 	  and secondary zone treatment. Stated so in manual page.
 3939 	- fixup, apart from ip4 need to allow ip6 in example.conf
 3940 	  line showing how to allow access for everyone to axfr.
 3941 
 3942 27 June 2006: Wouter
 3943 	- Fixed read in server.c to be a blocking read for sure,
 3944 	  even if ipc is not blocking on the OS.
 3945 	- nsd-notify tries to send notify 5 times, then exits with error.
 3946 	- nsd-checkconf can lookup key secrets by name from a config file.
 3947 	- difffile option is always set in options struct with default
 3948 	  or config value.
 3949 	- nsd-patch uses dnames to compare zone names (for trailing .).
 3950 	- nsdc updated to work with config file.
 3951 
 3952 26 June 2006: Wouter
 3953 	- Nicer check in autoconf for struct timespec type.
 3954 	- NSEC3 next hashed ownername is a length byte followed by data.
 3955 	- nsd-checkconf more quiet, clearer error message.
 3956 	- NSEC3 does not complain about glue records without nsec3.
 3957 	- nsdc work (did start, stop, running, rebuild, restart, reload, stats).
 3958 
 3959 21 June 2006: Wouter
 3960 	- nsid commandline parsed using hex_pton routine.
 3961 	- unit test for hex_pton.
 3962 	- added include stdlib, needed for free() on sunos4.
 3963 	- fixup of disable-ipv6 compilation.
 3964 	- memmove compat implementation (created fresh).
 3965 	- yy_set_bol() for old flex compat define.
 3966 	- compat implementation from openssh4.3p2 for
 3967 	  strlcpy, inet_aton, and inet_ntop routines.
 3968 	- changed ctime_r usage to ctime() call, nsd is not threaded.
 3969 	- compiles on SunOS4/gcc-2.95.
 3970 	- debug statements go to the log_msg route instead of the
 3971 	  fprintf route, so they will get to a nice logfile even if
 3972 	  we forked away, with xfrd. logfile=/dev/stderr gives old way.
 3973 	- minor changes to cutest to make unit test compile
 3974 	  on SunOS4/gcc-2.95, it checks out fine there.
 3975 
 3976 20 June 2006: Wouter
 3977 	- updated configure to disable -O2 on platforms where gcc 
 3978 	  does not like it (such as dec-alpha).
 3979 	- nsd-notify used recvfrom and passed addrinfo.ai_addrlen
 3980 	  which is a size_t, but recfrom needs a socklen_t*. On dec
 3981 	  alpha these types differ in size (size_t is 64bit, 
 3982 	  socklen_t is 32bit). Therefore, used a wrapper variable
 3983 	  to pass to recvfrom.
 3984 	- changed long int to time_t in nsd-patch.c to please compiler
 3985 	  on dec alpha.
 3986 	- dec alpha complains if statements are in front of variable
 3987 	  definitions. Fixed code for some mixups on this.
 3988 	- Fixup cutest for dec alpha. Code, lowercase filename, %lf->%f.
 3989 	- cutest fixup uses (size_t) cast and %zx to print ptrs (for debug).
 3990 	- for SunOS4 configure detects ssize_t and struct timespec.
 3991 	- removed usage of fpos_t, instead using fseeko/ftello for 64bit.
 3992 	- configure will define fseeko/ftello with fseek/ftell if unavailable.
 3993 	- added missing include from buffer.c (stdlib for free()).
 3994 	- defines for snprintf and vsnprintf in config.h if needed.
 3995 	- configlexer flex is called more cleanly with -t to write stdout.
 3996 	- missing include from configparser, stdlib for atoi.
 3997 	- config.h provide inet_pton define if it is not available.
 3998 	- fixup of INET6 defines, where sockaddr_storage is used
 3999 	  outside of INET6 defines, in xfrd-tcp.
 4000 	- edns_init_nsid was not defined in edns.h.
 4001 	- added compat/fake-rfc2553.c and h from openssh 4.3p2. That has
 4002 	  a BSD license as well. They replace getaddrinfo() (and friends)
 4003 	  when those are missing.
 4004 
 4005 19 June 2006: Wouter
 4006 	- updated the tpkg/manual tests for NSD 3 config files.
 4007 	  Some need root privileges to run (using hping), they all pass.
 4008 	- also the tpkg/long test bug_sighup.
 4009 	- nsec3 code will warn at prehash time for missing exact nsec3
 4010 	  records. So faulty signed zones are more easily spotted.
 4011 	- fixed NSEC3 and CNAME/DNAME chains, it will disprove the new qname.
 4012 	- removed for() look in CNAME processing, only first CNAME is
 4013 	  processed now.
 4014 	- zonec will error on a zone with multiple CNAMEs for one name.
 4015 
 4016 16 June 2006: Wouter
 4017 	- Swapped read and write ops in xfrd_handle_ipc, so that a read
 4018 	  of a signal from main can stop further writes.
 4019 	- xfrd will complete its last message before shutting down
 4020 	  the ipc writes and then acknowledge the reload-sync.
 4021 	  This resolves the race where half of ipc messages caused bad
 4022 	  modes from the main.
 4023 
 4024 15 June 2006: Wouter
 4025 	- In preparation of notify send overhaul, moved the notify
 4026 	  send code to xfrd-notify.c and h files.
 4027 	- created cleaner split of notify send and xfr code.
 4028 	  Still in the xfr process, because it is a convenient location.
 4029 	- fixed bug where notify sending would read from wrong fd.
 4030 	- send master zone notifies.
 4031 	  Does not skips master zone SOA INFO updates.
 4032 	- fixed bug where port number acls did not match.
 4033 	- fixed bug where tsig keys are checked for twice, but not error_code.
 4034 	- fixed notify send retry counting.
 4035 	- added test tpkg for notifies from nsd master to nsd slave.
 4036 	- nsd-checkconf flags if you set allow-notify without request-xfr.
 4037 
 4038 14 June 2006: Wouter
 4039 	- fixed crash bug when dnssec/NSEC enabled and query DNAME
 4040 	  target did not exist.
 4041 
 4042 13 June 2006: Wouter
 4043 	- created doc subdirectory for documentation.
 4044 	- removed unused DIFF FILE MAGIC string.
 4045 
 4046 12 June 2006: Wouter
 4047 	- dname_test tpkg with very extensive DNAME testing.
 4048 	- moved sizes of zone_name buffers to 3072 - for escaped names.
 4049 	- nsd-patch has a debug option to list the contents of the 
 4050 	  difffile/ixfr.db/transfer patch log in a journal fashion. You can
 4051 	  then manually inspect the contents.
 4052 
 4053 9 June 2006: Wouter
 4054 	- after a reload NSD will report the memory churn: number of bytes
 4055 	  of memory wasted by the zone transfer code.
 4056 
 4057 8 June 2006: Wouter
 4058 	- When zone is re-chosen after a CNAME/DNAME no SERVFAIL is set,
 4059 	  noerror is returned instead.
 4060 	- zonec will error on multiple DNAMEs for the same name.
 4061 	- zonec will error on DNAME and CNAME together.
 4062 	- improved loop log message.
 4063 
 4064 7 June 2006: Wouter
 4065 	- after DNAME the closest_match is set correctly for another DNAME.
 4066 	- in case of a loop returns gracefully instead of crash.
 4067 	- nsec3 checks if it is enabled for the zone for wildcards.
 4068 	- NSD will give referrals for zone cuts encountered after a CNAME
 4069 	  or a DNAME. This also fixed various subtle stuff with CNAME/DNAME
 4070 	  and TYPE_DS at zone cuts. It basically re-determines the zone
 4071 	  to use after the CNAME/DNAME.
 4072 
 4073 6 June 2066: Wouter
 4074 	- zonec checks for data below a DNAME, and will not create the db,
 4075 	  as per rfc 2672. Tpkg test to make sure such a zone is not loaded.
 4076 	- updated rr-test tpkg so it has no data below a DNAME.
 4077 	- DNAME synthesis of CNAME records, including compression for cname.
 4078 	- included cname creation in dname test.
 4079 	- preallocate the extra temporary domain_type structures.
 4080 	- too many temp domains returns OK packet so that the resolver 
 4081 	  will recurse and ask us again with the last name in the chain.
 4082 	- fixed bug introduced in preallocation on temp domain numbering.
 4083 
 4084 2 June 2006: Wouter
 4085 	- dname_replace function that does DNAME replace and unit tests.
 4086 	- added error codes from DNSUPD rfc2136 to constants in dns.h.
 4087 	- in query.c added DNAME following code.
 4088 	- fixed bug 134: hints[i] in nsd.c to hints[0].
 4089 	- added tpkg small test for DNAME.
 4090 	- tpkg to test bug 134 (starts 100 processes).
 4091 
 4092 1 June 2006: Wouter
 4093 	- tsig test with NSD master and NSD slave server. Tsig AXFR transfer.
 4094 	  nsd-xfer used to test slave zone contents.
 4095 	- fixed bug where buffer_flip() is done before appending tsig rr.
 4096 	- version printed at start of nsd in logfile.
 4097 	- xfrd prints name of tsig key used during transfer in commit comments
 4098 	  so it appears in the log file and in zonefile after nsd-patch.
 4099 	- prints RRs from diff file only if debug level >= 1.
 4100 	- scalable transfer test xfr_gig added, you can set the size to try
 4101 	  in the .pre file. Now set very small.
 4102 
 4103 31 May 2006: Wouter
 4104 	- xfrd check for failed updates. It compares the time it wrote the
 4105 	  commit to disk with the time of the last reload command.
 4106 	  Failed updates are restarted like the zone is notified of the soa.
 4107 	  It also catches reloads that have been lost (reload cmd while reload
 4108 	  is running, or a crashed reload process, for example).
 4109 	- when reload is issued, times at that second are put back one second,
 4110 	  so that after a reload all the zones that should have been loaded
 4111 	  have a time from before the reload. 
 4112 	- if a reload crashes, NSD will continue with the old database,
 4113 	  xfrd is not informed, since it cannot fix that. 
 4114 	- nsd-checkconf strdups arg strings before writing to it.
 4115 	- tsig error replies contain error data, but no signature.
 4116 	  also crashproof, badly formatted tsigs get a format error.
 4117 	- tsig error print knows about DNS rcodes in tsig error field.
 4118 	- added tpkg tests for tsig.
 4119 	- tpkg test for nsd-xfer with TSIG from nsd.
 4120 	- small stuff with makedist.sh, CREDITS, Features, make test.
 4121 
 4122 30 May 2006: Wouter
 4123 	- tsig pre-allocs the rr_region, not at runtime, tsig_create_record().
 4124 	- redid some region work for tsig. Now has another temporary region
 4125 	  for the context data. User is only aware of the region passed at 
 4126 	  start that exists for the lifetime of the struct.
 4127 	  During TSIG checks no more mallocs are done, only region_free_all
 4128 	  and region allocs (of small size).
 4129 	- checkconf, port is stored as a string.
 4130 	- tsig now keeps a max_digest_size for giving reserved space.
 4131 	- AXFR does tsig every 96 packets (and first and last packet).
 4132 	- tsig signing works for all queries. SOA queries, ...
 4133 	  If you configured the key in the config file, you can use
 4134 	  that key for any query for any zone.
 4135 	  Except for NOTIFY and AXFR queries; those are only allowed for
 4136 	  the zone (and source ip address) which are configured in the config.
 4137 	- cleaner compile with tsig disabled.
 4138 	- fixed unknown key error reply in tsig.
 4139 
 4140 29 May 2006: Wouter
 4141 	- The nonblocking write routines disable silently if they have
 4142 	  nothing to do.
 4143 	- put xfrd read/write state routines (almost 500 lines of code)
 4144 	  into xfrd-disk.c file.
 4145 	- little readme blurb on xfrd state file for the operator.
 4146 	- put ipc code in its own file for ease of reading.
 4147 	- removed --disable-axfr, you can control this via acls.
 4148 	  With no provide-xfr: statements, a zone will not do axfr.
 4149 
 4150 25 May 2006: Wouter
 4151 	- fixed reload sending; it checks for EAGAIN and EINTR.
 4152 	- reload sends parent quit command blocking to make sure of arrival.
 4153 	- send_children_quit in parent uses nonblocking writes and closes
 4154 	  the pipe to signal the child to quit (even if the write does not
 4155 	  come through, the closed pipe will cause the child to quit).
 4156 	- need_to_send_STATS flag in parent. 
 4157 	- reload has its own ipc-listening handler in server_main.
 4158 	- nonblocking writes for server_main; this solved write-blocking race.
 4159 	- another race condition solved, if a process dies, half a read or
 4160 	  write buffer could be left behind on another process. These are
 4161 	  dropped. Now:
 4162 	  	* The server_main drops ipc from dead children.
 4163 		* The server_main drops ipc if xfrd dies.
 4164 		* The server_main drops xfrd(old) and all children ipc 
 4165 			on reload.
 4166 		* The xfrd drops ipc to parent on a SOA_BEGIN from reload.
 4167 		  So after reload, but parent and xfrd start with 
 4168 		  clean ipc buffers.
 4169 
 4170 24 May 2006: Wouter
 4171 	- unit tests print progress while running to stderr. Included license
 4172 	  of cutest with its source in svn repository.
 4173 	- stack type (for the IPC buffer of zone update dirty). And unit test.
 4174 	- only update zone-is_ok if needed to reduce memory copy on write.
 4175 	- split off conn_write() from xfrd tcp nonblocking write routines.
 4176 	- nonblocking writes for xfrd.
 4177 
 4178 22 May 2006: Wouter
 4179 	- ported over minor nits from 2.3.5 NSD fixups. Cast to (void) 
 4180 	  unused function return values.
 4181 	- removed kill signal to children, superfluous due to quit cmd ipc.
 4182 	- moved is_ok for zones to the zone_type in namedb, not in 
 4183 	  the options, it is a runtime value not a config value.
 4184 	  For zones that have no data, parent and children keep no state.
 4185 
 4186 12 May 2006: Wouter
 4187 	- fixed up usage print for zonec to include -f option.
 4188 	- xfrd send notifies.
 4189 	- server no longer sends SOA INFO for master zones.
 4190 	- removed possible debug log print of a null string.
 4191 
 4192 11 May 2006: Wouter
 4193 	- nsd.conf.sample shows defaults for ip4-only, ip6-only and debug-mode.
 4194 	- SOA_BEGIN message on start of reload sending soa info so that
 4195 	  xfrd will not reply with expire-notifications and thus deadlock
 4196 	  both on blocking writes (and no OS buffer on the pipes).
 4197 
 4198 10 May 2006: Wouter
 4199 	- nsdc.sh is set +x after creation.
 4200 	- improved error message when zone in db has no config info.
 4201 	- support for broken nsec3 chains (if the one with the SOA bit
 4202 	  is complete, it is OK for there to be other nsec3 chains 
 4203 	  with different parameters in the zone).
 4204 
 4205 9 May 2006: Wouter
 4206 	- Fix for finding bad zone when populating SOA info on start.
 4207 	 it would find a parent zone instead of the zone in question (
 4208 	 which is empty).
 4209 	- request-xfr: AXFR 10.0.0.153 keytouse syntax to interoperate
 4210 	  with NSD machines. Will only send AXFR queries to the machine.
 4211 	- documented AXFR option in nsd.conf.5 manual page,
 4212 	  and updated nsd-checkconf, nsd.conf.sample.
 4213 	- made 'skipping zone' log entry clearer (Sam Weiler asked).
 4214 
 4215 8 May 2006: Wouter
 4216 	- updated zparser.y to handle empty nsec_seq lists.
 4217 	  for empty nonterminals in NSEC3.
 4218 	- nicer without ambiguous grammar.
 4219 
 4220 5 May 2006: Wouter
 4221 	- nsd-notify handles option -y key:secret to TSIG sign outgoing
 4222 	  queries.
 4223 	- the acl checks now verify TSIG signatures on the query.
 4224 	- iterated_hash compiles with ssl disabled.
 4225 	- new ipc NSD_ZONE_STATE sent by xfrd to nsd process. notifies
 4226 	  nsd of the state (ok or expired) of a zone.
 4227 	- reload process waits for the old server_main to exit to make
 4228 	  sure there is no race condition listening to the NSD_ZONE_STATE
 4229 	  messages generated when reload sends SOA_INFO to xfrd.
 4230 	- server_main and children all set zone_ok state in config options.
 4231 	  also server_main so that newly forked children get the right state.
 4232 	- if a secondary zone is expired, NSD returns SERVFAIL.
 4233 	  a transient error, so resolvers try again later.
 4234 	- SOA_END ipc message, sent by reload to xfrd, so it can repeat
 4235 	  all zone states (which can have changed during reload).
 4236 	- zone_is_ok kept in config section so that state for zones
 4237 	  without data is not lost. Those have no zone_type*.
 4238 	- secondary zones start in the expired state.
 4239 	- if expired zones are updated, then NSD gets the go ahead from
 4240 	  xfrd after reload sends SOAINFO/SOAEND msg, so it is really
 4241 	  updated in nsd memory.
 4242 	- fixed tpkg xfr_1 to have longer expiry times (from 0 and 3
 4243 	  seconds to 2000 and 3000 seconds), so the zone does not expire
 4244 	  during the test anymore.
 4245 
 4246 4 May 2006: Wouter
 4247 	- when a new lease is acquired xfrd_packet_newlease result is used.
 4248 	- if a zone is lost in nsd db, xfrd will update state to match.
 4249 	- IXFR can use TSIG in queries and verify responses.
 4250 	- Fixed memory leak in xfrd tsig handling.
 4251 
 4252 3 May 2006: Wouter
 4253 	- forward of 2.3.4 RELNOTES into trunk.
 4254 	- debug log statements to track xfrd request rounds.
 4255 	- removed memleak from handle_passed_packet in xfrd.
 4256 	- faster find_zone in difffile.c.
 4257 	- nsd-patch writes commit log entries into zone file.
 4258 	- took some tsig.c enhancements from 3 branch,
 4259 	  -> if key or algo changes during connection, return bad_key,
 4260 	  -> debug statement neater.
 4261 	- nsd adds tsig keys to tsig keyring at startup.
 4262 
 4263 2 May 2006: Wouter
 4264 	- ifdef inet6 back on ss_family usage in server.c.
 4265 	- nsd-checkconf ip6 ifdefs improved.
 4266 	- xfrd tries servers 3 rounds, then waits for next retry.
 4267 
 4268 1 May 2006: Wouter
 4269 	- off_t used for 64bit fileio. 
 4270 	- searches for smallest unused part and sets diff_skip to that.
 4271 	- doc comment near the region_free_all for every query about 
 4272 	  malloc speed.
 4273 	- null ptr in strcmp does not work on bsd, fixed nsd-checkconf.
 4274 	- made nsd.conf.sample.in so the sample gets prefix-corrected.
 4275 	- removed nsd.zones.sample.
 4276 	- makedist.sh added manual pages for nsd-xfer nsd-patch.
 4277 	- install/uninstall nsd-patch, nsd-checkconf and manpage. 
 4278 	  small update readme.
 4279 
 4280 28 Apr 2006: Wouter
 4281 	- ixfr >64k in xfrd.
 4282 	- fixed length of new commit parts.
 4283 	- fixed multiple ipc reads in xfrd.
 4284 	- fixed multiple packet ixfr read in diff file.
 4285    Miek:
 4286 	- Forward port fixes for nsd-xfer and nsd-notify
 4287 
 4288 27 Apr 2006: 
 4289    Wouter:
 4290 	- nsec3 review fixes.
 4291 	- diff file format expanded for >64kb transfer support.
 4292 	- diff reader adjusted for >64kb.
 4293    Jelte:
 4294 	- small non-null options check in nsd.c.
 4295    Miek:
 4296 	- updated nsd-checkconf for zone parse shell script support.
 4297 
 4298 25 Apr 2006: Wouter
 4299 	- Tests on NSEC3 code. Fixed that the unsecure delegations also
 4300 	  have _ds_ parent nsec3 prehashes, so that they get proper NSEC3s.
 4301 	  NSD will serve NSEC3s to prove 'opt-out' also if the opt-out bit
 4302 	  is (erroneously) not set.
 4303 	- For the 05pre2 draft section 5.4.8.1. QTYPE is NSEC3, only NSEC3
 4304 	  RRsets at name. Fixed that RRSIGs present do not matter.
 4305 	  And also the closest encloser proof in that case fixed.
 4306 	  If wildcard exists below zone apex servfails (cannot disprove
 4307 	  it and NSD cannot instantiate the wildcard at that point).
 4308 
 4309 24 Apr 2006: Miek
 4310    Miek:
 4311 	- forward port nsid (disabled by default)
 4312    Wouter:
 4313 	- nsd-patch manual page.
 4314 	- minor MacOSX port fixes.
 4315 	- xfrd-reload-timeout: config option.
 4316 	- if you set the xfrd reload timeout to -1 it will not
 4317 	  automatically reload after a transfer. User can reload.
 4318 	- reload timeout is a wait period after the reload is triggered.
 4319 	- more verbose acl logging. Validated acls are logged in detail.
 4320 	  Invalid acls are only logged in debug mode, level >= 1.
 4321 	- log message when xfrd tcp connections max out.
 4322 	- if unknown NSEC3 hash type (not SHA-1), disable NSEC3.
 4323 	- xfrd randomizes the timeouts, within 10% of original,
 4324 	  to spread out activity. Short timeouts < 10 seconds are not
 4325 	  affected, and will give activity bursts (on startup for example).
 4326 
 4327 21 Apr 2006: Wouter
 4328 	- put NSEC3 code in nsec3.c and nsec3.h.
 4329 	- iterated_hash only adds the salt if salt_len > 0.
 4330 	- added some assertions and cleanups to nsec3 code.
 4331 	- prehash also calcs the nsec3_last domain*.
 4332 	- dbaccess when reading in will set the rr_type.owner value.
 4333 	- changed namedb_find_zone to domain_find_zone, log msgs.
 4334 	- implemented logic from nsec draft 05-pre2 section 5.4.1 - 5.4.8.
 4335 	  NSEC3 responses only happen for nsd compiled with --enable-nsec3
 4336 	  and for zones where an NSEC3 with the SOA bit set exists.
 4337 	- added prehash pointer to ds parent side cover for opt out.
 4338 	- removed dynamic plugins. Dynamic plugin support is an explicit 
 4339 	  non-requirement (under creeping featurism).
 4340 	- in domain table create root nsec3 ptrs are NULL.
 4341 
 4342 20 Apr 2006: Wouter
 4343 	- Unittest of base 32 encoding. 
 4344 	- unittest start for iterated hash.
 4345 	- fixed for ctrlc in debug mode.
 4346 	- delete zparser_conv_long, not used, not needed
 4347 	- nsd-xfer will display NSEC3 correctly. zonec parses.
 4348 	- improved usage() line from zonec, about -c none, must be -C.
 4349 	- base32 printed in lowercase (canonical format for DNS).
 4350 	- NSEC3 added prehash pointers to the namedb.
 4351 	- NSEC3 autodetects presence of NSEC3 in zone and parameters.
 4352 
 4353 19 Apr 2006: Wouter
 4354 	- port fix base10 in zonec conv short from 2_2 branch to trunk.
 4355 	  and conv byte, algo, certificate, long.
 4356 	- configure option to enable NSEC3 (--enable-nsec3) support.
 4357 	- from Ben Laurie's NSEC3 patch, loaned the parse code,
 4358 	  base32 conversion code and iterated_hash. 
 4359 	  With some small modifications. The type rrdescriptors are 
 4360 	  indexed by value below SPF, and in 
 4361 	  rdata_wireformat_to_rdata_atoms BINARYWITHLENGTH checks
 4362 	  for end of buffer. Also parser checks for '-' salt.
 4363 	  Some layout (spaces after ,s). And NSEC3 define is used.
 4364 	  strtol used for iterations is base 10.
 4365 	- moved rrtype descriptor table sanity check to unittest.
 4366 
 4367 18 Apr 2006: Wouter
 4368 	- Fixed check for SOA IN, bad ntohs in the check.
 4369 	- minimum timeout also enforced for very low expire times.
 4370 	- report the actual used length of the sockaddr to sento
 4371 	  for FreeBSD.
 4372 
 4373 7 Apr 2006: Wouter
 4374 	- modified the kill_nsd tpkg so that it waits up to 10x5 secs
 4375 	  for nsd to make the pid file, and it wait up to 10x5 secs for
 4376 	  nsd to exit after the kill signal is given.
 4377 	- xfrd checks on startup if there is trailing garbage in the
 4378 	  diff file, left there by a previous xfrd killed in action.
 4379 	  It then snips off any partial parts, so service can resume.
 4380 	  Also the difffile_skip pos is set before any partial record there.
 4381 	- first version of nsd-patch; reads db and ixfrs and updates zones.
 4382 	- moved print_rdata from nsd-xfer to rdata.h to share code.
 4383 	- moved print_rr from nsd-xfer to util.h to share code.
 4384 
 4385 6 Apr 2006: Wouter
 4386 	- notify handler passes acl number that matches to xfrd.
 4387 	- xfrd keeps a next_master for a zone, and sets it after notify.
 4388 	  when notified nsd will try to contact the master that sent
 4389 	  the notify, if send from an address that is both in acl
 4390 	  allow-notify and request-xfr.
 4391 	- xfrd closes its tcp and udp sockets on exit.
 4392 	- default names for diff file and xfrd state nicer.
 4393 	- fixed up kill nsd grep on ps.
 4394 	- fixed up race conditions in test script for kill nsd
 4395 	  wait for pid file creation by nsd, and grep -v grep in check.
 4396 	- in nsd signal-flags inherited from the parent are zeroed 
 4397 	  when a server_child starts. Also the server_child switches back
 4398 	  to NSD_RUN mode when a bad mode happens.
 4399 	- check if ixfrs start from the version in memory.
 4400 	- if IXFR/AXFR ends in a serial that is newer than the serial
 4401 	  that was sent in an notify, update the notified serial.
 4402 
 4403 5 Apr 2006: Wouter
 4404 	- added lowerbound for retry timeout.
 4405 	- added extra assertions to xfrd-tcp.c, saying that the waiting line
 4406 	  for tcp connections must be empty if the counter is below max.
 4407 	- setup so that the first master tried is the first in acl list.
 4408 	- diff file skips OPT and TSIG RRs if they are put into the answer
 4409 	  section.
 4410 	- if IXFR contains an RR to delete that does not exist, nothing
 4411 	  happens.
 4412 	- update zone for NS, RRSIG also if multiple RRs in the rrset.
 4413 	- difffile: create zone struct also if domain exists already.
 4414 	- difffile: destroy temp region on error.
 4415 	- difffile: in delete_RR, create temp region outside of the routine,
 4416 	  so no alloc region, destroy region for every deleted RR.
 4417 	- difffile: for IXFR: do not delete final SOA RR.
 4418 	- difffile: unknown parts in file is an error.
 4419 	- difffile: EOF on last packet is ignored w/o giving an error.
 4420 
 4421 4 Apr 2006: Wouter
 4422 	- Addes EACCES to the netio dispatch error bailout.
 4423 	- Removed EACCESS (probably due to log_msg), error on close
 4424 	  xfrd pipe is small, main process closes its end, and hopes for 
 4425 	  the best).
 4426 	- review: return on error condition in xfrd_tcp_open fixed.
 4427 	- review: expired when time >= expire_time, so it will not wait
 4428 	  for the retry after expire until it will detect the expiredness.
 4429 	- removed duplicate lines from xfrd_handle_zone_timeout.
 4430 	- review: copy of uint32_t using memcpy to avoid unaligned memory
 4431 	  accesses.
 4432 	- review: fd=-1 removed from set_refresh_now; only does timer.
 4433 	- on a tcp timeout it will retry immediately (instead of waiting
 4434 	  another retry timeout). This means if you set refresh_now, it will
 4435 	  interrupt a tcp-timer for a fresh retry with the next master.
 4436 	- put null in buffer for xfrd read state.
 4437 	- log msg uses string that exists instead of overwritten buffer.
 4438 	- read entry sets refresh depending on current time,
 4439 	  and makes sure not to check soa contents if none provided.
 4440 	  added explanatory comments.
 4441 	- EACCES back in check.
 4442 	- server_main first checks for terminated children, then select().
 4443 	  So when select is interrupted, by kill or quitting children,
 4444 	  it will first see if it has to quit itself, before restarting
 4445 	  the children.
 4446 	- destroy tempregion xfrd read on error.
 4447 	- check for serial existence in xfrd_handle_incoming_soa.
 4448 	- handle_incoming_soa uses set_timer_refresh routine.
 4449 	  and can handle expire times < refresh times.
 4450 	- log msg for udp socket() error.
 4451 	- review: xfrd_parse_soa_info email parse uses correct buffer spot.
 4452 	- added a lowerbound to refresh interval (=1 second now).
 4453 	- upon receipt of a IXFR, if the serial is older than the notified
 4454 	  serial, the zone stays refreshing (but the ixfr is saved).
 4455 
 4456 3 Apr 2006: Wouter
 4457 	- Added buffer length check to internal ipc.
 4458 	- split out packet_read_query_section from the process_query_section
 4459 	  routine (and moved to packet.c/h).
 4460 	- xfrd reads passed packet via ipc.
 4461 	- ported over fix to 2_2 on missing rr types by removing the 
 4462 	  duplicate RRtype array, and using rrtype_to_string.
 4463 	- xfrd handles notifies. immediately starts updating.
 4464 	- xfrd state file format fix.
 4465 	- removed libwrap stuff - superseded by acls.
 4466 	  use provide-xfr: statements for your zone in the config file.
 4467 	  updated README for this.
 4468 	- updated tpkg tests for axfr to use provide-xfr: 127.0.0.1 NOKEY
 4469 	- review: move var create to start of function (xfrd_init()).
 4470 
 4471 31 Mar 2006: Wouter
 4472 	- zone type has a pointer to zone options.
 4473 	- nsd options has an rbtree to find zone options in.
 4474 	- nsd checks acl for incoming notifies and replies
 4475 	  error or confirmation.
 4476 	- nicer layout in options.c.
 4477 	- updated makefile dependencies.
 4478 	- fixed sz for SOA_INFO ipc, which was too small.
 4479 	- notify is sent to server_main, server_main sends it to xfrd.
 4480 
 4481 30 Mar 2006: Wouter
 4482 	- include: documented in manual page.
 4483 	- MAXINCLUDES define in one place (config.h).
 4484 	- configure checks for strptime in include files.
 4485 	- use %d instead of %zd (sparc5 machine does not get zd).
 4486 	- use region_strdup in configlexer.
 4487 	- added a check for EINVAL in dispatch - will abort
 4488 	  on the error instead of busy hang.
 4489 
 4490 29 Mar 2006: Wouter
 4491 	- \r for config lexer. (similar changes to zonelexer).
 4492 	- forward port of fix to 2_2 branch:
 4493 	  short int in var_arg is promoted to int, according to B. Laurie.
 4494 	  The same logic for %o, %d %x would hold for %u I think.
 4495 	- in XFRD, soa prim_ns and email domain names are kept in a max
 4496 	  size buffer.
 4497 	- split up dname_parse into parse from string to wireformat
 4498 	  and parse from wireformat to memoryformat, so both can be called.
 4499 	- split up dname_make_from_packet into reading the wireformat
 4500 	  from the packet and the dname_make, so both can be called.
 4501 	- xfrd reads all soa info from incoming xfr packets.
 4502 	- xfrd will ignore TC bit on tcp channels.
 4503 	- nsd sends xfrd all soa info, including ttl and dnames.
 4504 	- config file now has an include: filename directive.
 4505 
 4506 28 Mar 2006: Miek
 4507 	- forward port fixes for zone compiler and \r. svn:1926-1927
 4508 	- add DO bit MASK and remove the !! construct
 4509 
 4510 17 Mar 2006: Wouter
 4511 	- according to axfr-clarify, added comments that we check
 4512 	  more leniently on further responses on a TCP stream.
 4513 
 4514 16 Mar 2006: Wouter
 4515 	- Fixed up SOA INFO Send routines. Send from server works.
 4516 	- niced up xfrd state file.
 4517 	- Fixed up so that after a reload it will continue in diff file
 4518 	  where it left off.
 4519 	- made send of SOA info use write_socket, in case of short writes.
 4520 	- redesigned xfrd_tcp_read to use the same code for ipc read.
 4521 	- no free()s before xfrd exit.
 4522 	- xfrd handles incoming SOA INFO ipc packets.
 4523 	- removed debug, updated zones get SOA INFO sent.
 4524 
 4525 15 Mar 2006: Wouter
 4526 	- Fixed up domain table insert, it was being used in routines
 4527 	  that originate from nsd-xfer that do not set compression numbers
 4528 	  correctly.
 4529 	- memleak fix in difffile in case of error.
 4530 	- difffile processing works so that NSD can read an axfr saved
 4531 	  into the nsd.diff file. (xfrd already request and save it there).
 4532 	- split off xfrd tcp handling into xfrd-tcp.c.
 4533 	- cleaned up send_udp in xfrd, and read_state.
 4534 	- removed xfrd tcp_send_blocking.
 4535 	- xfrd sets state from ok to refresh to expired based on timeout.
 4536 	- xfrd sets reload timeout.
 4537 	- Added zone updated to keep track of zones that are changed
 4538 	  after a reload. These zones get their information notified
 4539 	  to xfrd.
 4540 	- removed unused zprintrr declaration from zonec.h
 4541 	- nsd sends soa information to xfrd.
 4542 
 4543 14 Mar 2006: Wouter
 4544 	- TODO updated
 4545 	- worked on reload ixfr. It will add/delete RRs and zones.
 4546 	- xfrd receive parse of xfr messages improved. writes commit.
 4547 	- server compressed_dname_offsets table is increased if reload
 4548 	  creates extra names.
 4549 	- difffile will create zone and apex if not there (i.e. the zone
 4550 	  is configured but no data file provided).
 4551 	- bit more verbose in error message for bad diff file.
 4552 	- Typo fix in sample config file.
 4553 
 4554 13 Mar 2006: Wouter
 4555 	- configure sets fseek (fgetpos/fsetpos) to use 64 bit interface
 4556 	  with _FILE_OFFSET_BITS=64.
 4557 	- nsd will skip loading the .db if the DB checksum is the same.
 4558 	- Miek added trace test and nsd kill test.
 4559 	- Wouter worked on diff file c.
 4560 
 4561 10 Mar 2006: Wouter
 4562 	- Cleanup of UDP/TCP code in XFRD.
 4563 	- xfrd now has tcp max connections and managing. tcp read/write.
 4564 	- response TC on UDP ixfr, starts TCP.
 4565 	- sends correct ixfr and axfr queries, a bind server answers.
 4566 	- made packet_skip_dname() public.
 4567 	- sets read/write event flags for tcp fd right.
 4568 
 4569 9 Mar 2006: Wouter
 4570 	- Removed header from DIFF file format. CRC not that important there,
 4571 	  you have to check the packets anyway.
 4572 	- cutest rbtree removed unused clean_rbtree and always_fail routines.
 4573 	- xfrd timeout handler, more work. Checks expire.
 4574 
 4575 8 Mar 2006: Wouter
 4576 	- xfrd sends UDP xfr request to master(s) with timeouts, and stores
 4577 	  returned data on disk.
 4578 	- updated dependencies and declaration of write_soa_buffer.
 4579 
 4580 7 Mar 2006: Wouter
 4581 	- Fixed printfs for size_t warnings on Mac OsX.
 4582 
 4583 6 Mar 2006: nsd-team
 4584    * Wouter: xfrd read and write work. Statefile is "nsd.xfst".
 4585    * Wouter: nsd-checkconf checks dname parse of zone name:.
 4586    * Wouter: updated difffile in parser.y, production in server: clause.
 4587    * Wouter: zonec now takes -C for 'no config file' option.
 4588    * Wouter: updated configyyrename.h for bison 1.875d on sparc.
 4589    * Miek: zonec -h and nsd -h exit with exit code = 0.
 4590    * Miek & Wouter: updated tpkgs to work again.
 4591    * Wouter: xfrd read handle soas, handle soa_incoming part.
 4592    * Wouter: moved compare_serial() from nsd-xfer to util.h.
 4593 
 4594 4 Mar 2006: Wouter
 4595 	- xfrd zone and soa memory structure definitions.
 4596 	- xfrd init zones.
 4597 	- xfrd read and write state file code.
 4598 	- option for difffile: and xfrdfile: config lines.
 4599 
 4600 3 Mar 2006: Wouter
 4601 	- Removed double kill after reload. Only socket cmd send.
 4602 	- Added code to handle race condition where xfrd is restarted
 4603 	  during a successful reload. Afterwards, the new server_main
 4604 	  only has the old xfrd pid, new xfrd is an orphan.
 4605 	  Solution: when xfrd closes cmd channel (i.e. it quit)
 4606 	  unexpectedly, send sighup to all processes in the group.
 4607 	  This should quit the orphan & all children & reload the
 4608 	  server_main, which will fork the children and xfrd again.
 4609 
 4610 2 Mar 2006: Wouter
 4611 	- Added nsd-checkconf.8 to makedist.sh replace list.
 4612 	- DIFF file format updated.
 4613 	- removed tsigkey->server value, it was read in, but unused.
 4614 	- new function to add config file keys to tsig.
 4615 	- nsd-checkconf checks parsing of keys. 
 4616 	- Updated sample key file with valid keys.
 4617 	- added first xfrd files. xfrd is started from server_main.
 4618 	  xfrd listens to server and server to xfrd. xfrd is restarted
 4619 	  if it dies unexpectedly. xfrd quits when server signals it.
 4620 	  xfrd survives nsd reloads.
 4621 	- nsd_options no longer global variable.
 4622 
 4623 1 Mar 2006: Wouter
 4624 	- Nicer text in nsd.8.
 4625 	- nsd.c prettier code in option handling.
 4626 	- zonec.c code prettier in option handling, also chdir bug removed.
 4627 	  zonec uses the zone definitions in the config file.
 4628 	  updated zonec.8 and usage().
 4629 	- nsd also chdirs to the zonedir, otherwise nsd and zonec would
 4630 	  try to read the database: file from different directories.
 4631 	  .(it does the chdir before the chroot call.)
 4632 	- new calling syntax for zonec and nsd, because of new config file.
 4633 	- options added acl acceptance tests (no tsig yet).
 4634 	- added unit test for options.c - for acl tests.
 4635 	- zonec removed unused vars, nsd-checkconf print arguments.
 4636 	- nsd-checkconf.8 manual page.
 4637 
 4638 28 Feb 2006: Wouter
 4639 	- checked in options.h and config parser code.
 4640 	- also nsd-checkconf that will test a config file 
 4641 	  .(and optionally show what was read).
 4642 	- default identity has a spelling error.
 4643 	- Small fix (typo in example) to config manual page.
 4644 	- Added ; to configparser.y to please bison 1.75 on bsd.
 4645 	- Will check for blocked addresses in outgoing acls. Also ranges.
 4646 	- Check configuration tpkg test added. Uses checkconf.
 4647 	- checkconf does extra semantic tests. i.e. enable absent features.
 4648 	- tcpcount and servercount cannot be negative.
 4649 	- updated nsd.conf.5 manpage for @port syntax.
 4650 	- changed config parser: allows empty server: part (defaults).
 4651 	- made nsd.conf.sample file.
 4652 	- put option to configure for CONFIG_FILE nsd.conf location.
 4653 	  Note. Already nsdc.conf exists. Both exist now.
 4654 	- updated makefile dependencies (gcc -MM).
 4655 	- getopt optstring in nsd-checkconf updated ("v" only option).
 4656 	- Added config .o files to nsd and zonec. This compiles.
 4657 	- Added commandline option -c configfile to zonec and nsd.
 4658 	  configure defaults < configfile < commandline options in importance.
 4659 
 4660 24 Feb 2006: Wouter
 4661 	- Added compute_crc in util.h and unit tests for it.
 4662 	- in cutest.tpkg the number of unit tests was hardcoded
 4663 	  in the tpkg package. Removed the dependency, cutest exit
 4664 	  value indicates if any failures happened.
 4665 	- Added crc at end of NSD-database format. Unique per db.
 4666 	  upped db version to 7 because of this.
 4667 	- Tested that crcs are big/little endian correct.
 4668 	- Added DIFF file spec
 4669 	- updated tpkg213 which compares md5 on a zonefile for new format.
 4670 	- added nsd.conf.5 manual page with a draft contents.
 4671 
 4672 22 Feb 2006: nsd-team
 4673    * Miek: Changed over to Cutest testing framework.
 4674    * Miek: fixed typo in netio.h
 4675    * Miek: fix syntax in rbtree.c put functions on multiple lines.
 4676    * Miek: unit test tpkg for cutest.
 4677    * Wouter: fixed ptr bug in rbtree unit test.
 4678 
 4679 17 Feb 2006: Wouter
 4680 	- rbtree_delete is added and works. Unit tests are there too.
 4681 	- Changed tail recursion in rbtree_delete to while loop.
 4682 	- Tagged this version as NSD_3_signalsocket_solution.
 4683 	  It is the stable 2_2 branch with cleanups, portable, and
 4684 	  signalhandler solution by socket communication redesign.
 4685 
 4686 15 Feb 2006: nsd-team
 4687    * Wouter: Fixed server_child would wait for two kill signals before quit.
 4688    * Miek: don't check for port==0 pkt, just try to send them. 
 4689 	Forward Port of 2.3.
 4690    * Wouter: Removed unused, not substituted, @nsdxfer@ from Makefile.in.
 4691 
 4692 14 Feb 2006: Wouter
 4693 	- Added unit tests for rbtree. Extensive testing of all functions.
 4694 	- Added tpkg unit test.
 4695 	- configure tests for CUnit(optional lib for unit tests). Makefile
 4696 	  cleanup so it works on non-gmake on freebsd.
 4697 
 4698 13 Feb 2006: Wouter
 4699 	- Removed timespec_add(current_time) in server_main, the timeout was
 4700 	  relative, not absolute. This fixes EINVAL on the timeout on freebsd.
 4701 	- Added check in configure for compiler flags. Used for -Wextra.
 4702 	- Added check in configure for va_list definition conflict between
 4703 	  stdio and stdarg. This happens on DEC Alpha/Debian.
 4704 	- removed --enable-mmap configure option. There is no mmap support
 4705 	  in the current codebase.
 4706 	- renamed local prev to next in domain_next() in namedb.h.
 4707 	- Removed heap.h. It was not used. Heap and rbtree are mingled anyway.
 4708 	- in netio.c, in dispatch, it would store the next pointer 'in case
 4709 	  the handler removes itself'. But if the handler removes that next.
 4710 	  Then it would fail. So stored the next in struct netio.
 4711 	  This removes a potential bug. Netio_dispatch is not reentrant.
 4712 	  Reentry would need a list of iterator* in struct netio.
 4713 	- Changed process_query() to server_process_query(). It is too 
 4714 	  similar to query_process().
 4715 
 4716 10 Feb 2006: nsd-team
 4717    * Wouter: Improved configure.ac to detect pselect in sys/select.
 4718 	The check works on freebsd(yes) and fedoracore 3 and 4 (no).
 4719 	I hope it also works on Solaris.
 4720 	Also various other prototypes were implicit: chroot, strptime, ...
 4721 	These are also solved.
 4722    * Wouter: Checked configure on sparc5(solaris). Added check for
 4723 	ctime_r in time.h (for tsig.c). This conf also works on freebsd/linux.
 4724    * Wouter: Updated dependencies in makefile for plugin headers.
 4725 	These are included only when --enable-plugins is present.
 4726    * Wouter: Added a send quit over socket to kill commands in server_main,
 4727 	These act when the fork children fails. If the kill fails, the
 4728 	socket command hopefully still works.
 4729    * Wouter: Put reload code into a separate function. It communicates with
 4730 	a socket to the old parent, and sends it a quit command. This works
 4731 	and terminates the old nsd. Left in the kill as a double failsafe.
 4732 	If the reload process dies, then the parent closes the socket.
 4733    * Wouter: Separated the signal mode from the socket-determined nsd->mode.
 4734 	Every signal function has a variable, so that multiple signals can
 4735 	arrive. Only the number of signals of the same type is lost, but not
 4736 	important for nsd. The signals are handled in turn by the run loop.
 4737 	This completes the coding to remove signal race conditions:
 4738 	- nsd uses sockets to communicate with its subprocesses(server,reload).
 4739 	- signal handler routine contains no lengthy system calls.
 4740 	- signals cannot overwrite a previous signal.
 4741    * Wouter: fixed problem where nsd->mode and mode are different in 
 4742 	server_main. Nsd would kill the children, but then restart them again.
 4743 
 4744 09 Feb 2006: nsd-team
 4745    * Wouter: Updated dependencies in Makefile (regenerated them with gcc -MM).
 4746    * Wouter: Used splint on the source (with settings to reduce spam.)
 4747 	And came to the following changes:
 4748 	- In util.h, make it respect HAVE_CONFIG_H and HAVE_SYSLOG_H.
 4749 	Also it now defines fallback values for #defines in syslog h.
 4750 	- Added explicit cast to (unsigned int) in snprintf in dname.c,
 4751 	dname_to_string routine.
 4752    * Wouter: Used extra warnings during gcc compile. -Wextra -Wall 
 4753 	-pedantic -Wbad-function-cast -Wmissing-declarations 
 4754 	-Wmissing-prototypes -Wnested-externs -Wold-style-definition 
 4755 	-Wstrict-prototypes -Wdeclaration-after-statement.
 4756 	Using -Wtraditional gives too many warnings.
 4757    * Wouter: Found a problem with pselect. sys/select.h does not by default
 4758 	provide the pselect function definition. configure script is 
 4759 	adjusted to test for this and enable _XOPEN_SOURCE=600 to get it.
 4760 	Found this using the gcc warnings.
 4761    * Wouter: dname and rbtree test apps were in make clean target, but
 4762 	do not exist anymore. Removed from make clean target.
 4763    * Wouter: in util log_file() the epoch time_t is passed to printf
 4764 	without an int cast. Found using extra gcc warnings.
 4765    * Wouter: In server.c fixed some signed-unsigned comparisons
 4766 	using the extra gcc warnings.
 4767 	- in shutdown and int was used instead of size_t.
 4768 	- in server_main timeout(signed) was compared with unsigned.
 4769 	- unused variable in new handler functions.
 4770 	- in handle_child_command int i instead of size_t was used.
 4771 	- in zonec the process_rr routine was missing (void) as paramlist.
 4772    * Wouter: Added -Wall and -Wextra when --enable-checking is enabled.
 4773    * Miek: Ported over the big fat enable checking configure warning.
 4774    * Wouter: fixed configure check for pselect on freebsd.
 4775 
 4776 08 Feb 2006: nsd-team
 4777    * Wouter: In server.c also sockets from unexpectedly dead childs are closed.
 4778    * Wouter: in nsd.c and server.c cleaned out the signal handler, so that
 4779 	it only includes two switch/if statements and alters only the mode. 
 4780 	No more calls to alarm(), waitpid(), write(), log_msg().
 4781 	Instead the work is done in the runloop in server.c and sent by socket.
 4782 	Also the parent now waits for children. Parent restarts them.
 4783    * Wouter: Fixup, the children will quit if the parent closes the command
 4784 	socket. If parent is killed, they will exit too.
 4785    * Wouter: The server_main now listens to children command channels.
 4786 	Included timeout to check for terminated processes.
 4787 	Test says that new signal handler works, and child->parent comm.
 4788 
 4789 07 Feb 2006: nsd-team 
 4790    * Miek: configure.ac version to 3.0.0
 4791    * Miek: looked at: buffer.{ch}, answer.{ch}, dns.{ch}
 4792 	   those files don't have any changes, except for dns.{ch} for the
 4793 	   explicit compression.
 4794    * Miek: looked at: zlexer.lex and zparser.y; only changes there
 4795 	for the database changes.
 4796    * Wouter: Changed buffer in write_pid from 16 bytes to 32 bytes, 
 4797 	this makes 64 bit numbers fit in the buffer.
 4798    * Wouter: Socket connection between parent and child nsds added.
 4799 	But sighandler now in worse shape. Need to close them. Remove kills.
 4800    * Wouter: close the parent and child command channel sockets in shutdown().