]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
7 years agoMerge !471: doc: fix the build on readthedocs.org
Vladimír Čunát [Wed, 31 Jan 2018 09:42:50 +0000 (10:42 +0100)] 
Merge !471: doc: fix the build on readthedocs.org

7 years agodoc: fix the build on readthedocs.org
Vladimír Čunát [Wed, 31 Jan 2018 09:24:07 +0000 (10:24 +0100)] 
doc: fix the build on readthedocs.org

The version restricion has remained way too long, apparently.

7 years agoMerge !468: Add serve_stale module (demo)
Vladimír Čunát [Wed, 31 Jan 2018 08:50:59 +0000 (09:50 +0100)] 
Merge !468: Add serve_stale module (demo)

7 years agonew serve_stale module
Vladimír Čunát [Mon, 15 Jan 2018 16:22:01 +0000 (17:22 +0100)] 
new serve_stale module

Decision function is separated out.

7 years agodaemon: decrease timeouts
Vladimír Čunát [Mon, 29 Jan 2018 15:37:41 +0000 (16:37 +0100)] 
daemon: decrease timeouts

Let's allow 4 UDP + 4 TCP attempts, within 2+2 seconds,
and then start also using stale cache.

7 years agolua: regenerate bindings
Vladimír Čunát [Mon, 29 Jan 2018 15:34:48 +0000 (16:34 +0100)] 
lua: regenerate bindings

Some parts were hand-written, apparently.

7 years agoMerge branch 'ci-respdiff' into 'master'
Tomas Krizek [Tue, 30 Jan 2018 18:21:02 +0000 (19:21 +0100)] 
Merge branch 'ci-respdiff' into 'master'

ci: respdiff - update config

See merge request knot/knot-resolver!469

7 years agoci: increase respdiff mismatch tolerance to 3%
Tomas Krizek [Tue, 30 Jan 2018 17:29:34 +0000 (18:29 +0100)] 
ci: increase respdiff mismatch tolerance to 3%

Since we've added the `timeout` metric to respdiff, it uncovered
an issue when running in Docker, where a large amount of queries
(~2% / resolver) end with a timeout.

Until the issue is investigated and fixed, temporarily bump the CI's
tolerance for the test to pass to 3%.

7 years agoci: respdiff - add timeout field to config
Tomas Krizek [Tue, 30 Jan 2018 16:31:57 +0000 (17:31 +0100)] 
ci: respdiff - add timeout field to config

7 years agoMerge branch 'systemd-multiprocess' into 'master'
Tomas Krizek [Tue, 30 Jan 2018 14:54:50 +0000 (15:54 +0100)] 
Merge branch 'systemd-multiprocess' into 'master'

systemd: enable multiple processes with socket activation

See merge request knot/knot-resolver!464

7 years agosystemd: enable multiple processes with socket activation
Tomas Krizek [Thu, 25 Jan 2018 17:17:09 +0000 (18:17 +0100)] 
systemd: enable multiple processes with socket activation

In order to be able to spawn multiple processes with socket activation,
systemd template (see systemd.unit(5)) is used. This allows the user to
create any amount of instances by simply providing a unique name for
each of them. The most sensible instance identifiers are natural
numbers, but any convention could be used.

The default recommended service name becomes kresd@1.service, replacing
the older kresd.service. Sockets are renamed in a similar way. Users are
able to take advantage of bash expansion to spawn/control multiple
processes, e.g. "systemctl start kresd@{1..16}.service"

The socket-activated service can now be launched directly with
"systemctl start kresd@1.service", which will request the associated
sockets without the need for any extra priviledges or capabilities.

Stopping the kresd service now also stops the associated sockets.
Stopping any individual socket is an isolated opration now (stopping
kresd@1.socket no longer stop kresd-tls@1.socket and
kresd-control@1.socket).

Users and packagers are also encouraged to use drop-in files for extra
configuration or modifications to ensure compatibility with their
distribution.

