]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
6 years agosupport multiple addresses in daf src/dst filter cflare-daf-policy
Anbang Wen [Tue, 14 Aug 2018 23:10:10 +0000 (16:10 -0700)] 
support multiple addresses in daf src/dst filter

This enables using syntax like "src { CIDR-a CIDR-b } deny" to specify
multiple addresses to filter. All the conditions are ORed together
like qname/ns.

6 years agodaf: bugfix for rule deletion, hint for duplicated rule
Anbang Wen [Mon, 14 May 2018 23:19:57 +0000 (16:19 -0700)] 
daf: bugfix for rule deletion, hint for duplicated rule

6 years agomodules/daf: allow multiple argument matching in filter
Marek Vavruša [Tue, 1 May 2018 03:17:42 +0000 (20:17 -0700)] 
modules/daf: allow multiple argument matching in filter

This looks like in nftables, e.g. `src { 127.0.0.1 192.168.1.1 }`

Original commit rolled back modules/policy/lua-aho-corasick,
probably by accident, so that change was dropped during cherry-picking.

6 years agomodules/daf: case insensitive feature flags
Marek Vavruša [Sat, 28 Apr 2018 22:20:48 +0000 (15:20 -0700)] 
modules/daf: case insensitive feature flags

6 years agopolicy: fix incompatibility with default (nil) phase
Marek Vavruša [Tue, 19 Jun 2018 21:50:20 +0000 (14:50 -0700)] 
policy: fix incompatibility with default (nil) phase

The `{ nil }` would otherwise get interpreted as an empty table.

6 years agomodules/renumber: revert parts of the parent commit
Grigorii Demidov [Fri, 16 Nov 2018 15:22:17 +0000 (16:22 +0100)] 
modules/renumber: revert parts of the parent commit

6 years agopolicy: apply filters on outgoing queries as well
Marek Vavruša [Fri, 15 Jun 2018 22:28:54 +0000 (15:28 -0700)] 
policy: apply filters on outgoing queries as well

This allows blocking names with intermediate CNAMEs, e.g.

```
example.com CNAME invalid
```

Before, the policies were only applied on query name,
which can be circumvented by a layer of indirection like this.

6 years agopolicy: set NS set, support insecure forward in stub
Marek Vavruša [Wed, 6 Jun 2018 05:23:43 +0000 (22:23 -0700)] 
policy: set NS set, support insecure forward in stub

This allows policy filter to modify NS set in the checkout layer.

6 years agomodules/policy: fixed NYIs (vararg function call)
Marek Vavruša [Thu, 31 May 2018 02:06:22 +0000 (19:06 -0700)] 
modules/policy: fixed NYIs (vararg function call)

* fixed NYI with vararg calls in policy filter
* fixed NYI with nil returns (incompatible with type pointer returned otherwise)
* fixed tail call returns exceeding trace loop counts

6 years agomodules/policy: check whether query is defined
Marek Vavruša [Wed, 2 May 2018 23:27:41 +0000 (16:27 -0700)] 
modules/policy: check whether query is defined

6 years agomodules/daf,renumber: fixed the modules and added tests
Marek Vavruša [Fri, 27 Apr 2018 06:27:33 +0000 (23:27 -0700)] 
modules/daf,renumber: fixed the modules and added tests

This fixes most of the rules in DAF that were broken in 2.0 and adds tests.
It also allows policy filter to evaluate policies in the checkout layer,
before the subrequest is sent to authoritative. This is used primarily for
negotiating features between resolver and authoritatives, or disabling transports.

The policy filter can now match on:
* NS suffix - to apply policies on any zone on given nameservers
* Query type

New actions:
* REFUSE - block query with an RCODE=REFUSED, fixes #337

The DAF can now toggle features between resolver and authoritatives.

fixes #322

Original commit amended with qsource.tcp rename.

6 years agolib/utils: removed obsoleted functions
Marek Vavruša [Fri, 27 Apr 2018 06:20:14 +0000 (23:20 -0700)] 
lib/utils: removed obsoleted functions

