Commit graph

56 commits

Author SHA1 Message Date
ryoon
ba7425be60 Update to 4.1.13
* Remove an useless patch

Changelog:
NSD 4.1.13
Sep 27, 2016

Features
    multi-master-check: yes can be used to check all masters for the last version, using the higher version from the configured masters, from Manabu Sonoda.
    Support RR type OPENPGPKEY from RFC 7929.
    Can config key algorithms with the digest name, eg. 'sha256'.
    configure --disable-radix-tree for about 15% lower memory usage.
    for type SRV add A/AAAA to the additional section (if possible), just like we already do for type MX.
    more extensible edns option handling.

Bugfixes
    Fix compile warnings about unused result from write and strtol. and signcompare in minmax retrytime.
    Fix #812: fix that make depend fails after distribution.
    Fix #817: xfrd update failed loop.
    Add robustness against unallocated data in nsec3 trees.
    Fix README spelling error of BSD license (reported by Joerg Jung).
    Fix multimaster for not tried full zone transfer for a expired zone.
    Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
2016-10-26 23:40:35 +00:00
ryoon
7734d10eea Update to 4.1.12
Changelog:
Bugfixes
 Fix malformed edns query assertion failure, reported by Michal Kepien (NASK).
2016-09-14 12:51:41 +00:00
ryoon
e66cba3a57 Update to 4.1.11
Changelog:
1 August 2016: Wouter
        - Tag 4.1.11rc1.
        - Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.
        - Tag 4.1.11rc2.

8 July 2016: Wouter
        - Note down tracking numbers for issue JVN#63359718 JPCERT#91251865.

5 July 2016: Wouter
        - Fix #790: size-limit-xfr can stop NSD from downloading infinite zone
          transfer data size, from Toshifumi Sakaguchi.

27 June 2016: Wouter
        - Set default for min-refresh-time and min-retry-time to 0.  Behaves
          just like before, but has a configurable option in nsd.conf.
        - Fix #783: Trying to run a root server without having configured it
          silently gives wrong answers.

16 June 2016: Wouter
        - When tcp is more than half full, use short timeout for tcp session.
        - Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
        - man page entries for max-refresh-time patch.

15 June 2016: Wouter
        - Fix build without IPv6, patch from Zdenek Kaspar.
2016-08-18 13:02:52 +00:00
pettai
452b065474 NSD 4.1.10
==========

FEATURES:
        - ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option
          for Linux, binds to interfaces and addresses that are down.
        - NSD includes AAAA before A for queries over IPV6 (in delegations).
          And TC is set if no glue can be provided with a delegation because
          of packet size.
        - print notice that nsd is starting before taking off.

BUG FIXES:
        - Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl.
        - Fix #751: NSD fails to occlude names below a DNAME.
        - If set without nsd.db print "" as the default in the man pages.
        - Fix #755: NSD spins after a zone update and a lot of TCP queries.
        - Fix for NSEC3 with zone signed without exact match for empty
          nonterminals, the answer for that domain gets closest encloser.
        - #772 Document that recvmmsg has IPv6 problems on some linux kernels.
2016-06-16 15:25:44 +00:00
pettai
3ada266743 NSD 4.1.9
=========

BUG FIXES:
        - Change the nsd.db file version because of nanosecond precision fix.
2016-03-15 13:48:35 +00:00
pettai
c394aa763f 4.1.8
================

FEATURES:
        - #732: tcp-mss, outgoing-tcp-mss options for nsd.conf.
        - #739: zonefile changes when mtime is small are detected on reload,
          if filesystem supports precision mtime values.
        - RR type CSYNC (RFC7477) syntax is supported.

BUG FIXES:
        - take advantage of arc4random_uniform if available.
        - Fix flto check for OSX clang.
        - Define _DEFAULT_SOURCE with _BSD_SOURCE for glibc 2.20 on Linux.
        - Fix #736: segfault during zone transfer.
        - Fix #744: Fix that NSD replies for configured but unloaded zone
          with SERVFAIL, not REFUSED.
2016-03-11 21:53:07 +00:00
pettai
a8c2a46168 NSD 4.1.7
=========

FEATURES:
- support configure --with-dbfile="" for nodb mode by default, where
  there is no binary database, but nsd reads and writes zonefiles.
- reuseport: no is the default, because the feature is not troublefree.
- configure --enable-ratelimit-default-is-off with --enable-ratelimit
  to set the default ratelimit to disabled but available in nsd.conf.
- version: "string" option to set chaos version query reply string.

