]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
10 months agodatamodel: workers-max: constant default to have a consistent JSON schema docs-develop-data-ljcgmw/deployments/5087
Aleš Mrázek [Sat, 7 Sep 2024 00:32:32 +0000 (02:32 +0200)] 
datamodel: workers-max: constant default to have a consistent JSON schema

10 months agodoc: create static JSON schema
Aleš Mrázek [Sat, 7 Sep 2024 00:09:40 +0000 (02:09 +0200)] 
doc: create static JSON schema

- poe check: check for difference in JSON schema
- scripts/meson/make-doc.sh: do not create JSON schema

10 months agotests: JSON schema packaging tests
Aleš Mrázek [Thu, 14 Mar 2024 14:49:31 +0000 (15:49 +0100)] 
tests: JSON schema packaging tests

10 months agodatamodel: additional headers for json-schema
Aleš Mrázek [Thu, 7 Mar 2024 12:52:58 +0000 (13:52 +0100)] 
datamodel: additional headers for json-schema

10 months agoMerge branch 'manager-python-modules' into 'master'
Aleš Mrázek [Mon, 9 Sep 2024 12:03:51 +0000 (14:03 +0200)] 
Merge branch 'manager-python-modules' into 'master'

manager: python modules reorganization

See merge request knot/knot-resolver!1598

10 months agodistro/pkg: update for new python modules layout
Jakub Ružička [Mon, 9 Sep 2024 10:24:37 +0000 (12:24 +0200)] 
distro/pkg: update for new python modules layout

Old knot_resolver module is now knot_resolver_build_options.

Old knot_resolver_manager module is now just knot_resolver.

10 months agopython/knot_resolver/manager: added metrics module
Aleš Mrázek [Thu, 5 Sep 2024 13:13:54 +0000 (15:13 +0200)] 
python/knot_resolver/manager: added metrics module

- statistics.py: removed
- metrics: prometheus support is in separate module

10 months agopython/knot_resolver: compat module moved under utils
Aleš Mrázek [Wed, 4 Sep 2024 19:58:07 +0000 (21:58 +0200)] 
python/knot_resolver: compat module moved under utils

10 months agopython: manager: modules restructuring
Aleš Mrázek [Fri, 30 Aug 2024 08:03:41 +0000 (10:03 +0200)] 
python: manager: modules restructuring

- new KresManager exception
- imports formatting

10 months agoscripts/poe-tasks/check: added isort check
Aleš Mrázek [Thu, 29 Aug 2024 13:32:29 +0000 (15:32 +0200)] 
scripts/poe-tasks/check: added isort check

10 months agopython/knot_resolver: imports formatting
Aleš Mrázek [Thu, 29 Aug 2024 13:31:23 +0000 (15:31 +0200)] 
python/knot_resolver: imports formatting

10 months agopython/knot_resolver: removed unnecessary use of typing_extensions lib
Aleš Mrázek [Thu, 29 Aug 2024 13:07:28 +0000 (15:07 +0200)] 
python/knot_resolver: removed unnecessary use of typing_extensions lib

Since we support python 3.8 and higher, there is no need for backwards support for most of the features we use in the standard typing library.

10 months agopython/knot_resolver: KresBaseException added
Aleš Mrázek [Thu, 29 Aug 2024 11:30:27 +0000 (13:30 +0200)] 
python/knot_resolver: KresBaseException added

10 months agopython/knot_resolver: set __version__
Aleš Mrázek [Wed, 28 Aug 2024 09:13:41 +0000 (11:13 +0200)] 
python/knot_resolver: set __version__

10 months agopython/knot_resolver: version arguments for manager and client
Aleš Mrázek [Wed, 28 Aug 2024 09:04:00 +0000 (11:04 +0200)] 
python/knot_resolver:  version arguments for manager and client

10 months agopython/knot_resolver: constants reorganization
Aleš Mrázek [Wed, 28 Aug 2024 09:01:34 +0000 (11:01 +0200)] 
python/knot_resolver: constants reorganization