Header flags can now be set from Lua, as well as packet payload clearing.

6 years agoMerge !700: daemon TLS: increase wire-buffer size
Vladimír Čunát [Wed, 28 Nov 2018 13:29:28 +0000 (13:29 +0000)] 
Merge !700: daemon TLS: increase wire-buffer size

6 years agodaemon various nitpicks
Vladimír Čunát [Wed, 28 Nov 2018 12:29:06 +0000 (13:29 +0100)] 
daemon various nitpicks

- session: data length would be difference between start and end
  indices, but the function is unused so why even have it?

6 years agodaemon TLS: increase wire-buffer size
Grigorii Demidov [Thu, 15 Nov 2018 13:29:55 +0000 (14:29 +0100)] 
daemon TLS: increase wire-buffer size

When decoding large packets, gnutls gives the application chunks
of size 16kb. So that tls session wirebuffer must be at least
KNOT_WIRE_MAX_PKTSIZE + 16kb.  (message re-formatted by vcunat)

6 years agoMerge !714: daemon: fix TLS rehandshake processing
Vladimír Čunát [Wed, 28 Nov 2018 11:17:46 +0000 (11:17 +0000)] 
Merge !714: daemon: fix TLS rehandshake processing

6 years agodaemon/io: fix insufficient error handling when receiving tls data
Grigorii Demidov [Tue, 27 Nov 2018 14:08:18 +0000 (15:08 +0100)] 
daemon/io: fix insufficient error handling when receiving tls data

6 years agodaemon/tls, daemon/worker: fix rehandshake processing
Grigorii Demidov [Mon, 26 Nov 2018 16:32:16 +0000 (17:32 +0100)] 
daemon/tls, daemon/worker: fix rehandshake processing

6 years agoMerge !715: lib/resolve: fix build with -DNOVERBOSELOG
Vladimír Čunát [Wed, 28 Nov 2018 10:20:30 +0000 (10:20 +0000)] 
Merge !715: lib/resolve: fix build with -DNOVERBOSELOG

Fixes #424.

6 years agolib/resolve: fix build with -DNOVERBOSELOG
Vladimír Čunát [Wed, 28 Nov 2018 10:14:53 +0000 (11:14 +0100)] 
lib/resolve: fix build with -DNOVERBOSELOG

Fixes #424.

6 years agoMerge !713: CI lint:clang-scan-build: make it mandatory!
Vladimír Čunát [Mon, 26 Nov 2018 15:04:44 +0000 (15:04 +0000)] 
Merge !713: CI lint:clang-scan-build: make it mandatory!

6 years agoCI lint:clang-scan-build: make it mandatory!
Vladimír Čunát [Mon, 26 Nov 2018 13:32:00 +0000 (14:32 +0100)] 
CI lint:clang-scan-build: make it mandatory!

6 years agoMerge !709: misc -Wpedantic fixes, including a class of bugs
Vladimír Čunát [Mon, 26 Nov 2018 15:01:24 +0000 (15:01 +0000)] 
Merge !709: misc -Wpedantic fixes, including a class of bugs

6 years agodisable more -Wpedantic warnings via #pragma
Vladimír Čunát [Thu, 22 Nov 2018 16:50:33 +0000 (17:50 +0100)] 
disable more -Wpedantic warnings via #pragma

6 years agoQRVERBOSE: move more code into a function, add docs
Vladimír Čunát [Thu, 22 Nov 2018 15:15:06 +0000 (16:15 +0100)] 
QRVERBOSE: move more code into a function, add docs

There's only very little that makes sense to "inline".
My understanding that it makes sense to have such heavier
optimization only for the case when no verbose logging is done.
This might actually help due to decreasing code size.

6 years agoQRVERBOSE: avoid a -Wpedantic warning
Vladimír Čunát [Thu, 22 Nov 2018 14:11:37 +0000 (15:11 +0100)] 
QRVERBOSE: avoid a -Wpedantic warning

