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