10 months agoscripts/poe-tasks: clean added
Aleš Mrázek [Tue, 27 Aug 2024 13:26:58 +0000 (15:26 +0200)] 
scripts/poe-tasks: clean added

10 months agopython: knot_resolver_build_options module added
Aleš Mrázek [Mon, 26 Aug 2024 16:37:22 +0000 (18:37 +0200)] 
python: knot_resolver_build_options module added

10 months agopython: knot_resolver_manager module renamed to knot_resolver
Aleš Mrázek [Mon, 26 Aug 2024 16:20:21 +0000 (18:20 +0200)] 
python: knot_resolver_manager module renamed to knot_resolver

10 months agopython: datamodel module moved out of manager module
Aleš Mrázek [Mon, 19 Aug 2024 04:55:56 +0000 (06:55 +0200)] 
python: datamodel module moved out of manager module

10 months agopython: client: commands: text improvements and fixes WIP
Aleš Mrázek [Fri, 16 Aug 2024 10:07:30 +0000 (12:07 +0200)] 
python: client: commands: text improvements and fixes WIP

10 months agopython: client: minor modules and code refactoring
Aleš Mrázek [Fri, 16 Aug 2024 09:06:23 +0000 (11:06 +0200)] 
python: client: minor modules and code refactoring

10 months agomanager: removed nice syntax error on old Python versions
Aleš Mrázek [Thu, 15 Aug 2024 13:01:24 +0000 (15:01 +0200)] 
manager: removed nice syntax error on old Python versions

10 months agomanager: reorganizing python modules
Aleš Mrázek [Tue, 6 Aug 2024 13:16:54 +0000 (15:16 +0200)] 
manager:  reorganizing python modules

10 months agomanager: moved everything out of the directory
Aleš Mrázek [Tue, 6 Aug 2024 09:07:53 +0000 (11:07 +0200)] 
manager: moved everything out of the directory

10 months agoMerge !1594: modules/workarounds: fix module initialization docs-develop-mast-tzgd0f/deployments/5068 docs-develop-mast-tzgd0f/deployments/5070 docs-develop-mast-tzgd0f/deployments/5075 docs-develop-mast-tzgd0f/deployments/5076 docs-develop-mast-tzgd0f/deployments/5078 docs-develop-mast-tzgd0f/deployments/5079 docs-develop-mast-tzgd0f/deployments/5082 docs-develop-nigh-589znp/deployments/5071 docs-develop-nigh-589znp/deployments/5080 docs-develop-tmp-np5kv4/deployments/5109
Vladimír Čunát [Fri, 6 Sep 2024 13:58:12 +0000 (15:58 +0200)] 
Merge !1594: modules/workarounds: fix module initialization

10 months agomodules/workarounds: fix module initialisation.
menakite [Fri, 16 Aug 2024 04:12:33 +0000 (06:12 +0200)] 
modules/workarounds: fix module initialisation.

Rename config to init, which is called when a module is loaded.
It seems it's been broken for a while.

10 months agoMerge !1610: tests/integration/deckard: update to latest master docs-develop-mast-tzgd0f/deployments/5067
Vladimír Čunát [Fri, 6 Sep 2024 11:08:49 +0000 (13:08 +0200)] 
Merge !1610: tests/integration/deckard: update to latest master

10 months agotests/integration/deckard: update to latest master docs-develop-deck-m2nlqy/deployments/5066
Vladimír Čunát [Mon, 2 Sep 2024 15:12:28 +0000 (17:12 +0200)] 
tests/integration/deckard: update to latest master

adds libjemalloc-detector

10 months agoMerge !1590: resolver,validator: provide more EDE codes docs-develop-mast-tzgd0f/deployments/5065
Vladimír Čunát [Fri, 6 Sep 2024 10:37:15 +0000 (12:37 +0200)] 
Merge !1590: resolver,validator: provide more EDE codes

10 months agovalidator: fix after fac462e163a2614e24d2c604a9b120b949796a72. docs-develop-add-erv30u/deployments/5064
menakite [Sun, 1 Sep 2024 18:56:44 +0000 (20:56 +0200)] 
validator: fix after fac462e163a2614e24d2c604a9b120b949796a72.