BUG FIXES:
- Fix zones updates from nsd parent event loop when there are a lot
  of interfaces.
- portability fixes.
- patch from Doug Hogan for SSL_OP_NO_SSLvx options, for the new
  defaults in the ssl libraries.
- updated contrib/nsd.spec, with new configure options.
- Allocate less memory for TSIG digest.
- Fix #721: Fix wrong error code (FORMERR) returned for unknown
  opcode.  NOTIMP expected.
- Fix zonec ttl mismatch printout to include more information.
- Fix TCP responses when REUSEPORT is in use by turning it off.
- Document default in manpage for rrl-slip, ip4 and 6 prefixlength.
- Explain rrl-slip better in documentation.
- Document that ratelimit qps and slip are updated in reconfig.
- Fix up defaults in manpage.
2015-12-12 23:57:09 +00:00
pettai
2998b40f89 NSD 4.1.6
=========
BUG FIXES:
        - Fix #701: Fix that AD=1 set in a BADVERS response.
        - Fix typo in zonec.c inside error message.
        - Fix #711: Document that debug-mode yes is used for staying
          attached to the supervisor console.
        - Document verbosity 3 prints more information.
        - nsd-checkconf warns for master zones with no zonefile statement.
        - Fix start failure when many file descriptors are in use.
        - The servfail rcode is not printed with a space in the middle.
        - print failed token for config syntax error or parse error.
2015-10-22 17:32:29 +00:00
pettai
f2b8f382c3 NSD 4.1.5
=========
BUG FIXES:
        - Fix #706: default port 53 not opened on ip4 because of getaddrinfo
          hints initialisation failure.
2015-09-21 13:38:52 +00:00
pettai
ed7ada52e0 NSD 4.1.4
=========

FEATURES:
- RFC7553 RR Type URI support.
- removed hardcoded interface limit, --with-max-ips removed.
- SO_REUSEPORT support, by default on Linux, or with reuseport: yes.
- Admitted axfrs are logged at verbosity 1.  Refused at verbosity 2.
- --enable-pie and --enable-relro-now options for a safer executable.

BUG FIXES:
- Fix NSID response for short edns sizes.
- Fix that for expired zones NSD performs an AXFR and accepts newer
  and older serial numbers.
- Document that minimal responses only minimizes responses to fit
  in one datagram.  It does not minimize smaller responses.
- Fix #618: documented need to list ip-addresses seperately in
  nsd.conf if there are multiple, because the source address of
  replies can otherwise go wrong.
- Fix that notify from nsd-control contains soa serial.
- Fix #698 formatting errors and typos in nsd.8.in.
2015-09-19 03:58:50 +00:00
pettai
ce56745470 NSD 4.1.3
=========

FEATURES:
- nsd-control addzones and delzones read list of zones from stdin.
- hmac sha224, sha384 and sha512 support.
- max-interfaces raised to 32.

BUG FIXES:
- Fix #665: when removing subdomain, nsd does not reparse parent zone.
- Fix task and zonestat files to be stored in a subdirectory in tmp
  to stop privilege elevation.
- Fix crash in zone parser for relative dname after error in origin.
- Fix that formerrors are ratelimited.
2015-06-24 12:18:03 +00:00
pettai
a42ebdd2af NSD 4.1.2
=========

FEATURES:
- Incoming notifies have serial number logged (at verbosity 1).

BUG FIXES:
- Remove some duplicate header includes.
- Fix tcp waiting list for zone transfers where the bind and connect
  calls fail.
- Fix segfault in zone reader on invalid input.
- Fix segfault on double origin in zone reader.
- Fix b64pton out of bounds error on invalid zonefile input.
- Fix origin directive from unused old value and subdomain parser
  failure.
- Fix use after free after zonefile syntax error followed by ttl
  or origin directive.
- Fix syntax error followed by too many TXT elements parse crash.
- Fix buffer overflow in config parse of domain name.
- Use reallocarray for integer overflow protection.
- Fix allocation integer overflow checks.
- Fix #654: Fix contradiction in notify logging verbosity level.
- Fix #655: Fix contradiction in verbosity for zone transfers.
- Made log message more consistent, changed 'axfr refused' log message
  to be more consistent with other messages.  Also notify refused.
- verbosity 2 logs axfr refused and notify refused.
  verbosity 1 contains less log messages.
