]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Tue, 24 Jun 2025 13:57:43 +0000 (15:57 +0200)]
doc/user/config-local-data.rst: hide 'dry-run' option config for RPZ
Aleš Mrázek [Mon, 23 Jun 2025 22:18:07 +0000 (00:18 +0200)]
kresctl: migrate: rename '/defer/enabled' to /defer/enable'
- NEWS: added missing entry
Aleš Mrázek [Fri, 6 Jun 2025 11:01:21 +0000 (13:01 +0200)]
datamodel: logging: dnstap: changed log-* defaults to false
Aleš Mrázek [Thu, 5 Jun 2025 17:58:39 +0000 (19:58 +0200)]
python: datamodel: added missing 'enable' options
In order to be consistent throughout the datamodel, it will only be possible to enable individual resolver features using the 'enable' option.
Aleš Mrázek [Wed, 4 Jun 2025 09:26:57 +0000 (11:26 +0200)]
NEW: update
Aleš Mrázek [Mon, 2 Jun 2025 12:33:43 +0000 (14:33 +0200)]
doc/user/upgrading.rst: added upgrading guide for configuration
Aleš Mrázek [Mon, 2 Jun 2025 11:47:13 +0000 (13:47 +0200)]
python: datamodel: **/enabled configuration renamed to **/enable
Aleš Mrázek [Mon, 2 Jun 2025 09:00:25 +0000 (11:00 +0200)]
python: datamodel: typo fixes
Lukáš Ondráček [Thu, 29 May 2025 10:12:46 +0000 (12:12 +0200)]
doc/user/config-rate-limiting: remove invalid sentence
Aleš Mrázek [Thu, 22 May 2025 12:57:42 +0000 (14:57 +0200)]
.gitlab-ci.yml: added python:migrate
scripts/po-tasks/migrate task added to migrate and validate configuration using kresctl
Aleš Mrázek [Tue, 20 May 2025 13:49:36 +0000 (15:49 +0200)]
kresctl: migrate: added migration for /cache/garbage-collector config
Aleš Mrázek [Tue, 20 May 2025 13:12:21 +0000 (15:12 +0200)]
datamodel: stabilize cache schema
Aleš Mrázek [Mon, 19 May 2025 14:03:24 +0000 (16:03 +0200)]
kresctl: migrate: added migration for /monitoring/* config
Aleš Mrázek [Mon, 19 May 2025 12:49:16 +0000 (14:49 +0200)]
datamodel: stabilize monitoring schema
Aleš Mrázek [Tue, 6 May 2025 11:44:51 +0000 (13:44 +0200)]
Revert "datamodel: renamed defer section to prioritization"
This reverts commit
1e3b02d056dc3785be3e398f2d23a41780c58677 .
Aleš Mrázek [Mon, 28 Apr 2025 12:47:13 +0000 (14:47 +0200)]
client: migrate: new command to migrate configuration to newer version
Aleš Mrázek [Tue, 15 Apr 2025 14:16:50 +0000 (16:16 +0200)]
datamodel: stabilize rate-limiting schema
Aleš Mrázek [Tue, 15 Apr 2025 09:32:29 +0000 (11:32 +0200)]
datamodel: renamed defer section to prioritization
- renamed /defer/log-period -> /defer/logging-period
Aleš Mrázek [Mon, 14 Apr 2025 18:08:29 +0000 (20:08 +0200)]
datamodel: stabilize dns64 schema
Aleš Mrázek [Tue, 8 Apr 2025 12:46:30 +0000 (14:46 +0200)]
datamodel: move dnssec bogus logging from 'logging' section to 'dnssec' section
Aleš Mrázek [Mon, 7 Apr 2025 13:47:17 +0000 (15:47 +0200)]
manager: server: deny dynamic changes off /cache/garbage-collector/* config
Aleš Mrázek [Mon, 7 Apr 2025 13:09:46 +0000 (15:09 +0200)]
Revert "datamodel: cache: removed garbage-collector config"
This reverts commit
4ba9f6e4a9a30195147d2cbb99dbb53fbd9bc017 .
Vladimír Čunát [Wed, 8 May 2024 06:31:32 +0000 (08:31 +0200)]
datamodel: remove /local-data/root-fallback-addresses*
As discussed, let's keep rarely useful settings out of the YAML model.
Aleš Mrázek [Fri, 28 Mar 2025 14:07:03 +0000 (15:07 +0100)]
datamodel: stabilize dnssec schema
Aleš Mrázek [Fri, 28 Mar 2025 13:20:49 +0000 (14:20 +0100)]
datamodel: deleted obsolete parts
Aleš Mrázek [Thu, 27 Mar 2025 13:35:24 +0000 (14:35 +0100)]
datamodel: stabilize network schema
- files-watchdog renamed to watchdog
- removed experimental TLS auto-discovery
Aleš Mrázek [Thu, 27 Mar 2025 13:17:03 +0000 (14:17 +0100)]
datamodel: cache: removed garbage-collector config
Aleš Mrázek [Tue, 25 Mar 2025 13:04:32 +0000 (14:04 +0100)]
datamodel: removed workers-max option
Aleš Mrázek [Tue, 25 Mar 2025 12:35:14 +0000 (13:35 +0100)]
datamodel: remove webmgmt
Aleš Mrázek [Tue, 25 Mar 2025 12:25:38 +0000 (13:25 +0100)]
datamodel: logging: removed debugging options
Vladimír Čunát [Fri, 1 Aug 2025 16:38:49 +0000 (18:38 +0200)]
Merge !1729: tests/integration/deckard: pull updates
Vladimír Čunát [Fri, 1 Aug 2025 16:29:28 +0000 (18:29 +0200)]
tests/integration/deckard: pull updates
- 224: hack compat with python >= 3.11 + libfaketime
- 225: val_nsec3_cnametocnamewctoposwc.rpl: reinstate NS in an answer
This one finally fixes deckard in CI.
Vladimír Čunát [Tue, 29 Jul 2025 07:13:11 +0000 (09:13 +0200)]
Merge !1728: add NEWS for the last merge request
Vladimír Čunát [Tue, 29 Jul 2025 06:47:26 +0000 (08:47 +0200)]
add NEWS for the last merge request
Vladimír Čunát [Tue, 29 Jul 2025 06:36:08 +0000 (08:36 +0200)]
Merge !1727: datamodel/types: reduced validation strictness for DomainName
Fixes #934
Aleš Mrázek [Tue, 29 Jul 2025 06:36:08 +0000 (08:36 +0200)]
datamodel/types: reduced validation strictness for DomainName
Vladimír Čunát [Fri, 18 Jul 2025 13:51:58 +0000 (15:51 +0200)]
Merge !1725: ci: minor adjustments
Aleš Mrázek [Thu, 17 Jul 2025 12:20:57 +0000 (14:20 +0200)]
.gitlab-ci.yml: renamed docs:pages to docs:latest
Aleš Mrázek [Thu, 17 Jul 2025 11:40:18 +0000 (13:40 +0200)]
.gitlab-ci.yml: docs:pages: run job automatically and only for master
This will help to keep the /latest docs up to date.
Aleš Mrázek [Thu, 17 Jul 2025 11:21:52 +0000 (13:21 +0200)]
.gitlab-ci.yml: removed OBS
We do not use OBS for version 6.
Aleš Mrázek [Thu, 17 Jul 2025 09:16:29 +0000 (11:16 +0200)]
Merge branch 'release-6.0.15' into 'master'
Release 6.0.15
See merge request knot/knot-resolver!1722
Aleš Mrázek [Thu, 17 Jul 2025 07:48:59 +0000 (09:48 +0200)]
nit: datamodel: fix formatting
Aleš Mrázek [Thu, 17 Jul 2025 07:45:23 +0000 (09:45 +0200)]
release 6.0.15
Vladimír Čunát [Thu, 17 Jul 2025 06:31:14 +0000 (08:31 +0200)]
Merge !1718: lib/dnssec: drop incorrect `requirement` and comment
Vladimír Čunát [Wed, 4 Jun 2025 07:32:14 +0000 (09:32 +0200)]
lib/dnssec: drop incorrect `requirement` and comment
I don't think this can happen on correct records,
due to the way that the root zone is. But we've seen
this assertion happen in real life, and attackers
might be able to misuse it to cause crashes.
Vladimír Čunát [Thu, 17 Jul 2025 06:21:48 +0000 (08:21 +0200)]
Merge !1717: lib/cache pkt_renew(): don't keep parts of packet header
Vladimír Čunát [Fri, 13 Jun 2025 13:27:10 +0000 (15:27 +0200)]
lib/cache pkt_renew(): don't keep parts of packet header
No idea why it's been done in this weird way since forever.
Vladimír Čunát [Thu, 17 Jul 2025 06:06:18 +0000 (08:06 +0200)]
Merge !1715: NO_CACHE flag: fix and tweak its behavior
Vladimír Čunát [Mon, 7 Jul 2025 12:58:05 +0000 (14:58 +0200)]
lib/cache: tweak the meaning of .flags.NO_CACHE
This way it should better match docs for the flag,
and I think it makes a bit more sense now,
at least for the use cases we have in our code now.
Also add NEWS for these two commits.
Vladimír Čunát [Mon, 7 Jul 2025 12:00:27 +0000 (14:00 +0200)]
lib/cache: simplify logic for qry->flags.CACHE_TRIED
As a side effect, this solves an issue which could be seen
during resolver startup where the trust anchor update would fail.
[taupd ] active refresh failed for . with rcode: 2
The cause is that for queries started with .flags.NO_CACHE,
we'd skip the section setting .flags.CACHE_TRIED, and consequently
kr_rule_local_data_answer() would get run more often than expected.
The new logic should be also much simpler to follow.
We always apply cache (and policy) just once per kr_query.
Vladimír Čunát [Wed, 16 Jul 2025 16:22:53 +0000 (18:22 +0200)]
Merge !1716: daemon: add configurability for low source port check
Vladimír Čunát [Mon, 14 Jul 2025 13:40:48 +0000 (15:40 +0200)]
daemon: add configurability for low source port check
In commit
c0482d5a8a this check was added. Now one can e.g. disable by
> require('ffi').C.the_network.min_udp_source_port = 0
(typically used inside YAML config at /lua/script or /lua/script-file)
Vladimír Čunát [Wed, 16 Jul 2025 16:08:42 +0000 (18:08 +0200)]
Merge !1714: datamodel: improve file permission check
Fixes #933
Aleš Mrázek [Tue, 8 Jul 2025 07:07:22 +0000 (09:07 +0200)]
NEWS update
Aleš Mrázek [Mon, 7 Jul 2025 13:47:39 +0000 (15:47 +0200)]
kresctl: commands: changed validation strictness default to false
Vladimír Čunát [Wed, 16 Jul 2025 15:58:20 +0000 (17:58 +0200)]
datamodel/types/files.py: improve file permission check
In particular with ACLs this could have prevented resolver starting
even if the permissions were OK. os.access() should be accurate
at least when running from manager (not from kresctl).
Vladimír Čunát [Wed, 16 Jul 2025 08:30:32 +0000 (10:30 +0200)]
Merge !1702: daemon/defer: fix sampling of timed events
Lukáš Ondráček [Mon, 2 Jun 2025 14:56:42 +0000 (16:56 +0200)]
daemon/defer: fix sampling of timed events
Vladimír Čunát [Sun, 6 Jul 2025 14:43:39 +0000 (16:43 +0200)]
Merge !1709: lib/rules: update/more precise default answers for special names
Vladimír Čunát [Thu, 19 Jun 2025 13:38:44 +0000 (15:38 +0200)]
lib/rules: update/more precise default answers for special names
The diff probably shows as messy, but the set of names
doesn't change much. _EMPTY changes to _NXDOMAIN in many cases.
Every name has some text defining the behavior;
it's not very unified, unfortunately.
Now I tried to refer to particular RFC section(s) for each name.
Vladimír Čunát [Fri, 4 Jul 2025 17:29:23 +0000 (19:29 +0200)]
Merge !1705: modules/prefill: fix moving across filesystems
Vladimír Čunát [Wed, 11 Jun 2025 17:22:11 +0000 (19:22 +0200)]
modules/prefill: fix moving across filesystems
I somehow thought thought that `os.rename()` behaves
like the `mv` command, and unfortunately in the way I tested this,
everything was inside a single mount-point.
Official docs is one line that doesn't explain anything really :-/
Vladimír Čunát [Fri, 4 Jul 2025 17:13:14 +0000 (19:13 +0200)]
Merge !1710: manager: support for multiple configuration files
Aleš Mrázek [Tue, 1 Jul 2025 10:41:50 +0000 (12:41 +0200)]
Revert "scripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable"
This reverts commit
d3d4c2fbe52048ecd3df59e7e8e3d2017ad7914c .
Aleš Mrázek [Mon, 30 Jun 2025 19:05:26 +0000 (21:05 +0200)]
manager/server.py: check the parent dir of each config file
Compare the locations of multiple configuration files and issue a warning
Aleš Mrázek [Fri, 20 Jun 2025 06:41:08 +0000 (08:41 +0200)]
python: manager/server.py: use 'data_combine' function to combine data from multiple config files
Aleš Mrázek [Thu, 19 Jun 2025 18:45:26 +0000 (20:45 +0200)]
python: utils/modeling/parsing.py: 'data_combine' function for combining dictionaries data
Aleš Mrázek [Wed, 18 Jun 2025 14:14:54 +0000 (16:14 +0200)]
.gitlab-ci.yml: python:run: added second configuration
Aleš Mrázek [Wed, 18 Jun 2025 14:13:34 +0000 (16:13 +0200)]
etc/config: added few YAML configs for testing
Aleš Mrázek [Wed, 18 Jun 2025 14:05:31 +0000 (16:05 +0200)]
python: manager: allow multiple configuration file inputs
Aleš Mrázek [Wed, 18 Jun 2025 11:13:27 +0000 (13:13 +0200)]
etc/config/config.yaml: reduced to minimal config
Most of the configuration was a duplication of the default values.
Aleš Mrázek [Wed, 18 Jun 2025 10:57:45 +0000 (12:57 +0200)]
etc/config/config.dev.yaml: reduced to minimal config
Aleš Mrázek [Wed, 18 Jun 2025 10:39:23 +0000 (12:39 +0200)]
.gitlab-ci.yml: python:run: use CONFIG_FILE_NAME
Aleš Mrázek [Wed, 18 Jun 2025 10:37:33 +0000 (12:37 +0200)]
scripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable
The CONFIG_FILE_NAME variable allows us to change just the name of a configuration file.
Vladimír Čunát [Wed, 2 Jul 2025 16:38:20 +0000 (18:38 +0200)]
Merge !1713: lib/cache: fix retaining is_cache flag in cdb_clear
Vladimír Čunát [Wed, 2 Jul 2025 16:36:20 +0000 (18:36 +0200)]
add NEWS for the parent commit
Lukáš Ondráček [Wed, 2 Jul 2025 16:00:33 +0000 (18:00 +0200)]
lib/cache: fix retaining is_cache flag in cdb_clear
Vladimír Čunát [Mon, 30 Jun 2025 08:28:07 +0000 (10:28 +0200)]
Merge !1712: manager: metrics: fix typo in one prometheus stat name
Rich [Wed, 25 Jun 2025 07:53:53 +0000 (08:53 +0100)]
manager: metrics: fix typo in one prometheus stat name
Vladimír Čunát [Wed, 25 Jun 2025 07:24:22 +0000 (09:24 +0200)]
Merge !1711: datamodel/templates: fix swapped edns-buffer-size
Vladimír Čunát [Wed, 25 Jun 2025 07:10:19 +0000 (09:10 +0200)]
datamodel/templates: fix swapped edns-buffer-size
Vladimír Čunát [Wed, 25 Jun 2025 06:56:13 +0000 (08:56 +0200)]
Merge !1704: datamodel/templates: fix /dnssec/trust-anchors-files
Vladimír Čunát [Wed, 11 Jun 2025 13:34:40 +0000 (15:34 +0200)]
datamodel/templates: fix /dnssec/trust-anchors-files
I expect this has never worked in 6.x yet :-/
Vladimír Čunát [Thu, 12 Jun 2025 12:04:34 +0000 (14:04 +0200)]
Merge !1706: .gitlab-ci.yml: add pkg:alma-10
Jakub Ružička [Thu, 12 Jun 2025 11:24:25 +0000 (13:24 +0200)]
distro/tests: update test dependencies
Depend on man on almalinux.
Also shorten distro.match invocations for readability.
Vladimír Čunát [Thu, 5 Jun 2025 10:27:47 +0000 (12:27 +0200)]
.gitlab-ci.yml: add pkg:alma-10
Vladimír Čunát [Thu, 12 Jun 2025 08:51:17 +0000 (10:51 +0200)]
Merge !1701: meson: avoid protoc-c, as it's deprecated
Vladimír Čunát [Wed, 4 Jun 2025 07:32:14 +0000 (09:32 +0200)]
meson: avoid protoc-c, as it's (reported as) deprecated
> `protoc-c` is deprecated. Please use `protoc` instead!
Vladimír Čunát [Wed, 11 Jun 2025 11:01:45 +0000 (13:01 +0200)]
Merge !1703: manager: prometheus metrics update
Fixes #917
Aleš Mrázek [Wed, 11 Jun 2025 10:01:36 +0000 (12:01 +0200)]
test/packaging/interactive/metrics: compare number of JSON and prometheus metrics
Aleš Mrázek [Tue, 10 Jun 2025 16:17:27 +0000 (18:17 +0200)]
manager: metrics: added prometheus missing IPv4/6 metrics
Aleš Mrázek [Tue, 3 Jun 2025 10:51:59 +0000 (12:51 +0200)]
Merge branch 'release-6.0.14' into 'master'
Release 6.0.14
See merge request knot/knot-resolver!1700
Aleš Mrázek [Tue, 3 Jun 2025 10:51:59 +0000 (12:51 +0200)]
Release 6.0.14
Vladimír Čunát [Tue, 3 Jun 2025 09:25:33 +0000 (11:25 +0200)]
Merge !1699: datamodel/templates: fix error, as RuleSchema doesn't have .log
Vladimír Čunát [Mon, 2 Jun 2025 12:42:01 +0000 (14:42 +0200)]
lib/rules: drop FIXMEs
These don't need resolving, as the return values for kr_* functions
didn't change really in the end.
Vladimír Čunát [Mon, 2 Jun 2025 12:42:01 +0000 (14:42 +0200)]
datamodel/templates: fix error, as RuleSchema doesn't have .log
Also indent the complicated if-nesting.
Aleš Mrázek [Mon, 2 Jun 2025 07:31:26 +0000 (09:31 +0200)]
Merge branch 'ci-python-run' into 'master'
ci: python:run: job to start the resolver with the dev configuration
See merge request knot/knot-resolver!1698
Aleš Mrázek [Fri, 30 May 2025 08:22:30 +0000 (10:22 +0200)]
.gitlab-ci.yml: added python:run job
Vladimír Čunát [Mon, 2 Jun 2025 07:23:45 +0000 (09:23 +0200)]
Merge !1697: datamodel/templates: fix kr_rule_local_* macros
Vladimír Čunát [Fri, 30 May 2025 05:13:04 +0000 (07:13 +0200)]
add NEWS entry