See:
  https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1590#note_304380

10 months agoNEWS: mention the EDE improvements
Vladimír Čunát [Sun, 1 Sep 2024 09:20:15 +0000 (11:20 +0200)] 
NEWS: mention the EDE improvements

10 months agomodules/dns64: change EDE from "Forged Answer" to "Synthesized".
menakite [Sat, 17 Aug 2024 01:10:25 +0000 (03:10 +0200)] 
modules/dns64: change EDE from "Forged Answer" to "Synthesized".

10 months agocache: set EDE when synthesizing answer from aggressive cache
menakite [Thu, 15 Aug 2024 20:01:23 +0000 (22:01 +0200)] 
cache: set EDE when synthesizing answer from aggressive cache

10 months agovalidator: set EDE code if SEP does not match or DNSKEY is revoked.
menakite [Tue, 13 Aug 2024 16:52:45 +0000 (18:52 +0200)] 
validator: set EDE code if SEP does not match or DNSKEY is revoked.

If the tag and algorithm of DS and DNSKEY do not correspond, or in case
the DNSKEY is revoked, set EDE code "DNSKEY Missing".
If both match, but the algorithm is not supported, set EDE code
"Unsupported DNSKEY Algorithm".
In case RRSIGs for DNSKEY exist, but can't be validated due to a key
error, set EDE code "RRSIGs Missing".

10 months agoresolver,validator: provide more EDE codes.
menakite [Sun, 11 Aug 2024 03:44:21 +0000 (05:44 +0200)] 
resolver,validator: provide more EDE codes.

dnssec:
  * Provide a way to retrieve whether a DNSKEY has the Zone Key bit set,
    and add bindings for Lua modules (kr_dnssec_key_zonekey_flag), like
    kr_dnssec_key_sep_flag.
  * In kr_ds_algo_support() provide a way to retrieve what is wrong with
    the keys.
  * Check if a RRSIG RR has the signature expired already before
    inception time.

validator:
  * Set EDE "Unsupported NSEC3 Iterations Value" when downgrading.
  * Set EDE "Signature Expired before Valid" when checking RRSIGs.
  * Set EDE "No Zone Key Bit Set" when a DNSKEY with the Zone Key Bit
    set to 0 is discarded.
  * Instead of the generic "Other Error" with extra text
    "unsupported digest/key", set appropriate EDEs
    "Unsupported DNSKEY Algorithm" and "Unsupported DS Digest Type".

resolver:
  * Set EDE "No Reachable Authority" when it is decided that all
    authoritative servers are unreachable or misbehaving.

Some parts adjusted by vcunat, in particular construction of EDE messages.

10 months agolib/utils: generalize kr_strcatdup() for mempools
Vladimír Čunát [Sun, 1 Sep 2024 09:01:22 +0000 (11:01 +0200)] 
lib/utils: generalize kr_strcatdup() for mempools

It's trivial really, and I'd like to use it now.

10 months agoMerge !1602: daemon: remove -f/--forks docs-develop-mast-tzgd0f/deployments/5061
Vladimír Čunát [Fri, 6 Sep 2024 08:09:33 +0000 (10:09 +0200)] 
Merge !1602: daemon: remove -f/--forks

Closes #631

10 months agodaemon: remove -f/--forks docs-develop-remo-wgd39p/deployments/5060
Oto Šťáva [Wed, 28 Aug 2024 13:49:00 +0000 (15:49 +0200)] 
daemon: remove -f/--forks

Closes #631

10 months agoMerge branch 'iss905' into 'master' docs-develop-mast-tzgd0f/deployments/5044 docs-develop-mast-tzgd0f/deployments/5046 docs-develop-mast-tzgd0f/deployments/5048 docs-develop-mast-tzgd0f/deployments/5052 docs-develop-mast-tzgd0f/deployments/5055 docs-develop-nigh-589znp/deployments/5053
Aleš Mrázek [Wed, 4 Sep 2024 13:52:51 +0000 (15:52 +0200)] 
Merge branch 'iss905' into 'master'

datamodel: file permission checks

