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