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