See merge request knot/knot-resolver!1595

10 months agodatamodel: types: fix object iteration compatibility for Python < 3.11 docs-develop-iss9-itxv6i/deployments/5043
Frantisek Tobias [Wed, 4 Sep 2024 11:51:56 +0000 (13:51 +0200)] 
datamodel: types: fix object iteration compatibility for Python < 3.11

11 months agodatamodel: use permission types in config docs-develop-iss9-itxv6i/deployments/5033
Aleš Mrázek [Mon, 2 Sep 2024 19:18:05 +0000 (21:18 +0200)] 
datamodel: use permission types in config

11 months agodatamodel: types: files: WritableFilePath added
Aleš Mrázek [Mon, 2 Sep 2024 19:16:31 +0000 (21:16 +0200)] 
datamodel: types: files: WritableFilePath added

11 months agodatamodel: types: files: enum for permission mode added docs-develop-iss9-itxv6i/deployments/5026
Aleš Mrázek [Mon, 2 Sep 2024 15:51:25 +0000 (17:51 +0200)] 
datamodel: types: files: enum for permission mode added

11 months agodatamodel: file permission checks: format files docs-develop-iss9-itxv6i/deployments/5023
Frantisek Tobias [Wed, 21 Aug 2024 09:44:14 +0000 (11:44 +0200)] 
datamodel: file permission checks: format files

11 months agoscripts/poe-tasks/configure: add user and group
Aleš Mrázek [Tue, 20 Aug 2024 10:04:19 +0000 (12:04 +0200)] 
scripts/poe-tasks/configure: add user and group

11 months agodatamodel: file permission checks: remove left over code, fix linter
Frantisek Tobias [Tue, 20 Aug 2024 08:09:03 +0000 (10:09 +0200)] 
datamodel: file permission checks: remove left over code, fix linter

formatting ignored for now since the code that is to be formated will likely be moved elsewhere

11 months agodatamodel: file permission checks: #814 created function to check that kresd_user...
Frantisek Tobias [Tue, 20 Aug 2024 07:32:38 +0000 (09:32 +0200)] 
datamodel: file permission checks: #814 created function to check that kresd_user() can access the files and directories

11 months agodatamodel: file permission checks: Created new types to check if files can be opened
Frantisek Tobias [Thu, 15 Aug 2024 11:41:44 +0000 (13:41 +0200)] 
datamodel: file permission checks: Created new types to check if files can be opened

11 months agoMerge !1601: daemon/tls: log pins and certificates in case of no match docs-develop-mast-tzgd0f/deployments/5022 docs-develop-mast-tzgd0f/deployments/5029 docs-develop-mast-tzgd0f/deployments/5032 docs-develop-mast-tzgd0f/deployments/5034 docs-develop-mast-tzgd0f/deployments/5037 docs-develop-nigh-589znp/deployments/5030 docs-develop-nigh-589znp/deployments/5035
Vladimír Čunát [Mon, 2 Sep 2024 14:34:20 +0000 (16:34 +0200)] 
Merge !1601: daemon/tls: log pins and certificates in case of no match

Fixes #813

11 months agodaemon/tls: bump gnutls version requirement docs-develop-daem-t14f7x/deployments/5021
Vladimír Čunát [Wed, 28 Aug 2024 11:28:05 +0000 (13:28 +0200)] 
daemon/tls: bump gnutls version requirement

It simplifies a bit.  No need to support ancient versions.

11 months agodaemon/tls: drop a DEBUG section
Vladimír Čunát [Wed, 28 Aug 2024 11:28:02 +0000 (13:28 +0200)] 
daemon/tls: drop a DEBUG section

The new pin logging is better than this.  No need to recompile with -DDEBUG (rare).

11 months agodaemon/tls: fix a bug that caused empty base64 pins
Vladimír Čunát [Wed, 28 Aug 2024 10:48:40 +0000 (12:48 +0200)] 
daemon/tls: fix a bug that caused empty base64 pins

11 months agoNEWS for the pin-sha256 changes
Vladimír Čunát [Wed, 28 Aug 2024 10:23:15 +0000 (12:23 +0200)] 
NEWS for the pin-sha256 changes