It's about a hundred of them.  The price is making two printf calls
instead of one.  That seems acceptable; these warning tools can help us
in future, and the likelihood of mixing outputs from different processes
seems relatively small.

6 years agolib/utils kr_log_trace_enabled(): optimize for false
Vladimír Čunát [Thu, 22 Nov 2018 14:05:23 +0000 (15:05 +0100)] 
lib/utils kr_log_trace_enabled(): optimize for false

6 years agolocally disable some -Wpedantic via #pragma
Vladimír Čunát [Wed, 21 Nov 2018 17:50:16 +0000 (18:50 +0100)] 
locally disable some -Wpedantic via #pragma

Function pointers and void* probably can't well interact
when using -Wpedantic.

6 years agomisc -Wpedantic fixes
Vladimír Čunát [Wed, 21 Nov 2018 17:32:28 +0000 (18:32 +0100)] 
misc -Wpedantic fixes

6 years agotreewide: use more standard variadic macros
Vladimír Čunát [Wed, 21 Nov 2018 16:58:01 +0000 (17:58 +0100)] 
treewide: use more standard variadic macros

There's still an unresolved "problem" with QRVERBOSE getting
empty variadic list sometimes, and I can't see a good way around that.

6 years agozonecut, treewide: remove incorrect arrays of knot_rdata_t
Vladimír Čunát [Wed, 21 Nov 2018 16:01:05 +0000 (17:01 +0100)] 
zonecut, treewide: remove incorrect arrays of knot_rdata_t

To simplify this, some of the zonecut API was generalized
(API+ABI break).  Detected by -Wpedantic.

6 years agotreewide nitpick: remove extraneous semicolons
Vladimír Čunát [Wed, 21 Nov 2018 15:11:13 +0000 (16:11 +0100)] 
treewide nitpick: remove extraneous semicolons

Detected by -Wpedantic

6 years agoMerge !704: daemon/lua: add support for resizing packets
Vladimír Čunát [Mon, 26 Nov 2018 13:59:08 +0000 (13:59 +0000)] 
Merge !704: daemon/lua: add support for resizing packets

6 years agodaemon/lua: add support for resizing packets
Marek Vavruša [Mon, 18 Jun 2018 19:09:51 +0000 (12:09 -0700)] 
daemon/lua: add support for resizing packets

6 years agoMerge !699: changes around checkout layer from cloudflare
Vladimír Čunát [Mon, 26 Nov 2018 13:10:36 +0000 (13:10 +0000)] 
Merge !699: changes around checkout layer from cloudflare

6 years agolib/resolve nitpick: add const to a parameter
Vladimír Čunát [Mon, 26 Nov 2018 10:19:43 +0000 (11:19 +0100)] 
lib/resolve nitpick: add const to a parameter

There seems no potential for modifying this one.

6 years agolib/resolve: randomize qname in checkout layer when secret changes
Marek Vavruša [Fri, 27 Apr 2018 06:23:40 +0000 (23:23 -0700)] 
lib/resolve: randomize qname in checkout layer when secret changes

This allows changing of secret in the checkout layer.

6 years agodaemon/worker: move checkout layer before connect, catch checkout errors
Marek Vavruša [Fri, 27 Apr 2018 06:21:31 +0000 (23:21 -0700)] 
daemon/worker: move checkout layer before connect, catch checkout errors

The checkout layer was moved to where upstream address is known, but
before outbound message is sent (or connected to upstream).
The reason is to allow checkout layer to block outbound queries
without wasting time waiting for connect.

6 years agoMerge !702: CI clang-scan-build fixes
Vladimír Čunát [Wed, 21 Nov 2018 15:04:43 +0000 (15:04 +0000)] 
Merge !702: CI clang-scan-build fixes

We had 35 reports, now we'll have just 7
and mostly in code that's not ours (contrib/*).

6 years agolib/utils kr_inaddr_str(): avoid another copy
Vladimír Čunát [Thu, 15 Nov 2018 17:13:35 +0000 (18:13 +0100)] 
lib/utils kr_inaddr_str(): avoid another copy

