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