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