7 years agoconfig.lua: exit if kresd isn't listening on any interface
Tomas Krizek [Thu, 25 Jan 2018 17:16:34 +0000 (18:16 +0100)] 
config.lua: exit if kresd isn't listening on any interface

7 years agoMerge !422: aggressive use of cache DNSSEC-validated cache
Vladimír Čunát [Tue, 30 Jan 2018 14:30:45 +0000 (15:30 +0100)] 
Merge !422: aggressive use of cache DNSSEC-validated cache

It's not for NSEC3, etc.  We'll fill NEWS soon.

7 years agolint:c nitpicks
Vladimír Čunát [Tue, 30 Jan 2018 14:18:08 +0000 (15:18 +0100)] 
lint:c nitpicks

7 years agodoc: fixup after moving files around
Vladimír Čunát [Tue, 30 Jan 2018 14:17:04 +0000 (15:17 +0100)] 
doc: fixup after moving files around

7 years agoMerge tag 'v1.99.1-alpha' into cache-aggr-wip
Vladimír Čunát [Tue, 30 Jan 2018 14:14:11 +0000 (15:14 +0100)] 
Merge tag 'v1.99.1-alpha' into cache-aggr-wip

It's just to have the tag in history.  The files are unchanged.

7 years agomove files: all cache stuff is in lib/cache/ now
Vladimír Čunát [Tue, 30 Jan 2018 14:07:20 +0000 (15:07 +0100)] 
move files: all cache stuff is in lib/cache/ now