11 months agodatamodel/types: fix check for base64 encoded sha256
Frantisek Tobias [Wed, 28 Aug 2024 07:14:14 +0000 (09:14 +0200)] 
datamodel/types: fix check for base64 encoded sha256

pin sha256 were used and tested for in incorrect format, refer to: https://www.rfc-editor.org/rfc/rfc7469#section-2.1.5

11 months agodaemon/tls: log pins and certificates in case of no match #813
Frantisek Tobias [Wed, 28 Aug 2024 07:09:24 +0000 (09:09 +0200)] 
daemon/tls: log pins and certificates in case of no match #813

11 months agoMerge !1603: daemon/session2: comment on event propagation docs-develop-mast-tzgd0f/deployments/4994 docs-develop-mast-tzgd0f/deployments/4996 docs-develop-mast-tzgd0f/deployments/4999 docs-develop-mast-tzgd0f/deployments/5004 docs-develop-mast-tzgd0f/deployments/5006 docs-develop-mast-tzgd0f/deployments/5007 docs-develop-mast-tzgd0f/deployments/5010 docs-develop-mast-tzgd0f/deployments/5012 docs-develop-mast-tzgd0f/deployments/5015 docs-develop-nigh-589znp/deployments/4997 docs-develop-nigh-589znp/deployments/5008 docs-develop-nigh-589znp/deployments/5013
Vladimír Čunát [Thu, 29 Aug 2024 06:25:03 +0000 (08:25 +0200)] 
Merge !1603: daemon/session2: comment on event propagation

11 months agodaemon/session2: comment on event propagation docs-develop-even-bt6dky/deployments/4989
Oto Šťáva [Wed, 28 Aug 2024 15:32:43 +0000 (17:32 +0200)] 
daemon/session2: comment on event propagation

Minor, but I believe quite important. I stumbled across this while
writing the protocol layer article and thought it was not emphasized
enough in the docs.

11 months agoMerge !1600: poe: fix out-of-repo workspaces + ignores docs-develop-mast-tzgd0f/deployments/4974 docs-develop-mast-tzgd0f/deployments/4976 docs-develop-mast-tzgd0f/deployments/4979 docs-develop-mast-tzgd0f/deployments/4990 docs-develop-mast-tzgd0f/deployments/4993 docs-develop-nigh-589znp/deployments/4977 docs-develop-nigh-589znp/deployments/4991
Vladimír Čunát [Tue, 27 Aug 2024 12:41:52 +0000 (14:41 +0200)] 
Merge !1600: poe: fix out-of-repo workspaces + ignores

11 months agopoe: fix out-of-repo workspaces + ignores
Oto Šťáva [Tue, 27 Aug 2024 12:41:52 +0000 (14:41 +0200)] 
poe: fix out-of-repo workspaces + ignores

11 months agoMerge branch 'manager-dir-merging' into 'master' docs-develop-mast-tzgd0f/deployments/4965 docs-develop-mast-tzgd0f/deployments/4968 docs-develop-mast-tzgd0f/deployments/4971 docs-develop-nigh-589znp/deployments/4969
Aleš Mrázek [Mon, 26 Aug 2024 12:37:16 +0000 (14:37 +0200)] 
Merge branch 'manager-dir-merging' into 'master'

manager: moving things to the repository root and minor cleanup

See merge request knot/knot-resolver!1577

11 months agoscripts: organize into subdirs and clean up unused docs-develop-mana-ba8ewy/deployments/4964
Oto Šťáva [Fri, 23 Aug 2024 12:57:31 +0000 (14:57 +0200)] 
scripts: organize into subdirs and clean up unused

11 months agotests/integration/deckard: update to latest master
Oto Šťáva [Mon, 5 Aug 2024 14:29:01 +0000 (16:29 +0200)] 
tests/integration/deckard: update to latest master

11 months agoscripts/poe-tasks: env vars are accessible by all tasks using _env.sh
Aleš Mrázek [Mon, 5 Aug 2024 13:24:05 +0000 (15:24 +0200)] 
scripts/poe-tasks: env vars are accessible by all tasks using _env.sh