2015-05-03 20:57:49 +00:00
pettai
ee1fb92858 4.1.1
================
FEATURES:
        - RFC 7344: CDS and CDNSKEY (read record types).
        - per zone statistics with --enable-zone-stats, config zone with
          zonestats: "name", zones configured with the same string are added.
        - Disabled use of SSLv3 in nsd-control.
        - nsd-checkconf -f prints out full name of pidfile (with dir).
        - Synthesize CNAMEs with same TTL as DNAME.
BUG FIXES:
        - Fix that expired zones stay expired after a server restart.
        - Fix "xfrd_handle_ipc: bad mode" log errors when compiled
          with --disable-bind8-stats.
        - Fix #616: retry xfer for zones with no content after command.
        - Fix char used as array index warnings on NetBSD.
        - Fix that queries for noname CH TXT are REFUSED instead of nodata.
        - Fixes for wildcard addition and deletion, speedup for some cases.
        - Fix that failure to add tcp to tcp base does not leak the socket.
        - Patch nsd_munin_ from Philip Paeps to use type ABSOLUTE.
        - Fix spinning NSD with lots of failing transfers, due to pointer
          comparison using void pointer subtraction.
        - Fix bug#637: fix that nsd.db grows limitlessly, an off by one
          on one megabyte free chunks, created during AXFRs of large zones,
          that caused the one megabyte chunk to be leaked.
        - Fix casts for ctype functions.
        - correct some hyphen-used-as-minus-sign (from Andreas Schulze) in
          man pages.
        - Fix zonesdir chroot error message.
2015-02-05 07:06:04 +00:00
pettai
81fee1337c 4.1.0
================
FEATURES:
        - database: "" starts without mmap of database.  Less memory is used,
          zones are read from text zonefile.
        - optimised zonefile parse code and zonefile write code.
        - zonefiles-write option in nsd.conf, enabled when database is "".
          The server writes changed zonefiles to disk every hour.
        - xfrdfile: "" disables xfrd.state.  If enabled, zones that are
          same as before are not checked for a serial update at server start.
        - include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
        - nsd shuts down during init process if given signal.
        - log-time-ascii option, default yes, with readable timestamp in log.
        - nsd-control addzone reports if zone already exists.
        - Fix #564: add nsd-checkzone tool to check zonefile correctness.
        - Increased default --with-max-ips from 8 to 16, this increases the
          number of interfaces you can specify in nsd.conf to listen to.
BUG FIXES:
        - Fixed shutdown message sporadically not printed on exit.
        - Documented zonefile %s syntax in nsd.conf man page.
        - Fix manpage to put colon after zonefiles check and write.
        - Change from 'Zone" to "zone" with ".. serial .. is updated" log
          message.
        - Changed maxbackoff for no-content secondary zones from 4h to 24h.
        - Fix print filename of encompassing config file on read failure.
        - Fix delete or rename of a lot of zones and make it take a
          non-enormous time.
        - Speed up deletion of zone contents a lot, (56s to 1s), speeds up
          delete, rename and AXFR for zones.
        - Fix #571: unused variable and incompatible pointer warnings when
          compiled on a system without INET6.
        - Fix write_socket return value check in server.c
        - Fix that xfrd reaps children also if the signal is lost.
        - Fix #577: makefile incorrectly installed manpages from srcdir.
        - Fix #587: Default value for statistics is 0.
        - Fix #553: Improve TXT parsing.
        - Fix #590: rrl log does not print wildcard as a star but escaped.
        - Fix #591: rrl log messages at verbosity level 1.
        - fix strptime implicit declaration error on OpenBSD.
        - Fix -O3 compile flag to -O2 to avoid miscompilations.
        - Allow user to override the -g -O2 CFLAGS in ./configure.
        - Fix endian.h include for OpenBSD.
        - Fix #600: document that provide-xfr provides AXFR and not IXFR.
        - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
          that keep track of all past process parents, or leak memory
          for them.  Fix makes it so there is no very deep string of
          process parents.
        - Remove .LP after .SH in man pages.
2014-09-27 20:11:38 +00:00
pettai
2bfd2afb6f NSD 4.0.3
Bug Fixes:
- Fix nsd.db unclean close check.  Previous databases are considered
  unclean by the code and are created anew.
- Adds nsd.db larger than 400Tb check for sanity. Also test if
  filesize as documented in the file is correct.
- nsd waits for tasks to complete on stop, prevents nsd.db corruption.
- fix to not delete tmpdir too early in shutdown process.
- disabled udb checking functionality that made it very slow,
  this was enabled when enable-checking was turned on.
2014-03-14 10:02:53 +00:00
pettai
697b470490 NSD 4.0.2
Features:
* Return REFUSED for queries to non-hosted zones.