... and avoid a scan-build error.

6 years agodaemon/ffimodule: avoid ugly casting for slots
Vladimír Čunát [Thu, 15 Nov 2018 16:26:32 +0000 (17:26 +0100)] 
daemon/ffimodule: avoid ugly casting for slots

Also simplify l_ffi_deinit().

6 years agoCI lint:clang-scan-build - more error reductions
Vladimír Čunát [Thu, 15 Nov 2018 15:45:12 +0000 (16:45 +0100)] 
CI lint:clang-scan-build - more error reductions

6 years agolib/resolve: eliminate more double initialization
Vladimír Čunát [Thu, 15 Nov 2018 14:43:58 +0000 (15:43 +0100)] 
lib/resolve: eliminate more double initialization

Again, it's just a mechanical change,
looking at occurences of the identifiers.

6 years agolib/resolve: eliminate double initialization
Vladimír Čunát [Thu, 15 Nov 2018 14:27:38 +0000 (15:27 +0100)] 
lib/resolve: eliminate double initialization

It's just a few lines apart.  It's been generating lots of noise
in CI lint:clang-scan-build.

6 years agodaemon/worker: fix easy warnings from CI lint:clang
Vladimír Čunát [Thu, 15 Nov 2018 12:17:07 +0000 (13:17 +0100)] 
daemon/worker: fix easy warnings from CI lint:clang

6 years agoMerge !708: misc nitpicks, see commits for details
Vladimír Čunát [Wed, 21 Nov 2018 13:31:41 +0000 (13:31 +0000)] 
Merge !708: misc nitpicks, see commits for details

6 years agolru: fix case when inserting value with larger size than allocated
Marek Vavruša [Wed, 16 May 2018 04:34:00 +0000 (21:34 -0700)] 
lru: fix case when inserting value with larger size than allocated

This fixes a case when inserting into LRU, and the entry for given
key exists, but has allocated smaller value than what's requested.

6 years agoengine kr_prop_cb: link to implementation details
Vladimír Čunát [Tue, 30 Oct 2018 09:48:10 +0000 (10:48 +0100)] 
engine kr_prop_cb: link to implementation details

6 years agomm_free(): accept const void *
Vladimír Čunát [Thu, 18 Oct 2018 14:07:31 +0000 (16:07 +0200)] 
mm_free(): accept const void *

Sometimes it's useful to express that pointed-to memory is constant,
and free-like functions then just cause extra unreadability.

6 years agokr_zonecut_move(): new function
Vladimír Čunát [Tue, 23 Oct 2018 15:43:25 +0000 (17:43 +0200)] 
kr_zonecut_move(): new function

It's more efficient for some our use cases,
and hopefully also more idiomatic.

6 years agodetect_time_jump nitpick doc: note the Linux 4.17 change
Vladimír Čunát [Fri, 19 Oct 2018 14:41:47 +0000 (16:41 +0200)] 
detect_time_jump nitpick doc: note the Linux 4.17 change

6 years agonitpicks around older changes for stale-serving
Vladimír Čunát [Wed, 21 Mar 2018 09:40:36 +0000 (10:40 +0100)] 
nitpicks around older changes for stale-serving

6 years agonsrep: give advantage to IPv6 also for FORWARD-like
Vladimír Čunát [Wed, 21 Mar 2018 11:01:42 +0000 (12:01 +0100)] 
nsrep: give advantage to IPv6 also for FORWARD-like

6 years agokr_nsrep_update_rtt() nitpick: reduce inaddr juggling
Vladimír Čunát [Thu, 11 Oct 2018 10:55:29 +0000 (12:55 +0200)] 
kr_nsrep_update_rtt() nitpick: reduce inaddr juggling

We have functions for this, so let's use them more.

6 years agoMerge branch 'stable-date' into 'master'
Tomas Krizek [Wed, 21 Nov 2018 11:47:26 +0000 (11:47 +0000)] 
Merge branch 'stable-date' into 'master'

doc: draw date in kresd.8 from NEWS

