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