]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Fri, 31 Oct 2025 15:00:09 +0000 (16:00 +0100)]
Merge branch 'declarative-config-stabilization' into 'master'
stabilization of the declarative configuration
See merge request knot/knot-resolver!1672
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
Aleš Mrázek [Fri, 31 Oct 2025 09:37:21 +0000 (10:37 +0100)]
Merge branch 'ci-deploy-fixes' into 'master'
ci: fixes for 'docs:website' and 'docker:dockerhub' jobs
See merge request knot/knot-resolver!1753
Aleš Mrázek [Thu, 30 Oct 2025 14:26:37 +0000 (15:26 +0100)]
.gitlab-ci.yml: fixed docker:dockerhub
Aleš Mrázek [Thu, 30 Oct 2025 13:01:06 +0000 (14:01 +0100)]
.gitlab-ci.yml: fixed docs:website
Aleš Mrázek [Thu, 30 Oct 2025 09:49:27 +0000 (10:49 +0100)]
Merge branch 'release-6.0.16' into 'master'
Release 6.0.16
See merge request knot/knot-resolver!1752
Aleš Mrázek [Thu, 30 Oct 2025 09:03:11 +0000 (10:03 +0100)]
manager/triggers.py: typo correction
Aleš Mrázek [Thu, 30 Oct 2025 08:56:31 +0000 (09:56 +0100)]
release 6.0.16
Vladimír Čunát [Thu, 30 Oct 2025 07:41:29 +0000 (08:41 +0100)]
Merge !1751: CI: Knot DNS 3.5 bump
Hynek Šabacký [Fri, 10 Oct 2025 10:29:26 +0000 (12:29 +0200)]
ci: Increase meson test valgrind timeout
Hynek Šabacký [Fri, 10 Oct 2025 09:21:45 +0000 (11:21 +0200)]
ci: Test against Knot DNS 3.5
Vladimír Čunát [Fri, 24 Oct 2025 08:57:03 +0000 (10:57 +0200)]
Merge !1724: systemd: tweak OOM behavior
Vladimír Čunát [Fri, 18 Jul 2025 11:01:06 +0000 (13:01 +0200)]
systemd: tweak OOM behavior
When OOM killer happens, it's basically always killing kresd
process(es), in which case the supervisord inside should simply
restart them and everything should be OK.
I.e. in almost all cases there's no need for systemd to panic
and stop the whole knot-resolver service.
Vladimír Čunát [Tue, 21 Oct 2025 09:00:46 +0000 (11:00 +0200)]
Merge !1750: doc/user: document the RPZ watchdog
Vladimír Čunát [Tue, 21 Oct 2025 06:12:56 +0000 (08:12 +0200)]
doc/user: document the RPZ watchdog
Vladimír Čunát [Thu, 16 Oct 2025 10:33:15 +0000 (12:33 +0200)]
Merge !1742: manager: policy-loader: improvements and bug fixes
Aleš Mrázek [Thu, 25 Sep 2025 15:16:42 +0000 (17:16 +0200)]
daemon/main.c: notify_ready: do not fail if NOTIFY_SOCKET is not configured
Aleš Mrázek [Wed, 17 Sep 2025 09:27:14 +0000 (11:27 +0200)]
datamodel: better naming for kresd and policy-loader related parts
Aleš Mrázek [Wed, 17 Sep 2025 09:16:40 +0000 (11:16 +0200)]
controller/supervisord: policy:loader: do not wait for the READY notification
policy-loader automatically enters RUNNING state when spawned
Aleš Mrázek [Tue, 16 Sep 2025 12:18:08 +0000 (14:18 +0200)]
manager: clean up supervisord and policy-loader config files
Vladimír Čunát [Wed, 15 Oct 2025 14:03:25 +0000 (16:03 +0200)]
Merge !1733: fallback: add new feature/module
Vladimír Čunát [Thu, 21 Aug 2025 12:26:09 +0000 (14:26 +0200)]
fallback: add YAML config + docs
Vladimír Čunát [Thu, 21 Aug 2025 12:26:09 +0000 (14:26 +0200)]
fallback: allow to disable in views:
Including config and docs for this.
Vladimír Čunát [Wed, 13 Aug 2025 14:08:40 +0000 (16:08 +0200)]
fallback: add the module also into packages
Vladimír Čunát [Mon, 28 Jul 2025 07:03:55 +0000 (09:03 +0200)]
fallback: module prototype
The module switches individual queries to a forwarding config
when failing to resolve the normal way (non-forwarding typically).
Internally the mechanism is close to the serve_stale module.
For now it has Lua config only, e.g.:
modules = { 'fallback' }
fallback.config({
targets = {
{'193.17.47.1', tls = false},
{'2001:148f:fffe::1', tls = false},
},
options = {
},
})
TODO: right now it's not yet possible to specify a list of source
addresses for which this mechanism won't be applied.
Vladimír Čunát [Sun, 27 Jul 2025 07:57:54 +0000 (09:57 +0200)]
fallback WIP: seems to work, kind-of
Vladimír Čunát [Sun, 27 Jul 2025 07:57:54 +0000 (09:57 +0200)]
modules/policy refactor: split a part of policy.rule_forward_add()
Aleš Mrázek [Thu, 9 Oct 2025 16:55:26 +0000 (18:55 +0200)]
Merge branch 'ci-docker-test-remove-reload' into 'master'
ci: docker:test:cross-platform: removed reload.sh interactive test
See merge request knot/knot-resolver!1749
Aleš Mrázek [Thu, 9 Oct 2025 16:48:57 +0000 (18:48 +0200)]
.gitlab-ci.yml: docker:test:cross-platform: removed reload.sh interactive test
Aleš Mrázek [Thu, 9 Oct 2025 08:45:49 +0000 (10:45 +0200)]
Merge branch 'reload-force' into 'master'
manager: new API route for forced reload
Closes #939
See merge request knot/knot-resolver!1748
Aleš Mrázek [Wed, 8 Oct 2025 20:47:52 +0000 (22:47 +0200)]
NEWS: added configuration force reload
Aleš Mrázek [Wed, 8 Oct 2025 19:17:46 +0000 (21:17 +0200)]
tests/packaging/interactive: added tests for configuration reload and renew
Aleš Mrázek [Wed, 8 Oct 2025 13:50:02 +0000 (15:50 +0200)]
manager/triggers.py: force renew/reload
Aleš Mrázek [Thu, 24 Jul 2025 09:46:00 +0000 (11:46 +0200)]
manager/files/watchdog.py: switched to triggers module
Aleš Mrázek [Thu, 24 Jul 2025 09:45:21 +0000 (11:45 +0200)]
manager/triggers.py: new module to globally handle triggered command
Aleš Mrázek [Tue, 7 Oct 2025 12:39:06 +0000 (14:39 +0200)]
tests/packaging/interactive/reload.sh: improved test for reload and force reload
Aleš Mrázek [Tue, 7 Oct 2025 11:47:53 +0000 (13:47 +0200)]
client: reload: added --force flag
Aleš Mrázek [Tue, 7 Oct 2025 10:56:07 +0000 (12:56 +0200)]
manager: added /reload/force API route
Vladimír Čunát [Fri, 3 Oct 2025 11:27:23 +0000 (13:27 +0200)]
Merge !1746: Revert !1743: contrib/mempattern: silence UBSAN on newer clang
Vladimír Čunát [Fri, 3 Oct 2025 11:19:14 +0000 (13:19 +0200)]
Revert "Merge !1743: contrib/mempattern: silence UBSAN on newer clang"
This reverts merge request !1743
Aleš Mrázek [Tue, 30 Sep 2025 13:09:08 +0000 (15:09 +0200)]
Merge branch 'news-add-1739' into 'master'
NEWS: added address renumbering bugfix
See merge request knot/knot-resolver!1745
Aleš Mrázek [Tue, 30 Sep 2025 13:06:56 +0000 (15:06 +0200)]
NEWS: added bugfix from !1739
Aleš Mrázek [Tue, 30 Sep 2025 12:24:56 +0000 (14:24 +0200)]
Merge branch 'client-input-files-comb' into 'master'
kresctl: commands: allow combination of config files
See merge request knot/knot-resolver!1738
Aleš Mrázek [Thu, 11 Sep 2025 09:27:21 +0000 (11:27 +0200)]
client: convert: allow combination of config files
Aleš Mrázek [Thu, 11 Sep 2025 09:02:25 +0000 (11:02 +0200)]
client: validate: allow combination of config files
Aleš Mrázek [Tue, 30 Sep 2025 12:01:02 +0000 (14:01 +0200)]
Merge branch 'templates-renumber-fix' into 'master'
datamodel/templates/network.lua.j2: renumber.config typo fix
See merge request knot/knot-resolver!1739
Aleš Mrázek [Fri, 12 Sep 2025 11:14:51 +0000 (13:14 +0200)]
datamodel/templates/network.lua.j2: renumber.config typo fix
Aleš Mrázek [Tue, 30 Sep 2025 11:34:42 +0000 (13:34 +0200)]
Merge branch 'python-update' into 'master'
ci: updated python to 3.13, use debian image for python jobs
See merge request knot/knot-resolver!1744
Aleš Mrázek [Thu, 18 Sep 2025 00:07:22 +0000 (02:07 +0200)]
.gitlab-ci.yml: python: use default image and show poetry env info
Aleš Mrázek [Wed, 17 Sep 2025 13:33:27 +0000 (15:33 +0200)]
.gitlab-ci.yml: updated PYTHON_VERSION to 3.13
Aleš Mrázek [Wed, 17 Sep 2025 11:19:59 +0000 (13:19 +0200)]
.python-version file update
Vladimír Čunát [Thu, 25 Sep 2025 11:35:10 +0000 (13:35 +0200)]
Merge !1743: contrib/mempattern: silence UBSAN on newer clang
Vladimír Čunát [Thu, 25 Sep 2025 10:25:10 +0000 (12:25 +0200)]
contrib/mempattern: silence UBSAN on newer clang
Equivalent to
https://gitlab.nic.cz/knot/knot-dns/-/commit/
27825e4c595d952
The problem happens now with clang 20.
I don't think I've seen it happen with GCC 15
or with some earlier clang versions.
Aleš Mrázek [Mon, 15 Sep 2025 13:01:19 +0000 (15:01 +0200)]
Merge branch 'types-files-root' into 'master'
datamodel/types/files.py: permission check succeeds if running under root privileges
See merge request knot/knot-resolver!1741
Aleš Mrázek [Sun, 14 Sep 2025 21:06:32 +0000 (23:06 +0200)]
datamodel/types/files.py: permission check succeeds if running under root privileges
Vladimír Čunát [Mon, 15 Sep 2025 08:03:26 +0000 (10:03 +0200)]
Merge !1731: manager/metrics/prometheus: fixed answer latency histogram
Aleš Mrázek [Tue, 19 Aug 2025 13:44:13 +0000 (15:44 +0200)]
manager/metrics/prometheus: fix the answer latency histogram
Vladimír Čunát [Mon, 15 Sep 2025 06:49:39 +0000 (08:49 +0200)]
Merge !1740: .gitlab-ci.yml: kill Ubuntu 24.10
Vladimír Čunát [Mon, 15 Sep 2025 06:28:06 +0000 (08:28 +0200)]
.gitlab-ci.yml: kill Ubuntu 24.10
It won't work anymore:
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/
1482521
Vladimír Čunát [Mon, 15 Sep 2025 06:35:34 +0000 (08:35 +0200)]
Merge !1732: lib/selection: respect 0x20 settings even after TCP issues
Vladimír Čunát [Wed, 20 Aug 2025 07:11:38 +0000 (09:11 +0200)]
lib/selection: respect 0x20 settings even after TCP issues
Thankfully we can pull it from kr_request,
as policy.FLAGS() also sets it in there.
Vladimír Čunát [Wed, 27 Aug 2025 10:38:32 +0000 (12:38 +0200)]
Merge !1736: ci: python:check: setuptools installation fix
Aleš Mrázek [Wed, 27 Aug 2025 09:49:52 +0000 (11:49 +0200)]
.gitlab-ci.yml: python:check: also install build deps
Aleš Mrázek [Wed, 27 Aug 2025 09:48:59 +0000 (11:48 +0200)]
pyproject.toml: added build dependencies group
Vladimír Čunát [Wed, 27 Aug 2025 07:17:31 +0000 (09:17 +0200)]
Merge !1734: lint: clang-tidy fixes
Frantisek Tobias [Mon, 25 Aug 2025 14:30:52 +0000 (16:30 +0200)]
daemon/io: catch fdopen fail, close fd and default back to stdout
Aleš Mrázek [Mon, 25 Aug 2025 12:30:07 +0000 (14:30 +0200)]
lint: lib/rules/local-addr.c: ignore false-positive clank-tidy clang-analyzer-unix.Stream error
Aleš Mrázek [Fri, 22 Aug 2025 12:42:26 +0000 (14:42 +0200)]
lint: daemon/network.c: replaced NULL argument for 'setsockopt'
The 4th argument to 'setsockopt' should not be NULL, clang-tidy clang-analyzer-unix.StdCLibraryFunctions error.
Aleš Mrázek [Fri, 22 Aug 2025 11:36:34 +0000 (13:36 +0200)]
lint: daemon/io.c: avoided Null pointer for output stream
If it is not checked, the clang-tidy clang-analyzer-core::NonNullParamChecker error will be raised.
Aleš Mrázek [Wed, 20 Aug 2025 13:46:04 +0000 (15:46 +0200)]
lint: tidy: fixed cert-err33-c errors
Aleš Mrázek [Wed, 20 Aug 2025 13:39:03 +0000 (15:39 +0200)]
lint: tidy: fixed cert-int09-c errors