Bug Fixes:
* Fix expired zones to give SERVFAIL, also when parent zone loaded.
* documented nsd-control zonestatus output in nsd-control manpage.
* remove mention of nsdc from nsd-checkconf manpage.
* Disabled recvmmsg and sendmmsg usage by default because kernel
  versions have implementation issues: ipv6 ignored, security issues.
* Detect libevent2 install automatically by configure, and use
  event2 header files if necessary.
* Fix #551: change Regent to Copyright holder in the LICENSE,
  to match the definition on opensource.org for the BSD License.
* Fix #552: zonefile loads on nsd-control reconfig when the name
  of the file has changed.
* Fix leak of zone name after zonefile read and fix malloc too
  large that would be leaked in the radix tree.
* Fix from 3.2: make SOA RDATA comparisons in XFR more lenient (only
  check serial).
* Fix that NSD will delete and recreate not-clean-closed databases.
2014-03-12 14:47:13 +00:00
pettai
8f74a82f0f 4.0.1
Features:
* recognizes ip-address and interface as synonyms for convenience.
* Support for EUI48 and EUI64 RR types enabled by default (RFC 7043).
* Support for CAA RRtype (RFC 6844).
* NSID can be set with "ascii_somestring" in ascii.

Bug fixes:
* Fix xfrd when zone transfer TCP contains zero length packets.
* Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
  because AXFRs overwrote nsec3 administration in the child zone.
* Fix that bad IXFR updates do not result in double SOA records,
  and that an AXFR is started (attempted) when the zone state seems
  to be inconsistent with the master's zone state.