See merge request knot/knot-resolver!706

6 years agodoc: draw date in kresd.8 from NEWS
Daniel Kahn Gillmor [Tue, 20 Nov 2018 18:26:08 +0000 (13:26 -0500)] 
doc: draw date in kresd.8 from NEWS

Ideally, we'll just use the datestamp in the first line of NEWS directly.

if we can't find that, then fall back to the timestamp of the file
(which might be different on different machines because of how git
applies updates).  In any event, choose the datestamp using UTC, to
avoid building a different kresd.8 depending on the TZ of the machine.

6 years agoMerge branch 'qsource-copy' into 'master'
Tomas Krizek [Mon, 19 Nov 2018 17:21:29 +0000 (17:21 +0000)] 
Merge branch 'qsource-copy' into 'master'

daemon/worker: ignore KNOT_ETRAIL when saving source packet

See merge request knot/knot-resolver!705

6 years agodaemon/worker: ignore KNOT_ETRAIL when saving source packet
Grigorii Demidov [Mon, 19 Nov 2018 16:19:48 +0000 (17:19 +0100)] 
daemon/worker: ignore KNOT_ETRAIL when saving source packet

6 years agoMerge !701: CI clang tools: 5.0 -> 7.0
Vladimír Čunát [Thu, 15 Nov 2018 14:03:02 +0000 (14:03 +0000)] 
Merge !701: CI clang tools: 5.0 -> 7.0

6 years agodaemon/main: work around CI lint:c problem
Vladimír Čunát [Thu, 15 Nov 2018 13:50:27 +0000 (14:50 +0100)] 
daemon/main: work around CI lint:c problem

6 years agoCI: update clang tools for lint:*
Vladimír Čunát [Thu, 15 Nov 2018 12:46:51 +0000 (13:46 +0100)] 
CI: update clang tools for lint:*

In particular, in .gitlab-ci.yml I see no reason to hard-code
the version of clang tools - it seems easier to control that
only when generating the image.

6 years agoMerge !696: travis ci: fix OS X build and link with GitLab CI
Vladimír Čunát [Wed, 14 Nov 2018 13:51:52 +0000 (13:51 +0000)] 
Merge !696: travis ci: fix OS X build and link with GitLab CI

Closes #411.

6 years agomodules/nsid: fix linkage on some systems
Vladimír Čunát [Wed, 14 Nov 2018 13:40:39 +0000 (14:40 +0100)] 
modules/nsid: fix linkage on some systems

This is my mistake.  I was convinced this line wasn't needed
and I deleted it before merging the module.
Apparently we still have some deficiencies in the build system,
but let's defer that to migration (to meson probably).

6 years agotravis: silence all notifications
Tomas Krizek [Tue, 6 Nov 2018 17:25:58 +0000 (18:25 +0100)] 
travis: silence all notifications

6 years agoscripts: remove obsolete bootstrap-depends.sh
Tomas Krizek [Wed, 7 Nov 2018 13:20:14 +0000 (14:20 +0100)] 
scripts: remove obsolete bootstrap-depends.sh

6 years agoci: add OSX test via Travis CI API
Tomas Krizek [Wed, 7 Nov 2018 13:19:17 +0000 (14:19 +0100)] 
ci: add OSX test via Travis CI API

6 years agoci/debian-stable: add python requests packakge
Tomas Krizek [Wed, 7 Nov 2018 13:12:35 +0000 (14:12 +0100)] 
ci/debian-stable: add python requests packakge

6 years agotravis: clean up config
Tomas Krizek [Tue, 6 Nov 2018 17:55:15 +0000 (18:55 +0100)] 
travis: clean up config

6 years agotravis: install osx deps
Tomas Krizek [Tue, 6 Nov 2018 17:55:00 +0000 (18:55 +0100)] 
travis: install osx deps

6 years agotravis: osx don't upgrade installed packages
Tomas Krizek [Tue, 6 Nov 2018 17:35:35 +0000 (18:35 +0100)] 
travis: osx don't upgrade installed packages

