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