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