Almost.  A trivial lib/layer/cache.c remains.
I put all lib/generic/*.h into libkres_HEADERS, to be sure.
They rarely change anyway.

7 years agoMerge branch 'master' into cache-aggr-wip
Vladimír Čunát [Tue, 30 Jan 2018 13:05:58 +0000 (14:05 +0100)] 
Merge branch 'master' into cache-aggr-wip

7 years agoMerge !466: osx and other fixes
Vladimír Čunát [Tue, 30 Jan 2018 13:04:11 +0000 (14:04 +0100)] 
Merge !466: osx and other fixes

7 years agomain: fix exiting with --help etc.
Vladimír Čunát [Tue, 30 Jan 2018 10:45:41 +0000 (11:45 +0100)] 
main: fix exiting with --help etc.

7 years agomain: fix build without CAN_FORK_EARLY
Vladimír Čunát [Tue, 30 Jan 2018 10:30:02 +0000 (11:30 +0100)] 
main: fix build without CAN_FORK_EARLY

7 years agomake: fixup passing export-dynamic flags
Vladimír Čunát [Tue, 30 Jan 2018 10:19:17 +0000 (11:19 +0100)] 
make: fixup passing export-dynamic flags

It was breaking on Darwin, and clang was throwing warnings.
Problem since ddb699d364.

7 years agoMerge branch 'organize-doc' into 'master'
Petr Špaček [Tue, 30 Jan 2018 12:24:02 +0000 (13:24 +0100)] 
Merge branch 'organize-doc' into 'master'

documentation: reorganize chapters

See merge request knot/knot-resolver!467

7 years agodocumentation: reorganize chapters
Tomas Krizek [Tue, 30 Jan 2018 11:52:59 +0000 (12:52 +0100)] 
documentation: reorganize chapters

The manual page discusses basic usage of kresd, but completely lacks
configuration description. Users are pointed to
https://knot-resolver.readthedocs.io for reference. When visiting this
page, the most important information they don't have yet, is how to
configure kresd. This should be the first chapter in the documentation
to make it easier to find.

7 years agologging: fix bad whitespace (newline inside message)
Vladimír Čunát [Tue, 30 Jan 2018 09:43:58 +0000 (10:43 +0100)] 
logging: fix bad whitespace (newline inside message)

7 years agodoc: fixup after removing other cache modules
Vladimír Čunát [Mon, 29 Jan 2018 16:01:53 +0000 (17:01 +0100)] 
doc: fixup after removing other cache modules

7 years agoMerge branch 'clang-scan' into 'master'
Petr Špaček [Mon, 29 Jan 2018 08:02:05 +0000 (09:02 +0100)] 
Merge branch 'clang-scan' into 'master'

fix two nitpicks from clang-scan

See merge request knot/knot-resolver!465

7 years agofix two nitpicks from clang-scan
Vladimír Čunát [Mon, 29 Jan 2018 07:38:33 +0000 (08:38 +0100)] 
fix two nitpicks from clang-scan

- utils.c: overflowing size_t is basically impossible, but well...
- stats.c: NULL would probably not cause a problem with zero length passed

7 years agoMerge !454: daemon/worker: fix regression from e7c5c102d0eb8
Vladimír Čunát [Mon, 29 Jan 2018 07:26:34 +0000 (08:26 +0100)] 
Merge !454: daemon/worker: fix regression from e7c5c102d0eb8

7 years agodaemon/worker: cleanup errors; missed packet source
Grigorii Demidov [Mon, 22 Jan 2018 12:42:29 +0000 (13:42 +0100)] 
daemon/worker: cleanup errors; missed packet source

7 years agocache: avoid leaking memory
Vladimír Čunát [Fri, 26 Jan 2018 16:31:52 +0000 (17:31 +0100)] 
cache: avoid leaking memory

Also guard all allocations in cache against this, via assert.
(Except in cases that would segfault anyway.)

7 years agocache: *always* store and retrieve RRSIGs
Vladimír Čunát [Fri, 26 Jan 2018 13:27:53 +0000 (14:27 +0100)] 
cache: *always* store and retrieve RRSIGs

7 years agocache: skip NSEC stype, instead of failing assertion
Vladimír Čunát [Thu, 25 Jan 2018 17:48:24 +0000 (18:48 +0100)] 
cache: skip NSEC stype, instead of failing assertion

7 years agocache: try also CNAME wildcard
Vladimír Čunát [Thu, 25 Jan 2018 16:39:10 +0000 (17:39 +0100)] 
cache: try also CNAME wildcard

I somehow forgot that case.  Unfortunately the cache optimization for
CNAMEs doesn't help this case, so we just do (up to) two probes.

7 years agoMerge branch 'policy_polish' into 'master'
Petr Špaček [Thu, 25 Jan 2018 16:43:51 +0000 (17:43 +0100)] 
Merge branch 'policy_polish' into 'master'

policy: polish policy module up

See merge request knot/knot-resolver!462

7 years agoCI: test doc build
Petr Špaček [Thu, 25 Jan 2018 12:53:17 +0000 (13:53 +0100)] 
CI: test doc build

7 years agodoc: fix Sphinx warnings
Petr Špaček [Thu, 25 Jan 2018 13:12:13 +0000 (14:12 +0100)] 
doc: fix Sphinx warnings

7 years agopolicy: polish policy module documentation
Petr Špaček [Thu, 25 Jan 2018 12:50:22 +0000 (13:50 +0100)] 
policy: polish policy module documentation

7 years agopolicy: fix generated SOA RR so it can be cached
Petr Špaček [Thu, 25 Jan 2018 11:46:53 +0000 (12:46 +0100)] 
policy: fix generated SOA RR so it can be cached

RFC 6303 section 3 explains that

   The SOA RR is needed to support negative caching [RFC2308] of name
   error responses and to point clients to the primary master for DNS
   dynamic updates.

Now SOA RR owner name matches query name so it can be cached.
Using zone name as owner would be more difficult so it is left for
further optimizations.

I've verified that nsupdate correctly determines that master name
does not exist and stops update process.

7 years agopolicy: add explanatory TXT record to zones blocked by default
Petr Špaček [Thu, 25 Jan 2018 11:26:50 +0000 (12:26 +0100)] 
policy: add explanatory TXT record to zones blocked by default

7 years agopolicy: refactor policy and view modules
Petr Špaček [Thu, 25 Jan 2018 09:14:28 +0000 (10:14 +0100)] 
policy: refactor policy and view modules

I've removed couple layers of indirection to make it easier to follow.
This should make it easier to extend the policy module.

7 years agoMerge branch 'respdiff-debug' into 'master'
Petr Špaček [Thu, 25 Jan 2018 15:45:45 +0000 (16:45 +0100)] 
Merge branch 'respdiff-debug' into 'master'

CI: store respdiff database for debuging purposes

See merge request knot/knot-resolver!443

7 years agoCI: store respdiff database for debuging purposes
Petr Špaček [Mon, 15 Jan 2018 11:46:14 +0000 (12:46 +0100)] 
CI: store respdiff database for debuging purposes

7 years agoMerge branch 'dockerfile' into 'master'
Petr Špaček [Thu, 25 Jan 2018 14:38:15 +0000 (15:38 +0100)] 
Merge branch 'dockerfile' into 'master'

Dockefile: fix TLS server in demo container

See merge request knot/knot-resolver!463

7 years agoDockefile: fix TLS server in demo container
Petr Špaček [Thu, 25 Jan 2018 14:29:25 +0000 (15:29 +0100)] 
Dockefile: fix TLS server in demo container

Related: #297

7 years agotreewide: compiler warnings for printf-style functions
Vladimír Čunát [Thu, 25 Jan 2018 13:24:24 +0000 (14:24 +0100)] 
treewide: compiler warnings for printf-style functions

7 years agoreduce verbosity of cache-related logs
Vladimír Čunát [Thu, 25 Jan 2018 13:17:22 +0000 (14:17 +0100)] 
reduce verbosity of cache-related logs

It was just too noisy for default --verbose.

7 years agocache: fix logging after parent merge
Vladimír Čunát [Thu, 25 Jan 2018 12:25:57 +0000 (13:25 +0100)] 
cache: fix logging after parent merge

7 years agoMerge master into cache-aggr-wip
Vladimír Čunát [Thu, 25 Jan 2018 08:32:11 +0000 (09:32 +0100)] 
Merge master into cache-aggr-wip

... to start fixing conflicts with changes in logging

7 years agoMerge branch 'dockerfile' into 'master'
Petr Špaček [Wed, 24 Jan 2018 16:18:52 +0000 (17:18 +0100)] 
Merge branch 'dockerfile' into 'master'

Docker: fix Dockerfile for demo container

Closes #297

See merge request knot/knot-resolver!461

7 years agoDocker: fix Dockerfile for demo container
Petr Špaček [Wed, 24 Jan 2018 16:09:07 +0000 (17:09 +0100)] 
Docker: fix Dockerfile for demo container

libstdc++ was missing in the Alpine image.
At the same time, I've enabled DNSSEC validation, DNS-over-TLS, HTTP interface
and added explanatory message.

7 years agotreewide: prepare for libknot-2.7
Vladimír Čunát [Wed, 24 Jan 2018 14:25:25 +0000 (15:25 +0100)] 
treewide: prepare for libknot-2.7

Covers changes to case handling of knot_dname_lf and knot_dname_cmp.

7 years agotreewide: fix lower-casing of NSEC next name
Vladimír Čunát [Wed, 24 Jan 2018 14:03:15 +0000 (15:03 +0100)] 
treewide: fix lower-casing of NSEC next name

7 years agoMerge !439: Use common convention for paths and user name
Vladimír Čunát [Wed, 24 Jan 2018 11:03:16 +0000 (12:03 +0100)] 
Merge !439: Use common convention for paths and user name

7 years agouse common convention for configuration path and user name
Tomas Krizek [Fri, 12 Jan 2018 09:29:53 +0000 (10:29 +0100)] 
use common convention for configuration path and user name

7 years agoMerge !405: Support for tracing query execution logs
Vladimír Čunát [Tue, 23 Jan 2018 18:47:16 +0000 (19:47 +0100)] 
Merge !405: Support for tracing query execution logs

7 years agohttp module: rename after 2702e0416994
Vladimír Čunát [Tue, 23 Jan 2018 18:29:43 +0000 (19:29 +0100)] 
http module: rename after 2702e0416994

7 years agonitpicks from review of !405: query-trace
Vladimír Čunát [Tue, 23 Jan 2018 18:07:35 +0000 (19:07 +0100)] 
nitpicks from review of !405: query-trace

The deckard change was probably unintentional, so I reverted that.
The only real mistake I found was `sizeof(128)`, though the effect was
just unnecessary reallocations.

On the whole I really like it.  Verbose logging might get slightly
slower, due to increased amount of string allocation and copying,
but it does seem worth it, at least until we can prove otherwise.
I didn't look much into http module changes, etc.

7 years agoMerge branch 'master'
Vladimír Čunát [Tue, 23 Jan 2018 18:36:49 +0000 (19:36 +0100)] 
Merge branch 'master'

7 years agoMerge branch 'fix-sphinx-rtd-theme' into 'master'
Tomas Krizek [Tue, 23 Jan 2018 18:32:44 +0000 (19:32 +0100)] 
Merge branch 'fix-sphinx-rtd-theme' into 'master'

doc: fix generating sphinx doc using older packages

See merge request knot/knot-resolver!460

7 years agodoc: fix generating sphinx doc using older packages
Tomas Krizek [Tue, 23 Jan 2018 14:57:51 +0000 (15:57 +0100)] 
doc: fix generating sphinx doc using older packages

7 years agoMerge !459: 1.5.3 fixes + nitpicks
Vladimír Čunát [Tue, 23 Jan 2018 15:42:50 +0000 (16:42 +0100)] 
Merge !459: 1.5.3 fixes + nitpicks

7 years agoCI: ignore the clang -rdynamic problems, for now
Vladimír Čunát [Tue, 23 Jan 2018 15:34:55 +0000 (16:34 +0100)] 
CI: ignore the clang -rdynamic problems, for now

7 years agonitpicks
Vladimír Čunát [Tue, 23 Jan 2018 14:55:52 +0000 (15:55 +0100)] 
nitpicks

7 years agoMerge tag 'v1.5.3'
Vladimír Čunát [Tue, 23 Jan 2018 15:05:17 +0000 (16:05 +0100)] 
Merge tag 'v1.5.3'

7 years agoMerge branch 'keyfile-arg' into 'master'
Petr Špaček [Tue, 23 Jan 2018 15:03:39 +0000 (16:03 +0100)] 
Merge branch 'keyfile-arg' into 'master'

Split CLI for managed and unmanaged trust anchor modes

Closes #145 and #168

See merge request knot/knot-resolver!358

7 years agodocs: update link to IANA web with DNSSEC root TA
Petr Špaček [Tue, 23 Jan 2018 14:20:01 +0000 (15:20 +0100)] 
docs: update link to IANA web with DNSSEC root TA

7 years agoTA bootstrap: print obtained values
Petr Špaček [Tue, 23 Jan 2018 12:27:00 +0000 (13:27 +0100)] 
TA bootstrap: print obtained values

7 years agoconfig-test: refactor config test framework, add keyfile tests
Vítězslav Kříž [Mon, 11 Dec 2017 14:11:46 +0000 (15:11 +0100)] 
config-test: refactor config test framework, add keyfile tests

Config tests now have ability to run daemon with different arguments and
to check exit code.

7 years agodaemon: remove globals, split main into functions
Vítězslav Kříž [Tue, 24 Oct 2017 12:25:10 +0000 (14:25 +0200)] 
daemon: remove globals, split main into functions

7 years agokeyfile: added tests
Vítězslav Kříž [Tue, 17 Oct 2017 12:03:57 +0000 (14:03 +0200)] 
keyfile: added tests

7 years agokeyfile argument distiguish managed and unmanaged mode
Vitezslav Kriz [Mon, 14 Aug 2017 07:25:42 +0000 (09:25 +0200)] 
keyfile argument distiguish managed and unmanaged mode

Arguments --keyfile, -k for managed mode
and
--keyfile-ro, -K for unmanaged (readonly) mode.

Automatic setting based on the file permission is removed because it was
confusing and could easily lead to state where automatic update does not
happen because of unexpected file permissions.

Check if folder is writeable was moved into Lua code.

Default unmanaged keyfile path can be specified at compile
time with option KEYFILE_DEFAULT. This default
configuration can be disabled in configuration file with
trust_anchors.keyfile_default = nil.

7 years agorelease 1.5.3 v1.5.3
Vladimír Čunát [Tue, 23 Jan 2018 13:16:23 +0000 (14:16 +0100)] 
release 1.5.3

7 years agotest_cache: disable test_materialize
Vladimír Čunát [Tue, 23 Jan 2018 13:34:42 +0000 (14:34 +0100)] 
test_cache: disable test_materialize

I'm not sure why the preceding commits broke it.

7 years agomake: fix Fedora problems with symbols
Vladimír Čunát [Tue, 23 Jan 2018 12:55:45 +0000 (13:55 +0100)] 
make: fix Fedora problems with symbols

7 years agomake: CFLAGS cleanup
Vladimír Čunát [Tue, 23 Jan 2018 12:51:04 +0000 (13:51 +0100)] 
make: CFLAGS cleanup

Readability, and don't -I embedded lmdb if not using it.

7 years agomake: use -fvisibility=hidden by default
Vladimír Čunát [Tue, 23 Jan 2018 12:36:17 +0000 (13:36 +0100)] 
make: use -fvisibility=hidden by default

Symbols not marked by KR_EXPORT shouldn't be visible outside
the same output binary (e.g. sbin/kresd or lib/kdns_modules/hints.so)
Also mark `engine_hint_root_file`.

7 years agoMerge branch 'draft-huston-kskroll-sentinel' into 'master'
Petr Špaček [Tue, 23 Jan 2018 08:53:30 +0000 (09:53 +0100)] 
Merge branch 'draft-huston-kskroll-sentinel' into 'master'

Implement draft-ietf-dnsop-kskroll-sentinel-00

Closes #266

See merge request knot/knot-resolver!382

7 years agoImplement draft-ietf-dnsop-kskroll-sentinel-00
Petr Špaček [Mon, 22 Jan 2018 15:03:57 +0000 (16:03 +0100)] 
Implement draft-ietf-dnsop-kskroll-sentinel-00

It is enabled by default.

7 years agoAdd Lua interface for kr_pkt_clear_payload().
Petr Špaček [Mon, 22 Jan 2018 14:50:16 +0000 (15:50 +0100)] 
Add Lua interface for kr_pkt_clear_payload().

7 years agoMerge branch 'policy_default' into 'master'
Petr Špaček [Tue, 23 Jan 2018 08:44:16 +0000 (09:44 +0100)] 
Merge branch 'policy_default' into 'master'

policy: load policy module by default

See merge request knot/knot-resolver!457

7 years agopolicy: load policy module by default
Petr Špaček [Mon, 22 Jan 2018 20:31:34 +0000 (21:31 +0100)] 
policy: load policy module by default

RFC 6761 mandates functionality implemented by policy module, so it is
now loaded by default. Users with special needs can still unload the
module.

7 years agoMerge !456: lib: make map_contains recongize null value
Vladimír Čunát [Mon, 22 Jan 2018 15:17:41 +0000 (16:17 +0100)] 
Merge !456: lib: make map_contains recongize null value

7 years agolib map: comment around the change in parent commit
Vladimír Čunát [Mon, 22 Jan 2018 14:58:24 +0000 (15:58 +0100)] 
lib map: comment around the change in parent commit

7 years agolib: make map_contains recongize null value
anb [Fri, 12 Jan 2018 19:08:57 +0000 (19:08 +0000)] 
lib: make map_contains recongize null value

Without changing the interface, map_contains is able to tell whether
the item exist in map or not.

7 years agoMerge !455: Fixup Dockerfile and NEWS
Vladimír Čunát [Mon, 22 Jan 2018 13:39:06 +0000 (14:39 +0100)] 
Merge !455: Fixup Dockerfile and NEWS

7 years agoNEWS: fix typo in year
Vladimír Čunát [Mon, 22 Jan 2018 13:30:43 +0000 (14:30 +0100)] 
NEWS: fix typo in year

7 years agoDockerfile: fixup build after libknot update
Vladimír Čunát [Mon, 22 Jan 2018 13:29:03 +0000 (14:29 +0100)] 
Dockerfile: fixup build after libknot update

7 years agoMerge branches 'regression-fix' and 'master'
Vladimír Čunát [Mon, 22 Jan 2018 13:19:55 +0000 (14:19 +0100)] 
Merge branches 'regression-fix' and 'master'

7 years agodaemon/worker: cleanup errors; missed packet source
Grigorii Demidov [Mon, 22 Jan 2018 12:42:29 +0000 (13:42 +0100)] 
daemon/worker: cleanup errors; missed packet source

7 years agoMerge !453: merge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 12:42:01 +0000 (13:42 +0100)] 
Merge !453: merge tag 'v1.5.2', bringing security fixes

7 years agoMerge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 12:30:29 +0000 (13:30 +0100)] 
Merge tag 'v1.5.2', bringing security fixes

7 years agosecurity release 1.5.2 v1.5.2
Vladimír Čunát [Mon, 22 Jan 2018 10:45:44 +0000 (11:45 +0100)] 
security release 1.5.2

7 years agovalidator nitpick: remove a useless dead store
Vladimír Čunát [Mon, 15 Jan 2018 17:08:47 +0000 (18:08 +0100)] 
validator nitpick: remove a useless dead store

Discovered by clang scan.

7 years agovalidator: fix NSEC* + delegation -> NXDOMAIN
Vladimír Čunát [Fri, 5 Jan 2018 09:15:43 +0000 (10:15 +0100)] 
validator: fix NSEC* + delegation -> NXDOMAIN

7 years agovalidator: fix NSEC* -> NODATA
Vladimír Čunát [Fri, 12 Jan 2018 15:15:08 +0000 (16:15 +0100)] 
validator: fix NSEC* -> NODATA

7 years agoMerge branch 'misc-fix' into 'master'
Petr Špaček [Mon, 22 Jan 2018 09:25:46 +0000 (10:25 +0100)] 
Merge branch 'misc-fix' into 'master'

daemon/worker: worker_process_tcp: cleanup

See merge request knot/knot-resolver!452

7 years agodaemon/worker: worker_process_tcp: cleanup; there are no need in special processing...
Grigorii Demidov [Mon, 22 Jan 2018 09:16:42 +0000 (10:16 +0100)] 
daemon/worker: worker_process_tcp: cleanup; there are no need in special processing for qr_task_step return code

7 years agocache: fix answers from wildcards
Vladimír Čunát [Fri, 19 Jan 2018 16:10:32 +0000 (17:10 +0100)] 
cache: fix answers from wildcards

Also make the control flow more readable and tweak comments.

7 years agocache: fix CNAME on DS query
Vladimír Čunát [Fri, 19 Jan 2018 12:08:31 +0000 (13:08 +0100)] 
cache: fix CNAME on DS query