- May 20, 2016
-
-
Marek Vavrusa authored
this change introduces new API for cache backends, that is a subset of knot_db_api_t from libknot with several cache-specific operations major changes are: * merged 'cachectl' module into 'cache' as it is 99% default-on and it simplifies things * not transaction oriented, transactions may be reused and cached for higher performance * scatter/gather API, this is important for latency and performance of non-local backends like Redis * faster and reliable cache clearing * cache-specific operations (prefix scan, ...) in the API not hacked in * simpler code for both backends and caller
-
- May 18, 2016
-
-
Marek Vavrusa authored
by default, build system attempts to use LMDB from the system. however if it's not found or the version is too old, it uses the built-in snapshot in contrib
-
Marek Vavrusa authored
lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones See merge request !24
-
Marek Vavrusa authored
layer/iterate, layer/pktcache: fix duplicate records in replies See merge request !25
-
- May 17, 2016
-
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- May 15, 2016
-
-
Marek Vavrusa authored
-
- May 12, 2016
-
-
Marek Vavrusa authored
many clients do frequent retransmits of the query to avoid network losses and get better service, but then fail to work properly when a resolver answers SERVFAIL to some of them because of the time limit and some of them NOERROR. it's also a good idea to avoid wasting time tracking pending tasks to solve the same thing.
-
Ondřej Surý authored
-
- May 11, 2016
-
-
Marek Vavrusa authored
if the upstream TCP query timeouted or the connection was severed, it would dissociate the handle from original query, so the query would be solved but the requestor wouldn't see the answer unless he requeried
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
- May 06, 2016
-
-
Marek Vavrusa authored
Additional processing for REFUSED & SERVFAIL rcodes See merge request !22
-
Marek Vavrusa authored
* simplified soft-fail per-ns limit to per-query limit, each query gets 4 tries at resolving * instead of locking at single servfailing NS, penalise it and run reelection, this may or may not try other servers but avoids pathologic case when single NS is servfailing while others are good but never probed * added new nsrep update mode (addition)
-
-
-
-
- May 04, 2016
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
this code used memory pool of source packet instead of the answer, this could result in invalidated memory read if the memory occupied by source packet was rewritten
-
- May 03, 2016
-
-
Marek Vavrusa authored
* daemon now processes messages over TCP stream out-of-order and concurrently * support for TCP_DEFER_ACCEPT * support for TCP Fast-Open * there are now deadlines for TCP for idle/slow streams (to prevent slowloris; pruning) * there is now per-request limit on timeouts (each request is allowed 4 timeouts before bailing) * faster request closing, unified retry/timeout timers * rare race condition in timer closing fixed
-
- Apr 18, 2016
-
-
Marek Vavrusa authored
the daemon has now three modes of strictness checking from strict to permissive. it reflects the tradeoff between resolving the query in as few steps as possible and security for insecure zones
-
Marek Vavrusa authored
-
Marek Vavrusa authored
an internal timer walks RTT timer periodically and clears entries with bad results every 5 minutes. this means that a timeouted entry penalty is capped to that interval, making sure that the bad reputation doesn't last forever
-
Marek Vavrusa authored
resolver will always attempt to contact upstreams known to be bad if it's not busy. this fixes a problem on low-volume resolvers where a short connection outage could make resolvers deny resolving queries even after the connection is restored
-
- Apr 15, 2016
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
This reverts commit f9ffeca9.
-
Marek Vavrusa authored
in permissive mode, resolver is free to use (but not cache) non-mandatory glue records even if they're not resolvable. this is great as a workaround for broken child-side zones, but not great for security of, well, insecure delegations. it's off by default.
-
-
- Apr 14, 2016
-
-
-
-
-
Marek Vavrusa authored
-
-
-
-
-
-
-
- Apr 07, 2016
-
-
Marek Vavrusa authored
-