6 years agotravis: remove unused gitter webhook
Tomas Krizek [Tue, 6 Nov 2018 17:25:33 +0000 (18:25 +0100)] 
travis: remove unused gitter webhook

6 years agoMerge !694: docker: update to debian-based container + CI
Vladimír Čunát [Wed, 14 Nov 2018 13:24:49 +0000 (13:24 +0000)] 
Merge !694: docker: update to debian-based container + CI

Fixes #410.

6 years agoREADME: update docker command to expose ports
Tomas Krizek [Tue, 6 Nov 2018 17:11:05 +0000 (18:11 +0100)] 
README: update docker command to expose ports

6 years agogitlabci: test container in CI
Tomas Krizek [Tue, 6 Nov 2018 15:03:19 +0000 (16:03 +0100)] 
gitlabci: test container in CI

6 years agodoc: remove bootstrap-depends.sh example
Tomas Krizek [Tue, 6 Nov 2018 14:31:23 +0000 (15:31 +0100)] 
doc: remove bootstrap-depends.sh example

6 years agoDockerfile: update image
Tomas Krizek [Tue, 6 Nov 2018 14:32:57 +0000 (15:32 +0100)] 
Dockerfile: update image

- building different version of kresd is not properly supported
  (uses current directory with checked-out code instead of git master)
- based on debian:stable instead of alpine for easier dependency
  resolution
- moved both Dockerfile and config to more appropriate locations

6 years agoMerge !698: http module improvements from cloudflare
Vladimír Čunát [Wed, 14 Nov 2018 11:51:59 +0000 (11:51 +0000)] 
Merge !698: http module improvements from cloudflare

6 years agomodules/http: allow listening on UNIX sockets
Marek Vavruša [Wed, 29 Aug 2018 22:35:20 +0000 (15:35 -0700)] 
modules/http: allow listening on UNIX sockets

6 years agomodules/http: run prometheus collector on leader only
Anbang Wen [Tue, 10 Jul 2018 08:02:59 +0000 (01:02 -0700)] 
modules/http: run prometheus collector on leader only

Metrics are collected and merged in http.prometheus, no need to be run
on every worker.

6 years agomodules/http: added an error handler to HTTP streams
Marek Vavruša [Mon, 2 Apr 2018 23:42:42 +0000 (16:42 -0700)] 
modules/http: added an error handler to HTTP streams

Instead of throwing an error in the HTTP handler, server should log it.
This covers errors like client disconnecting before reading the response
body etc.

6 years agoMerge !697: network: make TCP_BACKLOG_DEFAULT a #define
Vladimír Čunát [Wed, 14 Nov 2018 10:08:52 +0000 (10:08 +0000)] 
Merge !697: network: make TCP_BACKLOG_DEFAULT a #define

6 years agonetwork: make TCP_BACKLOG_DEFAULT a compile time define and set to default
Marek Vavruša [Fri, 6 Apr 2018 16:32:17 +0000 (09:32 -0700)] 
network: make TCP_BACKLOG_DEFAULT a compile time define and set to default