* Log ip address for sendto and sendmmsg failures.
* Fix segfaults after read of zones with rr type WKS from zonefile.
* Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
* Bugfix #534: IXFR query loop over UDP for zones that are unchanged.
* (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
* (same as in 3.2.16): Bugfix #542: Match RRSIG TTL with SOA TTL in
  negative response.
* Check if configure in srcdir collides with outofdir build.
* Fix #546:  output format errors in nsd_munin_ (Thanks Tom Hendrikx).
* Fix printout of high-chars in TXT on NetBSD.
2014-01-27 12:50:56 +00:00
pettai
e7fe55dde5 NSD 4.0.0
Features:
* documented in doc/NSD-4-features. Change configuration without restart,
  direct nameserver control with nsd-control, support a higher number of zones.
  Higher performance (compared to NSD3).
* nsdc is gone. Use kill -HUP for reload (also checks if zonefiles have
  changed and rereads them), and kill -TERM for quit. Or use nsd-control
  for detailed control.
* cron job for nsdc patch is gone. nsd-control write creates zonefiles.
* nsd.db has a new format that compacts itself when it is changed,
  thus nsdc patch is no longer necessary.
* nsd.db is memory mapped, NSD needs (part of) that mmap in ram.
* tcp-count can go above 1000; epoll/kqueue support with libevent.
* nsd-control reconfig for updates with no restart (zones, keys, ..)
* nsd-control-setup to create keys for nsd-control (enable nsd-control
  with remote-control: yes in nsd.conf).
2013-10-29 15:13:34 +00:00
pettai
ad11ea30d3 NSD 3.2.16
Features:
* New config option "ip-transparent:" to allow NSD to bind to non local
  addresses. Default no.
* Use IPV6 minimum MTU settings with TCP to reduce failures that are caused
  by delays in learning working PMTU when communicating through a tunnel.
* Bugfix #496: Support for EUI48 and EUI64 RR types. Experimental,
  turned off by default. Enable with --enable-draft-rrtypes.
* New config option "rrl-slip:" to set the average number of packets
  discarded before we send back a truncated response.
* New config option "rrl-ipv4-prefix-length:" and "rrl-ipv6-prefix-length:"
  to set the prefix lengths.
* Improved RRL logging, also print triggering query src address and QTYPE.
* Provide RRL documentation in nsd.conf.sample.

Bugfixes:
* Bugfix #357: Parent process waits until children closed down sockets,
  to prevent NSD failing to bind to sockets when restarting.
* Bugfix #487: lookup3.c determine endianness for BSD systems.
* Bugfix #491: pick program name (0th argument) as syslog identity.
* Bugfix #494: Exit with return code 1 if socket code fails.
* Bugfix #495: Wrong bufsize in dname_to_string for root.
* Fix outgoing-interface: Don't fail if family is IPv6 but only IPv4
  outgoing-interface is set, or vice versa.
* RRtypes ASFDB, RP, RT should not compress dnames.
* Check that zone directory is within chroot directory.
* Better XFR checking, fallback to AXFR (if allowed) if three malformed
  XFR packets have been seen.
2013-09-21 22:37:22 +00:00
pettai
b32fcf9ba6 NSD 3.2.15
Features:

* Support for ILNP RR types: NID, L32, L64, LP (RFC6742).
* RRL, --enable-ratelimit at configure time and config options.
* TSIG initialization only fails when there is no digest found at all.

Bugfixes:

* Bugfix #478: Declaration after statement (for gcc 2.95).
* Bugfix #483: Better error message in case of TSIG error.
* Bugfix #485: TTL should not be greater than 2^31 - 1.
* Fix RCODE when CNAME loop final answer does not exist, should
  return NXDOMAIN as stated by RFC 6604.
* Fix --disable-full-prehash bug, where after multiple incoming
  IXFRs, NSEC3 can be removed unjustified.
2013-02-08 23:51:08 +00:00
pettai
07fbca5dd0 NSD 3.2.14
Features:

* TCP writev support.

Bugfixes:

* Fix build on OpenBSD (thanks Oliver Peter).
* Prioritize notify sender for requesting XFR (thanks Ilya dBakulin).
* Fix crash in zonec if TXT string too long (thanks Ilya Bakulin).
* tzset before chroot for correct timezone (thanks Camiel Dobbelaar).
* Fix --disable-full-prehash bug when nsdc patch happens while ixfr too,
  it did not rehash the new database.
* Bugfix #464: Conditionally define MAXHOSTNAMELEN.
2012-11-04 22:17:41 +00:00
pettai
0246b85b82 NSD 3.2.12
Bugfixes:

* Bugfix #461 (VU#517036 CVE-2012-2979): NSD denial of service vulnerability
  from DNS packet when using --enable-zone-stats.
* Bugfix #460: man page correction - identity.
* Fix for nsd-patch segfault if zone has been removed from nsd.conf
2012-09-16 22:08:06 +00:00
wiz
9baae72f1e Update to 3.2.12, prompted by Lloyd Parkes in PR 46727.
NSD 3.2.12

Bugfixes

    Fix for VU#624931 CVE-2012-2978: NSD denial of service
    vulnerability from non-standard DNS packet from any host on
    the internet.

NSD 3.2.11

Features

    Fallback to AXFR if IXFR is unknown at the primary. NSD considers
    IXFR unknown at the primary if there is a negative response
    for the IXFR RRtype. This does not override the value for
    'allow-axfr-fallback'.
    Allow for reading in new DNSKEY algorithm mnemonics (RFC5155,
    RFC5702, RFC5933, and RFC6605 (ECDSA)).
    Zone statistics, enable with --enable-zone-stats. This stores
    the BIND8 stats per zone in a configurable statistics file.
    This option does not scale and should therefore not be enabled
    when serving many zones.
    Support for TLSA RRtype (DANE).

Bugfixes

    Fix for qtype ANY for a wildcard domain in NSEC signed zone:
    Don't add the wildcard domain NSEC into the answer section.
    Instead, put the wildcard expanded NSEC into the answer section
    and keep the wildcard domain NSEC in the authority section.
    Fix for accept spinning reported by OpenBSD.
    Fix restart failed due to bad ixfr packet because of zone
    removed from nsd.conf.
    Bugfix #453: typo in nsdc man page.

Operational notes

    NSD uses the query name for dname compression again (Fix #235
    had as side effect that this didn't happen anymore and is hereby
    undone).
2012-07-20 16:28:49 +00:00
pettai
2098789b91 NSD 3.2.10
Bugfixes:

* Bugfix #421: Truncate pidfile on shutdown, before unlink.
* Bugfix #423: Fix slow zone transfer processing due to
  'Fix is_existing flag for ENT' bugfix.
* Bugfix #430: Fix segfault when MAX_INTERFACES set to more than 65K.
* Fix configure.ac strptime check for gcc 4.6.2, acx_nlnetlabs.m4 update

NSD 3.2.9

Features:

* Minimize responses to reduce truncation: NSD will only add optional
  records to the authority and additional sections when the response size
  does not exceed the minimal response size.
* The minimal response size is 512 (no-EDNS), 1480 (EDNS/IPv4),
  1220 (EDNS/IPv6), or the advertized EDNS buffer size if that is smaller
  than the EDNS default.
* The feature is enabled by default. You can disable it by configuring NSD
  with --disable-minimal-responses.
* Less NSEC3 prehashing. This will make NSD handle zone transfers faster,
  but will decrease the performance of NXDOMAIN and wildcard NODATA responses.
  Full prehashing is enabled by default. If you want less NSEC3 prehashing,
  configure NSD with --disable-full-prehash. Thanks Secure64 for the patch.

Bugfixes:

* Bugfix #302: nsd accepts XFR but refuses to re-read the slave zone.
* Bugfix #365: set patch style and zonec verbose for nsdc.
* First step of bug #369: RRSIG DNSKEY sets zone to be treated DNSSEC.
* Bugfix #375: typos in nsd.conf.5.
* Bugfix #381: Binary escaped and transfers.
* Bugfix #397: Don't allow relative domain names as origin in $INCLUDE
  directives.
* Fix printout of IPSECKEY by nsd-patch.
* Fix is_existing flag for ENT when domain that has a shared ENT is deleted
  by IXFR. (ENT == Empty Non-Terminal)
* Fix bug if the zonefile is changed for a secondary but stored transfers
  are applied, and stop it from applying ixfr to empty zone. The zone is
  flagged with error and AXFR-ed.
* Fix to have no authority NS set processing for CNAMEs.
* Fix nsd-checkconf to check tsig algorithms properly.
* Set the AA bit on responses that have an authoritative CNAME.
* Fix denial of existence response for empty non-terminal that looks like
  a NSEC3-only domain (but has data below it).

Operational notes:

nsd.db version number increased because NSD 3.2.7 and earlier zonec is not
compatible due to the TXT strings change. Please run nsdc rebuild before
running NSD 3.2.9 and later versions.
2012-04-18 10:39:43 +00:00
taca
d8383d9143 Fix build problem on NetBSD current (5.99.55). 2011-09-12 17:05:01 +00:00
pettai
80f4434d61 NSD 3.2.8:
Bugfixes:

* Do setusercontext before chroot, otherwise login.conf etc. are required inside chroot.
* Bugfix #216: Fix leak of compressiontable when the domain table increases in size.
* Bugfix #348: Don't include header/library path if OpenSSL is in /usr.
* Bugfix #350: Refused notifies should log client ip.
* Bugfix #352: Fix hard coded paths in man pages.
* Bugfix #354: The realclean target deletes a bit too much.
* Bugfix #357, make xfrd quit with many zones.
* Bugfix #362: outgoing-interface and v4 vs. v6 leads to spurious warning messages.
* Bugfix #363: nsd-checkconf -v does not print outgoing-interface ok.
* Bugfix: nsd-checkconf -o outgoing-interface omits NOKEY.
* Undo Bugfix #235: Don't skip dname compression, messes up packets that do need compression.

Operational notes:

* Use 'make clean' to clean up files that make created.
* Use 'make realclean' to also clean up files that were generated by running ./configure.
* Use 'make devclean' to also clean up autoconf, autoheader files.

NSD 3.2.7:

Bugfixes:

* Bugfix #253: Don't put NS RRs in a response with QTYPE=DS.
* Bugfix #320: use arcrandom(4) for QID generation if available.
* Bugfix #328: nsd-checkconf overrun.
* Bugfix #343: nsdc update fix.
* Bugfix #347: Wrong NSEC3 returned for nodata response QTYPE=DS no delegation.
* Bugfix: Allow for huge amount of strings in TXT (and other) records.
* Bugfix: nsdc can now deal with tsig algorithms other than hmac-md5.
* Fixed several parts in the documentation, including #306, #345.
2011-06-19 16:25:12 +00:00
pettai
c174d4e656 NSD 3.2.6:
Features:
* Expand command line option '-a' and config option 'ip-address:' with port number.

Bugfixes:
* Bugfix #314: correctly print NSEC next field, escape spaces and fix label overflows.

Operational notes:
* Configure options --disable-dnssec, --disable-nsid, --disable-tsig are removed
* Configure option --max-interfaces is renamed to --max-ips
2010-08-30 18:00:17 +00:00
pettai
54545939dc nsd 3.2.5:
Features:
    * New option 'nsid:', to specify the NSID (Bugfix #298).
    * The default chroot can be set with --with-chroot=dir.
      If not set, by default chroot will not be used.
    * Optimized zonec and b64_pton compatibility code.
    * Optimized memory allocations. Use mmap/munmap instead of malloc/free.
      Experimental, by default off. Enable it at build time with --enable-mmap.

Bugfixes:
    * NSD will not start if chroot is configured,
      but changing root is not possible
    * Make use of the more secure strl* functions.
    * Bugfix #303: spelling error.

Operational notes:
    * NSID support is now enabled by default.
2010-05-06 10:37:49 +00:00
joerg
d00bf01ff0 nsd 3.2.4:
* Support DLV records.
    * New option 'tcp-query-count:', to limit the maximum number of DNS
      queries on a single tcp connection.
    * New option 'tcp-timeout:', to override the default tcp timeout.
      The option can also be set at build time, --with-tcp-timeout.
    * New option 'notify-retry:', to configure how many times NSD should
      retry a NOTIFY message.
    * New options 'ipv4-edns-size:' and 'ipv6-edns-size:', to set your
      preferred EDNS buffer size.
    * Ignore SIGHUP to child processes.
    * UDP/IPv4 sockets have new options set that will disable the DF
      flag in IP packets.
2010-02-04 15:06:43 +00:00
joerg
4df0c195d8 nsd-3.2.3:
* Bug #236: Allow RRs before the SOA in a zonefile.
    * Bug #229: Remove the C99 code.
    * Bug #253: Don't put NS RRs in a response with QTYPE=DNSKEY.
    * Bug #263: Make TSIG algorithm comparison case insensitive.
    * Bug #266: Build failed on systems without strptime.
    * Fix install hickup.
    * Fix to use 4096 EDNS limit for IPv6 on Linux.
2009-11-05 18:15:57 +00:00
joerg
2b01085a06 Redirecting stdout and stderr with &> is not portable, fix this.
Issue raised by Koh-ichi Ito on nsd-users.
2009-07-24 07:08:10 +00:00
joerg
a62f9e2418 Update to NSD 3.2.2.
Allows nsd-patch to directly work on the database without intermediate
zonefile. Allow file rotation for nsd.log. Allow disabling AXFR
fallback.

Fix off-by-one during query processing.
2009-05-20 01:55:55 +00:00
joerg
524f91692a Update to nsd-3.2.0:
- improved IXFR support
- support for hmac-sha1 and hmac-sha256 in TSIG
- selection of source ip for notifies and zone requests
- NSEC3 is enabled by default
- option to disable CHAOS version support
- bugfixes
2008-12-17 17:22:56 +00:00
joerg
6e8028a7d5 Update to nsd-3.0.8:
- better logging for nsd-notify and db creation failures
- nsdc start checks if nsd is already running
- fix loading data from files with relative names when chrootdir ends
  with a slash
- fix a case when nsd would return FORMERR for edns queries with version
  0 and rdlen larger than 0.
- don't answer nsec3 wildcard information when DO bit is not set
2008-06-01 19:26:13 +00:00
joerg
a227380662 Update to nsd-3.0.7:
- fix man pages and improve consistency
- improved handling for malformed IXFRs
- report source and zone for denied AXFR requests
- improved handling of malformed nsec3 records
- fix ignored return value in region-allocator.
2007-11-30 21:44:29 +00:00
joerg
27e0c7881a Update nsd to 3.0.5:
NOTE: the configuration file format has changed. Don't update blindly.

Major changes:
- integrated AXFR/IXFR support for zone transfer. IXFR is not supported
  when acting as master.
- TSIG authentication support for queries, notifies and zone transfers.
- full NOTIFY support
- DNAME type is supported
- experimental support for NSEC3 and NSID, not enabled in pkgsrc
- various bug fixes.
2007-08-11 23:48:40 +00:00
joerg
0ccefcdfb6 Update to nsd-2.3.5. This fixes a number of minor bugs. 2006-07-03 13:33:59 +00:00
joerg
79f1574dfe Update NSD to 2.3.3.
Notable changes:
- DNSSEC enabled by default
- many bugfixes for edge cases
- more portable time handling
- some performance improvements
2005-12-12 20:34:14 +00:00
joerg
6b36385c7e Add a RC script for NSD. Set default database location to
${VARBASE}/db/nsd.db on all platforms and use user/group nsd for the
daemon to run as. Install sample configuration without .sample
extension. Take maintainership. Bump revision.
2005-11-05 21:27:53 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
itojun
7751ab31bc update to 2.2.0.
- nsd-xfer is now in package
- bug fixes
- pidfile can be specified by -P
2005-01-19 02:11:24 +00:00
itojun
450cbd97fe nsd 2.1.2.
FEATURES:
         - NSD now fully supports unknown record types using the
           notation specified in RFC3597.
         - Support for the following RR types has been added: WKS, X25,
           ISDN, RT, NSAP, PX, NAPTR, KX, CERT, DNAME, and APL.  DNAME
           special processing is not supported.

and bug fixes.
2004-07-31 17:15:15 +00:00
itojun
6976d3d117 upgrade to 2.0.2.
2.0.2
=============
BUG FIXES:
	- Allow the use of a mnemonic for the algorithm field of a
	  DNSKEY record.
	- Behavior of the zonec -v flag has been modified.  By default
	  zonec will only print a single line with a summary of the
	  error count.
	- Bug #75: Fixed typo in previous "fix".
2004-04-23 18:42:05 +00:00
itojun
dea53f39ac upgrade to 2.0.1.
NSD 2.0.1 release notes:

BUG FIXES:
	 - Queries for QTYPE DS (DNSSEC) were not handled correctly in
	   certain cases.
	 - Partial support for unknown RRs.  Known RR types with
	   unknown RR data format is not yet supported.
	 - Bug #75: Fixed bad error message when nsdc update is run for
	   the first time.
	 - Bug #78: Multiple zones, each with include directives, are
	   now compiled correctly.
2004-03-16 00:03:15 +00:00
itojun
6db5b07868 update to 2.0.0. IPv6 enabled by default, experimental DNSSEC support
(disabled by default).
2004-02-15 18:47:04 +00:00
itojun
b1f8e1fb41 1.2.2
=============
BUG FIXES:
        - Bug #59: NSD returns FORMERR when the query name is >= 246
          bytes.
        - Bug #60: Zonec runs out of file descriptors with many zones.
        - Bug #61: nsdc uses /bin/sh hardwired (and should not).
        - Bug #62: NSD is not able to log to a file.
        - Bug #63: nsdc update and zonec are too tallkative.
        - Bug #64: Answer for request of a host resolved by a
          wildcard-resource-record is not understandable by dig.
2003-07-28 22:38:26 +00:00
itojun
c1df60ac19 correct response to long query. http://www.nlnetlabs.nl/bugs/show_bug.cgi?id=59 2003-07-17 08:56:35 +00:00
itojun
f817f134a3 1.2.1
=============
BUG FIXES:
        - AXFR terminates early if a zone containa a CNAME pointing
          the the zone's domain name (SOA record) (bug #56).
        - During an AXFR memory above the top of the stack was
          accessed.  This could lead to occassional AXFR errors (bad
          packets).
        - NSD now prints its version number and exits when invoked
          with the -v flag (bug #57).
        - NSD prints help information and exits when invoked with the
          -h flag.
2003-07-17 08:52:46 +00:00
itojun
3bf74d6985 upgrade to 1.2.
1.2
=============
FEATURES:
        - NSD is now a single parent process (handling child
          termination and database reloads) plus multiple UDP and TCP
          child processes handling queries.  Before the parent process
          also handled UDP queries.  This change simplifies the parent
          and child processes and allows the use of multiple
          concurrent UDP servers.
	- Experimental plugin support.  This required a minor,
          incompatible change to the database format.  Make sure you
          recompile your database.  Use --enable-plugins to enable.
        - Full IPv6 support (for multi-homing and for Linux, thanks to
          Colm MacCárthaigh and Jun-ichiro itojun Hagino).  Use
          --enable-ipv6 to enable.
        - Support for multi-homing with TCP connections.
        - Support for SunOS 4.x has been dropped.

CODE CHANGES:
        - NSD should now conform to the Single Unix Specification
          (http://www.unix.org/).
        - Const correctness for strings and some other data types.
        - Removed code for Berkeley DB, hash tables, and mmap(2).
        - Separate preprocessor flags from code flags (CPPFLAGS and
          CFLAGS).
        - Use uint8_t instead of u_char, uint{16,32}_t instead of
          u_int{16,32}_t.
        - Fixed warnings from mixing signed and unsigned types.
        - Use sigaction(2) instead of signal(2).
        - The query_process function has been split up for clarity.

BUG FIXES:
	- CHAOS TXT queries failed on big-endian machines.
        - Portability fixes for Tru64 (thanks to Stephane Bortzmeyer),
          HP-UX, and MacOS X (thanks to Ronald van der Pol).
        - Removed compile time limit on maximum number of TCP child
          servers.
        - Support for debugging UDP and TCP queries.
        - Always ensure there is enough room for the EDNS record when
          answering a query with EDNS enabled.
2003-07-10 08:57:27 +00:00
wiz
170d4e69ed Remove patch-aa and patch-ab, since they do not exist any more. 2003-06-19 08:28:22 +00:00