11 months agopoe: removed support for older Python version <3.8
Aleš Mrázek [Mon, 5 Aug 2024 13:18:30 +0000 (15:18 +0200)] 
poe: removed support for older Python version <3.8

11 months agoscripts: use env shebang
Aleš Mrázek [Fri, 2 Aug 2024 16:53:50 +0000 (18:53 +0200)] 
scripts: use env shebang

11 months agoscripts/poe-tasks: kresctl task script added
Aleš Mrázek [Fri, 2 Aug 2024 09:53:24 +0000 (11:53 +0200)] 
scripts/poe-tasks: kresctl task script added

11 months agoscripts: make all scripts executable
Aleš Mrázek [Thu, 1 Aug 2024 16:13:48 +0000 (18:13 +0200)] 
scripts: make all scripts executable

11 months agoscripts/poe-tasks: scripts for some tasks
Aleš Mrázek [Thu, 1 Aug 2024 15:56:20 +0000 (17:56 +0200)] 
scripts/poe-tasks: scripts for some tasks

It would be useful to be able to run some tasks outside of the Poetry environment.

11 months agopyproject.toml: help for some poe tasks improved
Aleš Mrázek [Thu, 1 Aug 2024 13:58:34 +0000 (15:58 +0200)] 
pyproject.toml: help for some poe tasks improved

11 months agoscripts/poe-tasks: scripts and pyproject.toml tasks names unification
Aleš Mrázek [Thu, 1 Aug 2024 13:46:22 +0000 (15:46 +0200)] 
scripts/poe-tasks: scripts and pyproject.toml tasks names unification

11 months agoscripts: subdirectory for ./poe tasks created
Aleš Mrázek [Thu, 1 Aug 2024 12:45:25 +0000 (14:45 +0200)] 
scripts: subdirectory for ./poe tasks created

11 months agoscripts: unused scripts removed
Aleš Mrázek [Thu, 1 Aug 2024 12:38:11 +0000 (14:38 +0200)] 
scripts: unused scripts removed

11 months ago.python-version: update versions
Aleš Mrázek [Tue, 30 Jul 2024 09:34:48 +0000 (11:34 +0200)] 
.python-version: update versions

11 months agodistro/pkg/deb: use pybuild
Jakub Ružička [Tue, 30 Jul 2024 08:09:00 +0000 (10:09 +0200)] 
distro/pkg/deb: use pybuild

11 months agomanager: compat: dataclasses removed
Aleš Mrázek [Thu, 25 Jul 2024 11:56:08 +0000 (13:56 +0200)] 
manager: compat: dataclasses removed

11 months agodocker: config path fix
Aleš Mrázek [Thu, 25 Jul 2024 07:05:36 +0000 (09:05 +0200)] 
docker: config path fix

11 months agodistro/pkg: the manager paths fixes
Aleš Mrázek [Thu, 25 Jul 2024 06:52:48 +0000 (08:52 +0200)] 
distro/pkg: the manager paths fixes

11 months agomanager: unnecessary files deleted
Aleš Mrázek [Fri, 12 Jul 2024 14:22:49 +0000 (16:22 +0200)] 
manager: unnecessary files deleted

11 months ago.gitignore : poetry and build files added
Aleš Mrázek [Fri, 12 Jul 2024 14:21:38 +0000 (16:21 +0200)] 
.gitignore : poetry and build files added

11 months agomanager: poetry project moved to the repository root
Aleš Mrázek [Fri, 12 Jul 2024 08:12:36 +0000 (10:12 +0200)] 
manager: poetry project moved to the repository root

11 months agomanager: scripts moved to the repository root
Aleš Mrázek [Thu, 11 Jul 2024 12:36:20 +0000 (14:36 +0200)] 
manager: scripts moved to the repository root

11 months agomanager: tests moved to the repository root
Aleš Mrázek [Fri, 21 Jun 2024 10:30:08 +0000 (12:30 +0200)] 
manager: tests moved to the repository root