This was previously hardcoded to 16. This makes it at least a compile time
define, with a default of 511 (as that's what Redis and Apache use).

6 years agoMerge !695: two new EDNS modules, new layer
Vladimír Čunát [Tue, 13 Nov 2018 11:54:58 +0000 (11:54 +0000)] 
Merge !695: two new EDNS modules, new layer

6 years agomodules/nsid: new module for +NSID (server-side)
Petr Špaček [Thu, 25 Oct 2018 14:08:54 +0000 (16:08 +0200)] 
modules/nsid: new module for +NSID (server-side)

Minor changes to be blamed on Vladimir.

6 years agomodules/edns_keepalive: new module, loaded by default
Grigorii Demidov [Tue, 13 Nov 2018 10:48:31 +0000 (11:48 +0100)] 
modules/edns_keepalive: new module, loaded by default

Minor changes to be blamed on Vladimir.

6 years agoNEWS: document the module API changes
Vladimír Čunát [Mon, 12 Nov 2018 15:58:41 +0000 (16:58 +0100)] 
NEWS: document the module API changes

... done in the few preceding commits.
I intentionally don't mention ::daemon_context at this point.

6 years agokr_request: move ::has_tls to ::qsource.flags.tls
Vladimír Čunát [Wed, 7 Nov 2018 15:40:56 +0000 (16:40 +0100)] 
kr_request: move ::has_tls to ::qsource.flags.tls

We were quite inconsistent here.

6 years agokr_request: move ::qsource.tcp to ::qsource.flags.tcp
Vladimír Čunát [Mon, 12 Nov 2018 15:37:07 +0000 (16:37 +0100)] 
kr_request: move ::qsource.tcp to ::qsource.flags.tcp

6 years agoprepare for adding EDNS modules
Grigorii Demidov [Wed, 7 Nov 2018 10:41:23 +0000 (11:41 +0100)] 
prepare for adding EDNS modules

- answer_finalize: new layer
- kr_request: keep ::qsource.packet beyond the begin phase
- kr_request: add ::daemon_context

6 years agoMerge !693: policy docs improvements
Vladimír Čunát [Tue, 6 Nov 2018 14:03:40 +0000 (14:03 +0000)] 
Merge !693: policy docs improvements

6 years agopolicy docs: move RFC-mandated defaults together
Vladimír Čunát [Tue, 6 Nov 2018 12:00:13 +0000 (13:00 +0100)] 
policy docs: move RFC-mandated defaults together

6 years agopolicy docs: add section about combining DNS trees
Vladimír Čunát [Tue, 6 Nov 2018 10:30:13 +0000 (11:30 +0100)] 
policy docs: add section about combining DNS trees

6 years agoMerge branch 'release-3-1-0' into 'master' v3.1.0
Tomas Krizek [Fri, 2 Nov 2018 15:29:27 +0000 (15:29 +0000)] 
Merge branch 'release-3-1-0' into 'master'

release 3.1.0

See merge request knot/knot-resolver!692

6 years agorelease 3.1.0
Tomas Krizek [Fri, 2 Nov 2018 11:42:43 +0000 (12:42 +0100)] 
release 3.1.0

6 years agoMerge branch 'ns-cycled' into 'master'
Tomas Krizek [Fri, 2 Nov 2018 15:26:56 +0000 (15:26 +0000)] 
Merge branch 'ns-cycled' into 'master'

lib/zonecut: avoid one kind of NS dependency cycles

Closes #374

See merge request knot/knot-resolver!690

6 years agolib/zonecut: verbose output tweaks
Vladimír Čunát [Thu, 1 Nov 2018 10:24:50 +0000 (11:24 +0100)] 
lib/zonecut: verbose output tweaks

6 years agovarious nitpicks around the parent commit
Vladimír Čunát [Wed, 31 Oct 2018 13:59:20 +0000 (14:59 +0100)] 
various nitpicks around the parent commit

6 years agolib/zonecut: avoid one kind of NS dependency cycles
Vladimír Čunát [Wed, 17 Oct 2018 17:00:53 +0000 (19:00 +0200)] 
lib/zonecut: avoid one kind of NS dependency cycles

The problem here was that we need to know which addresses are timed-out
(and not to be re-probed) much earlier than we do NS selection ATM -
that's because under some circumstances it affects the depth of NS
zone cut that we choose, i.e. if all addresses in a certain zone cut are
"bad" in a certain sense, we need to use a zone cut closer to the root,
because otherwise we'd get into a dependency cycle.

6 years agoMerge branch 'packaging-update' into 'master'
Tomas Krizek [Fri, 2 Nov 2018 13:50:29 +0000 (13:50 +0000)] 
Merge branch 'packaging-update' into 'master'

packaging: updates

See merge request knot/knot-resolver!676

6 years agodistro/tests: remove Fedora27
Tomas Krizek [Fri, 2 Nov 2018 12:57:16 +0000 (13:57 +0100)] 
distro/tests: remove Fedora27