11 months agomanager: YAML configs moved to the repository root 'etc' dir
Aleš Mrázek [Fri, 21 Jun 2024 04:10:11 +0000 (06:10 +0200)] 
manager: YAML configs moved to the repository root 'etc' dir

11 months agomanager/README.md: deleted
Aleš Mrázek [Thu, 20 Jun 2024 12:28:19 +0000 (14:28 +0200)] 
manager/README.md: deleted

11 months agoREADME.md: minor improvements and the manager added
Aleš Mrázek [Thu, 20 Jun 2024 12:25:30 +0000 (14:25 +0200)] 
README.md: minor improvements and the manager added

11 months agoMerge !1596: modules/serve_stale: drop the unused arguments again docs-develop-mast-tzgd0f/deployments/4939 docs-develop-mast-tzgd0f/deployments/4940 docs-develop-mast-tzgd0f/deployments/4943 docs-develop-mast-tzgd0f/deployments/4944 docs-develop-mast-tzgd0f/deployments/4947 docs-develop-mast-tzgd0f/deployments/4951 docs-develop-mast-tzgd0f/deployments/4953 docs-develop-mast-tzgd0f/deployments/4954 docs-develop-mast-tzgd0f/deployments/4957 docs-develop-mast-tzgd0f/deployments/4958 docs-develop-mast-tzgd0f/deployments/4961 docs-develop-nigh-589znp/deployments/4941 docs-develop-nigh-589znp/deployments/4945 docs-develop-nigh-589znp/deployments/4955 docs-develop-nigh-589znp/deployments/4959 obs-knot-resolver-es11k1/deployments/4942 obs-knot-resolver-es11k1/deployments/4946 obs-knot-resolver-es11k1/deployments/4952 obs-knot-resolver-es11k1/deployments/4956 obs-knot-resolver-es11k1/deployments/4960
Vladimír Čunát [Wed, 21 Aug 2024 12:27:04 +0000 (14:27 +0200)] 
Merge !1596: modules/serve_stale: drop the unused arguments again

11 months agomodules/serve_stale: drop the unused arguments again docs-develop-ci-l-zs0z29/deployments/4938
Vladimír Čunát [Wed, 21 Aug 2024 12:14:26 +0000 (14:14 +0200)] 
modules/serve_stale: drop the unused arguments again

This should fix the lint:other CI.  Forgotten in 39f4b5af72f3a.

11 months agoMerge branch 'manager-mypy-fix' into 'master' docs-develop-mast-tzgd0f/deployments/4937
Aleš Mrázek [Wed, 21 Aug 2024 12:09:27 +0000 (14:09 +0200)] 
Merge branch 'manager-mypy-fix' into 'master'

manager: modeling: mypy ignore comparison-overlap error

See merge request knot/knot-resolver!1570

11 months agomanager: modeling: mypy ignore comparison-overlap error docs-develop-mana-o8ftid/deployments/4936
Aleš Mrázek [Mon, 22 Jul 2024 11:51:25 +0000 (13:51 +0200)] 
manager: modeling: mypy ignore comparison-overlap error

11 months agoMerge !1592: cache: move setting EDE "Stale Answer" to the serve_stale module docs-develop-mast-tzgd0f/deployments/4924 docs-develop-mast-tzgd0f/deployments/4931 docs-develop-mast-tzgd0f/deployments/4934 docs-develop-nigh-589znp/deployments/4932 obs-knot-resolver-es11k1/deployments/4933
Vladimír Čunát [Tue, 20 Aug 2024 07:25:07 +0000 (09:25 +0200)] 
Merge !1592: cache: move setting EDE "Stale Answer" to the serve_stale module

11 months agocache: move setting EDE "Stale Answer" to the the serve_stale module.
menakite [Wed, 14 Aug 2024 17:36:54 +0000 (19:36 +0200)] 
cache: move setting EDE "Stale Answer" to the the serve_stale module.

It is not guaranteed yet that the request will finish in state DONE.
This prevents other EDE codes from being applied to the request and in
case the request ends in FAIL state it produces a SERVFAIL answer with
EDE "Stale Answer", which is a bit weird.
Move setting EDEs in answer_finalize in the serve_stale module, where
the proper EDE in case of NXDOMAIN is set too.

11 months agoMerge !1591: modules/stats add answer.stale docs-develop-mast-tzgd0f/deployments/4919 docs-develop-mast-tzgd0f/deployments/4920 docs-develop-mast-tzgd0f/deployments/4923 docs-develop-nigh-589znp/deployments/4921 obs-knot-resolver-es11k1/deployments/4922
Vladimír Čunát [Mon, 19 Aug 2024 15:16:38 +0000 (17:16 +0200)] 
Merge !1591: modules/stats add answer.stale

11 months agomodules/stats: add answer.stale
Frantisek Tobias [Mon, 19 Aug 2024 15:16:38 +0000 (17:16 +0200)] 
modules/stats: add answer.stale

11 months agoMerge !1588: validator: avoid clearing EDE if request didn't actually fail docs-develop-mast-tzgd0f/deployments/4915
Vladimír Čunát [Mon, 19 Aug 2024 13:54:37 +0000 (15:54 +0200)] 
Merge !1588: validator: avoid clearing EDE if request didn't actually fail

11 months agovalidator nit: move validate_wrapper() to a better place
Vladimír Čunát [Mon, 19 Aug 2024 13:42:11 +0000 (15:42 +0200)] 
validator nit: move validate_wrapper() to a better place

11 months agovalidator: avoid clearing EDE if query didn't actually fail
menakite [Fri, 9 Aug 2024 23:19:40 +0000 (01:19 +0200)] 
validator: avoid clearing EDE if query didn't actually fail

11 months agoMerge !1576: views: improve interaction with old-style policies docs-develop-mast-tzgd0f/deployments/4867 docs-develop-mast-tzgd0f/deployments/4868 docs-develop-mast-tzgd0f/deployments/4871 docs-develop-mast-tzgd0f/deployments/4877 docs-develop-mast-tzgd0f/deployments/4880 docs-develop-mast-tzgd0f/deployments/4888 docs-develop-mast-tzgd0f/deployments/4891 docs-develop-mast-tzgd0f/deployments/4901 docs-develop-mast-tzgd0f/deployments/4904 docs-develop-mast-tzgd0f/deployments/4905 docs-develop-mast-tzgd0f/deployments/4908 docs-develop-mast-tzgd0f/deployments/4909 docs-develop-mast-tzgd0f/deployments/4912 docs-develop-nigh-589znp/deployments/4869 docs-develop-nigh-589znp/deployments/4878 docs-develop-nigh-589znp/deployments/4889 docs-develop-nigh-589znp/deployments/4902 docs-develop-nigh-589znp/deployments/4906 docs-develop-nigh-589znp/deployments/4910 obs-knot-resolver-es11k1/deployments/4870 obs-knot-resolver-es11k1/deployments/4879 obs-knot-resolver-es11k1/deployments/4890 obs-knot-resolver-es11k1/deployments/4903 obs-knot-resolver-es11k1/deployments/4907 obs-knot-resolver-es11k1/deployments/4911
Vladimír Čunát [Tue, 13 Aug 2024 12:17:26 +0000 (14:17 +0200)] 
Merge !1576: views: improve interaction with old-style policies

11 months agoviews: improve interaction with old-style policies docs-develop-view-dyr92b/deployments/4866
Vladimír Čunát [Thu, 25 Jul 2024 12:27:04 +0000 (14:27 +0200)] 
views: improve interaction with old-style policies

i.e. respect the old chain-rule notion in this case.
... because why not, and someone wanted to use it this way already.

Logically it makes sense in some cases, but I still implore to prefer
6.x -style rules where possible, as e.g. the interations are better.

11 months agoMerge !1585: daemon,lib: sync EDE codes supported by libknot 3.3 docs-develop-mast-tzgd0f/deployments/4864
Vladimír Čunát [Tue, 13 Aug 2024 11:51:38 +0000 (13:51 +0200)] 
Merge !1585: daemon,lib: sync EDE codes supported by libknot 3.3