]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
2 days agoMerge !1794: tests/packaging/interactive: skip TLS certs watchdog tests docs-master-mgcjyq/deployments/8366 docs-master-mgcjyq/deployments/8371 docs-master-mgcjyq/deployments/8373 docs-master-mgcjyq/deployments/8379 docs-master-mgcjyq/deployments/8381 docs-nightly-t152d1/deployments/8372 docs-nightly-t152d1/deployments/8380 docs-python-refac-ga7je5/deployments/8368 master nightly python-refactoring
Vladimír Čunát [Thu, 15 Jan 2026 13:15:33 +0000 (14:15 +0100)] 
Merge !1794: tests/packaging/interactive: skip TLS certs watchdog tests

2 days agotests/packaging/interactive: skip TLS certs watchdog tests docs-tests-packag-jduykc/deployments/8365 1794/head
Aleš Mrázek [Thu, 15 Jan 2026 12:13:53 +0000 (13:13 +0100)] 
tests/packaging/interactive: skip TLS certs watchdog tests

2 days agoMerge branch 'docs-cleanup-fix' into 'master' docs-master-mgcjyq/deployments/8361
Aleš Mrázek [Thu, 15 Jan 2026 12:01:30 +0000 (13:01 +0100)] 
Merge branch 'docs-cleanup-fix' into 'master'

doc/user: minor adjustments

See merge request knot/knot-resolver!1793

2 days agodoc/user/gettingstarted-install.rst: build from source docs-docs-cleanup-c6wyql/deployments/8360 1793/head
Aleš Mrázek [Thu, 15 Jan 2026 11:32:17 +0000 (12:32 +0100)] 
doc/user/gettingstarted-install.rst: build from source

This part looked like it belonged under the Docker section. At the same time, I didn't want to create a separate section for it and put it at the same level as packages sections.

2 days agodoc/user/config-overview.rst: json schema app link
Aleš Mrázek [Thu, 15 Jan 2026 11:00:28 +0000 (12:00 +0100)] 
doc/user/config-overview.rst: json schema app link

Unfortunately, the previous link was not universal for all versions of the docs. Doing link universal automatically is not easy, so a clarification was added.

2 days agoMerge !1792: docs: remove problematic deps docs-master-mgcjyq/deployments/8358
Vladimír Čunát [Thu, 15 Jan 2026 10:28:50 +0000 (11:28 +0100)] 
Merge !1792: docs: remove problematic deps

2 days agodocs: removed sphinx-tabs and json-schema-for-humans docs-docs-cleanup-cyjba3/deployments/8350 1792/head
Aleš Mrázek [Wed, 14 Jan 2026 23:04:13 +0000 (00:04 +0100)] 
docs: removed sphinx-tabs and json-schema-for-humans

3 days agoMerge !1784: python: ruff: linter stricter configuration
Vladimír Čunát [Wed, 14 Jan 2026 08:54:17 +0000 (09:54 +0100)] 
Merge !1784: python: ruff: linter stricter configuration

5 days agopython: ruff: ignored and fixed some linter checks docs-ruff-strict-a6rg22/deployments/8333 1784/head
Aleš Mrázek [Sun, 11 Jan 2026 00:37:33 +0000 (01:37 +0100)] 
python: ruff: ignored and fixed some linter checks

5 days agopython: fixed too long lines (>120)
Aleš Mrázek [Sun, 11 Jan 2026 00:31:16 +0000 (01:31 +0100)] 
python: fixed too long lines (>120)

Ruff linter: E501 Line too long (>120)

5 days agopython: specified or removed type check ignore
Aleš Mrázek [Sat, 10 Jan 2026 23:58:29 +0000 (00:58 +0100)] 
python: specified or removed type check ignore

Ruff linter: PGH003 Use specific rule codes when ignoring type issues

5 days agopython: replaced python version comparing with tuple
Aleš Mrázek [Sat, 10 Jan 2026 23:43:44 +0000 (00:43 +0100)] 
python: replaced python version comparing with tuple

5 days agopython: client: ignore INP001 for commands modules
Aleš Mrázek [Sat, 10 Jan 2026 23:33:30 +0000 (00:33 +0100)] 
python: client: ignore INP001 for commands modules

5 days agopython: improved try/exception code
Aleš Mrázek [Sat, 10 Jan 2026 21:41:39 +0000 (22:41 +0100)] 
python: improved try/exception code

5 days agopython: applied code simplification improvements
Aleš Mrázek [Sat, 10 Jan 2026 21:32:06 +0000 (22:32 +0100)] 
python: applied code simplification improvements

5 days agopython: fixed docstring formatting
Aleš Mrázek [Sat, 10 Jan 2026 21:06:30 +0000 (22:06 +0100)] 
python: fixed docstring formatting

5 days agopython: added missing type annotations
Aleš Mrázek [Sat, 10 Jan 2026 17:47:17 +0000 (18:47 +0100)] 
python: added missing type annotations

5 days agopython: fixed renamed exceptions/errors
Aleš Mrázek [Sat, 10 Jan 2026 17:45:35 +0000 (18:45 +0100)] 
python: fixed renamed exceptions/errors

5 days ago*/exceptions.py: updated for more strict linter (Ruff)
Aleš Mrázek [Fri, 12 Dec 2025 00:42:18 +0000 (01:42 +0100)] 
*/exceptions.py: updated for more strict linter (Ruff)

5 days agoexceptions.py: renamed base exception to error Ruff(N818)
Aleš Mrázek [Wed, 10 Dec 2025 23:26:10 +0000 (00:26 +0100)] 
exceptions.py: renamed base exception to error Ruff(N818)

5 days agoconstants.py: added freebsd_min_version constant
Aleš Mrázek [Wed, 10 Dec 2025 23:12:36 +0000 (00:12 +0100)] 
constants.py: added freebsd_min_version constant

5 days agopyproject.toml: ruff strict config
Aleš Mrázek [Fri, 5 Dec 2025 00:04:57 +0000 (01:04 +0100)] 
pyproject.toml: ruff strict config

7 days agoMerge !1789: doc/user: updated info about docker images docs-master-mgcjyq/deployments/8318 docs-master-mgcjyq/deployments/8322 docs-master-mgcjyq/deployments/8326 docs-master-mgcjyq/deployments/8327 docs-master-mgcjyq/deployments/8329 docs-nightly-t152d1/deployments/8323 docs-nightly-t152d1/deployments/8328
Vladimír Čunát [Sat, 10 Jan 2026 08:22:49 +0000 (09:22 +0100)] 
Merge !1789: doc/user: updated info about docker images

7 days agodoc/user: updated info about docker images 1789/head
Aleš Mrázek [Fri, 9 Jan 2026 15:24:08 +0000 (16:24 +0100)] 
doc/user: updated info about docker images

8 days agoMerge branch 'dockerhub-update' into 'master' docs-master-mgcjyq/deployments/8311 docs-master-mgcjyq/deployments/8315 docs-master-mgcjyq/deployments/8317 docs-nightly-t152d1/deployments/8316
Aleš Mrázek [Fri, 9 Jan 2026 13:55:55 +0000 (14:55 +0100)] 
Merge branch 'dockerhub-update' into 'master'

ci: docker:dockerhub: update tags

See merge request knot/knot-resolver!1788

8 days ago.gitlab-ci.yml: docker:dockerhub updated tags docs-dockerhub-up-qg4m6k/deployments/8310 1788/head
Aleš Mrázek [Thu, 8 Jan 2026 17:12:49 +0000 (18:12 +0100)] 
.gitlab-ci.yml: docker:dockerhub updated tags

8 days agoMerge !1787: ci: renamed docs:latest to docs:master docs-master-mgcjyq/deployments/8308
Vladimír Čunát [Fri, 9 Jan 2026 12:53:23 +0000 (13:53 +0100)] 
Merge !1787: ci: renamed docs:latest to docs:master

8 days ago.gitlab-ci.yml: renamed docs:latest to docs:master docs-ci-docs-mast-92s4o1/deployments/8307 1787/head
Aleš Mrázek [Fri, 9 Jan 2026 12:24:02 +0000 (13:24 +0100)] 
.gitlab-ci.yml: renamed docs:latest to docs:master

9 days agoMerge branch 'release-6.1.0' into 'master' docs-master-mgcjyq/deployments/8300 docs-master-mgcjyq/deployments/8304 docs-master-mgcjyq/deployments/8306 docs-nightly-t152d1/deployments/8305 docs-v6-1-0-wly2a2/deployments/8301 v6.1.0
Aleš Mrázek [Thu, 8 Jan 2026 13:07:38 +0000 (14:07 +0100)] 
Merge branch 'release-6.1.0' into 'master'

Release 6.1.0

See merge request knot/knot-resolver!1783

9 days agodoc/user: adjust formulation on version compatibility for 6+ situation docs-release-6-1-tq5anv/deployments/8299 1783/head
Vladimír Čunát [Thu, 8 Jan 2026 08:29:04 +0000 (09:29 +0100)] 
doc/user: adjust formulation on version compatibility for 6+ situation

9 days agorelease 6.1.0
Aleš Mrázek [Mon, 5 Jan 2026 11:08:53 +0000 (12:08 +0100)] 
release 6.1.0

9 days agoMerge !1771: datamodel: add /lua/policy-script*
Vladimír Čunát [Thu, 8 Jan 2026 12:00:46 +0000 (13:00 +0100)] 
Merge !1771: datamodel: add /lua/policy-script*

9 days agodatamodel: add /lua/policy-script* docs-lua-policy-s-9i4cdz/deployments/8295 1771/head
Vladimír Čunát [Mon, 1 Dec 2025 19:36:20 +0000 (20:36 +0100)] 
datamodel: add /lua/policy-script*

9 days agoMerge !1786: meson: fix linking with jemalloc docs-master-mgcjyq/deployments/8294
Vladimír Čunát [Thu, 8 Jan 2026 11:51:51 +0000 (12:51 +0100)] 
Merge !1786: meson: fix linking with jemalloc

9 days agomeson: fix linking with jemalloc 1786/head
Vladimír Čunát [Thu, 8 Jan 2026 11:38:06 +0000 (12:38 +0100)] 
meson: fix linking with jemalloc

This is a partial revert of a13235612644
which haven't reached any tags, fortunately.

I'm not sure why this breaks the configure phase in my case
> meson.build:171:33: ERROR: C shared library 'jemalloc' not found
but I looked properly into docs and it wouldn't do what we wanted anyway:
https://mesonbuild.com/Reference-manual_returned_compiler.html#find_library_static

9 days agoMerge !1785: defer: enable by default docs-master-mgcjyq/deployments/8283 docs-master-mgcjyq/deployments/8286 docs-master-mgcjyq/deployments/8288 docs-nightly-t152d1/deployments/8287
Vladimír Čunát [Wed, 7 Jan 2026 17:40:30 +0000 (18:40 +0100)] 
Merge !1785: defer: enable by default

9 days agodefer: enable by default 1785/head
Vladimír Čunát [Wed, 7 Jan 2026 11:48:16 +0000 (12:48 +0100)] 
defer: enable by default

12 days agoMerge !1775: defer: fix sampling multiple answers from same TCP connection docs-master-mgcjyq/deployments/8269 docs-master-mgcjyq/deployments/8272 docs-master-mgcjyq/deployments/8274 docs-master-mgcjyq/deployments/8276 docs-master-mgcjyq/deployments/8278 docs-nightly-t152d1/deployments/8273 docs-nightly-t152d1/deployments/8277 docs-release-6-1-tq5anv/deployments/8270
Vladimír Čunát [Mon, 5 Jan 2026 10:22:28 +0000 (11:22 +0100)] 
Merge !1775: defer: fix sampling multiple answers from same TCP connection

12 days agodefer: fix sampling multiple answers from same TCP connection docs-defer-sample-r9xfkc/deployments/8268 1775/head
Lukáš Ondráček [Tue, 23 Dec 2025 14:05:14 +0000 (15:05 +0100)] 
defer: fix sampling multiple answers from same TCP connection

13 days agoMerge !1782: distro/pkg: replace retired Jakub's contact by our team alias docs-master-mgcjyq/deployments/8264 docs-master-mgcjyq/deployments/8265 docs-master-mgcjyq/deployments/8267 docs-nightly-t152d1/deployments/8266
Vladimír Čunát [Sun, 4 Jan 2026 13:20:49 +0000 (14:20 +0100)] 
Merge !1782: distro/pkg: replace retired Jakub's contact by our team alias

13 days agodistro/pkg: replace retired Jakub's contact by our team alias docs-nits-jt0z7n/deployments/8263 1782/head
Vladimír Čunát [Sun, 4 Jan 2026 12:56:31 +0000 (13:56 +0100)] 
distro/pkg: replace retired Jakub's contact by our team alias

13 days agoNEWS: fix a wrong reference to merge request
Vladimír Čunát [Sun, 4 Jan 2026 12:51:03 +0000 (13:51 +0100)] 
NEWS: fix a wrong reference to merge request

2 weeks agoMerge !1774: cache packet_ttl(): fix wrong TTL in some cases, typically 32768 docs-master-mgcjyq/deployments/8250 docs-master-mgcjyq/deployments/8256 docs-master-mgcjyq/deployments/8258 docs-master-mgcjyq/deployments/8259 docs-master-mgcjyq/deployments/8261 docs-nightly-t152d1/deployments/8257 docs-nightly-t152d1/deployments/8260
Vladimír Čunát [Fri, 2 Jan 2026 10:02:25 +0000 (11:02 +0100)] 
Merge !1774: cache packet_ttl(): fix wrong TTL in some cases, typically 32768

2 weeks agoadd NEWS for the parent commit docs-ttl-empty-ava4x5/deployments/8249
Vladimír Čunát [Sun, 21 Dec 2025 12:10:20 +0000 (13:10 +0100)] 
add NEWS for the parent commit

2 weeks agocache packet_ttl(): fix wrong TTL in some cases, typically 32768
Vladimír Čunát [Sun, 21 Dec 2025 12:10:20 +0000 (13:10 +0100)] 
cache packet_ttl(): fix wrong TTL in some cases, typically 32768

A notable case is when authoritative server incorrectly sends
a reply without any record but with EDNS.

For the OPT, the TTL field contains extended-error, EDNS version,
DO bit and mandatorily zeroed bits.  As extended-error isn't usually
set by authoritative servers outside SERVFAIL, and EDNS version
is just 1 so far, we'd end up with TTL either 32768 (DO=0) or with
a value clamped by maximum TTL (86400 by default).

2 weeks agotests/integration/deckard: add test for the TTL issue
Vladimír Čunát [Sun, 21 Dec 2025 16:33:30 +0000 (17:33 +0100)] 
tests/integration/deckard: add test for the TTL issue

It's failing now and fixed by the following commit.

2 weeks agoMerge !1780: don't set AD if both Answer and Authority are empty. docs-master-mgcjyq/deployments/8236 docs-master-mgcjyq/deployments/8239 docs-master-mgcjyq/deployments/8241 docs-master-mgcjyq/deployments/8243 docs-master-mgcjyq/deployments/8245 docs-master-mgcjyq/deployments/8246 docs-master-mgcjyq/deployments/8248 docs-nightly-t152d1/deployments/8240 docs-nightly-t152d1/deployments/8244 docs-nightly-t152d1/deployments/8247
Vladimír Čunát [Tue, 30 Dec 2025 09:49:30 +0000 (10:49 +0100)] 
Merge !1780: don't set AD if both Answer and Authority are empty.

Fixes #914

2 weeks agoresolver: don't set AD if both Answer and Authority are empty.
menakite [Thu, 29 Aug 2024 03:55:28 +0000 (05:55 +0200)] 
resolver: don't set AD if both Answer and Authority are empty.

Fixes #914 (nord module: AD=1 is no good)

2 weeks agoMerge !1779: doc/user /local-data/rpz: correct the status of support docs-master-mgcjyq/deployments/8231 docs-master-mgcjyq/deployments/8232 docs-master-mgcjyq/deployments/8234 docs-nightly-t152d1/deployments/8233
Vladimír Čunát [Mon, 29 Dec 2025 10:07:46 +0000 (11:07 +0100)] 
Merge !1779: doc/user /local-data/rpz: correct the status of support

2 weeks agodoc/user /local-data/rpz: correct the status of support docs-doc-rpz-e2sfcu/deployments/8230
Vladimír Čunát [Mon, 29 Dec 2025 09:28:02 +0000 (10:28 +0100)] 
doc/user /local-data/rpz: correct the status of support

3 weeks agoMerge !1770: pyproject.toml and poe tasks improvements docs-master-mgcjyq/deployments/8199 docs-master-mgcjyq/deployments/8203 docs-master-mgcjyq/deployments/8205 docs-master-mgcjyq/deployments/8207 docs-master-mgcjyq/deployments/8209 docs-master-mgcjyq/deployments/8211 docs-master-mgcjyq/deployments/8213 docs-master-mgcjyq/deployments/8214 docs-master-mgcjyq/deployments/8216 docs-master-mgcjyq/deployments/8217 docs-master-mgcjyq/deployments/8219 docs-master-mgcjyq/deployments/8220 docs-master-mgcjyq/deployments/8222 docs-master-mgcjyq/deployments/8223 docs-master-mgcjyq/deployments/8225 docs-master-mgcjyq/deployments/8226 docs-master-mgcjyq/deployments/8228 docs-nightly-t152d1/deployments/8204 docs-nightly-t152d1/deployments/8208 docs-nightly-t152d1/deployments/8212 docs-nightly-t152d1/deployments/8215 docs-nightly-t152d1/deployments/8218 docs-nightly-t152d1/deployments/8221 docs-nightly-t152d1/deployments/8224 docs-nightly-t152d1/deployments/8227
Vladimír Čunát [Sun, 21 Dec 2025 07:36:50 +0000 (08:36 +0100)] 
Merge !1770: pyproject.toml and poe tasks improvements

3 weeks ago.gitlab-ci.yml: updated names and stages for python jobs docs-poe-tasks-im-3b6b50/deployments/8198
Aleš Mrázek [Thu, 11 Dec 2025 23:55:47 +0000 (00:55 +0100)] 
.gitlab-ci.yml: updated names and stages for python jobs

3 weeks agopyproject.toml: updated groups dependencies versions
Aleš Mrázek [Thu, 11 Dec 2025 23:35:51 +0000 (00:35 +0100)] 
pyproject.toml: updated groups dependencies versions

3 weeks agocontroller/supervisord/__init__.py: sort imports
Aleš Mrázek [Thu, 11 Dec 2025 23:15:43 +0000 (00:15 +0100)] 
controller/supervisord/__init__.py: sort imports

3 weeks ago.gitlab-ci.yml:: updated poe tasks names
Aleš Mrázek [Fri, 5 Dec 2025 11:39:03 +0000 (12:39 +0100)] 
.gitlab-ci.yml:: updated poe tasks names

Updated poe tasks names in other places.

3 weeks agoscripts/po-tasks: better naming for scripts
Aleš Mrázek [Fri, 5 Dec 2025 10:01:23 +0000 (11:01 +0100)] 
scripts/po-tasks: better naming for scripts

Also, check-code gets ruff's checks of imports and formatting.

3 weeks agopyproject.toml: better naming for poe tasks
Aleš Mrázek [Fri, 5 Dec 2025 09:58:41 +0000 (10:58 +0100)] 
pyproject.toml: better naming for poe tasks

4 weeks agoMerge !1772: tests: migrate off cmocka's deprecated APIs docs-master-mgcjyq/deployments/8185 docs-master-mgcjyq/deployments/8187 docs-master-mgcjyq/deployments/8189 docs-master-mgcjyq/deployments/8192 docs-master-mgcjyq/deployments/8194 docs-master-mgcjyq/deployments/8195 docs-master-mgcjyq/deployments/8197 docs-nightly-t152d1/deployments/8188 docs-nightly-t152d1/deployments/8193 docs-nightly-t152d1/deployments/8196
Vladimír Čunát [Thu, 18 Dec 2025 14:38:22 +0000 (15:38 +0100)] 
Merge !1772: tests: migrate off cmocka's deprecated APIs

4 weeks agoNEWS: consolidate + add entry for cmocka docs-cmocka-019f0b/deployments/8172
Vladimír Čunát [Tue, 16 Dec 2025 14:33:29 +0000 (15:33 +0100)] 
NEWS: consolidate + add entry for cmocka

4 weeks agotests: migrate off cmocka's deprecated APIs docs-cmocka-019f0b/deployments/8171
Vladimír Čunát [Tue, 16 Dec 2025 14:17:27 +0000 (15:17 +0100)] 
tests: migrate off cmocka's deprecated APIs

With cmocka-2.0.0 these broke.
I'm not sure if upstream meant to break them,
but either way we'd better avoid deprecated APIs.

4 weeks agoMerge !1769: support libdnssec merged into libknot, as planned for knot >= 3.6 docs-master-mgcjyq/deployments/8169 docs-master-mgcjyq/deployments/8174 docs-master-mgcjyq/deployments/8176 docs-master-mgcjyq/deployments/8181 docs-master-mgcjyq/deployments/8183 docs-nightly-t152d1/deployments/8175 docs-nightly-t152d1/deployments/8182
Vladimír Čunát [Tue, 16 Dec 2025 08:32:36 +0000 (09:32 +0100)] 
Merge !1769: support libdnssec merged into libknot, as planned for knot >= 3.6

4 weeks agotreewide: avoid DNSSEC_EOK docs-libdnssec-dyy1ob/deployments/8168
Vladimír Čunát [Tue, 16 Dec 2025 08:04:45 +0000 (09:04 +0100)] 
treewide: avoid DNSSEC_EOK

It was zero anyway, just as KNOT_EOK or kr_ok()

4 weeks agolibdnssec -->> libknot
Vladimír Čunát [Wed, 22 Oct 2025 07:50:51 +0000 (09:50 +0200)] 
libdnssec -->> libknot

4 weeks agotreewide: centralize inclusion of libdnssec headers
Vladimír Čunát [Fri, 24 Oct 2025 15:18:07 +0000 (17:18 +0200)] 
treewide: centralize inclusion of libdnssec headers

4 weeks agoMerge !1768: manager: logging improvement docs-master-mgcjyq/deployments/8160 docs-master-mgcjyq/deployments/8164 docs-master-mgcjyq/deployments/8166 docs-nightly-t152d1/deployments/8165
Vladimír Čunát [Mon, 15 Dec 2025 12:05:30 +0000 (13:05 +0100)] 
Merge !1768: manager: logging improvement

4 weeks agoNEW: added improved logging groups docs-logging-impr-dwwxha/deployments/8159
Aleš Mrázek [Wed, 10 Dec 2025 17:54:45 +0000 (18:54 +0100)] 
NEW: added improved logging groups

4 weeks agodoc/user/config-logging-monitoring.rst: updated logging groups
Aleš Mrázek [Wed, 10 Dec 2025 17:54:18 +0000 (18:54 +0100)] 
doc/user/config-logging-monitoring.rst: updated logging groups

4 weeks agomanager/logger.py: added debug groups for the manager
Aleš Mrázek [Fri, 29 Aug 2025 15:02:25 +0000 (17:02 +0200)] 
manager/logger.py: added debug groups for the manager

4 weeks agologging: debug logging level for individual components(processes)
Aleš Mrázek [Tue, 26 Aug 2025 13:12:01 +0000 (15:12 +0200)] 
logging: debug logging level for individual components(processes)

- datamodel: logging-groups: added LogGroupsProcessesEnum

4 weeks agomanager/logger.py: simplified setting of log level and logging handler
Aleš Mrázek [Tue, 26 Aug 2025 11:46:57 +0000 (13:46 +0200)] 
manager/logger.py: simplified setting of log level and logging handler

4 weeks agomanager/logger.py: added constants for logging targets
Aleš Mrázek [Tue, 26 Aug 2025 11:41:51 +0000 (13:41 +0200)] 
manager/logger.py: added constants for logging targets

5 weeks agoMerge !1766: cache test: adjust conditions on cache usage docs-master-mgcjyq/deployments/8135 docs-master-mgcjyq/deployments/8149 docs-master-mgcjyq/deployments/8152 docs-master-mgcjyq/deployments/8153 docs-master-mgcjyq/deployments/8155 docs-master-mgcjyq/deployments/8156 docs-master-mgcjyq/deployments/8158 docs-nightly-t152d1/deployments/8150 docs-nightly-t152d1/deployments/8154 docs-nightly-t152d1/deployments/8157
Vladimír Čunát [Fri, 12 Dec 2025 07:13:29 +0000 (08:13 +0100)] 
Merge !1766: cache test: adjust conditions on cache usage

5 weeks ago.gitignore: add defer+top docs-macos-cache-mtbzh2/deployments/8134
Vladimír Čunát [Fri, 12 Dec 2025 06:34:53 +0000 (07:34 +0100)] 
.gitignore: add defer+top

These get created when running kresd without changing
to a different rundir.

5 weeks agocache test: adjust conditions on cache usage
Vladimír Čunát [Sat, 6 Dec 2025 12:59:29 +0000 (13:59 +0100)] 
cache test: adjust conditions on cache usage

The KRU-based garbage collection reduced the LMDB size a bit
for a particular overall cache size setting.
Apple Silicon uses 16 KiB pages instead of the usual 4 KiB,
so the usage is a bit shifted and that's why we didn't notice earlier
(though before the KRU GC we adjusted in commit adaac913c5)

For example failure, see "not ok" lines in
https://cache.nixos.org/log/1452wsll1fxh38p0fbqa0vw1p7ki6v55-knot-resolver_6-6.0.17.drv

5 weeks agoMerge !1764: update meson's minimal version and utilize that docs-master-mgcjyq/deployments/8115 docs-master-mgcjyq/deployments/8120 docs-master-mgcjyq/deployments/8122 docs-master-mgcjyq/deployments/8131 docs-master-mgcjyq/deployments/8133 docs-nightly-t152d1/deployments/8121 docs-nightly-t152d1/deployments/8132
Vladimír Čunát [Wed, 10 Dec 2025 09:45:32 +0000 (10:45 +0100)] 
Merge !1764: update meson's minimal version and utilize that

Fixes #714

5 weeks agomodules/experimental_dot_auth: fix copy&paste error in meson docs-meson-update-5pqqu0/deployments/8114
Vladimír Čunát [Wed, 3 Dec 2025 13:33:34 +0000 (14:33 +0100)] 
modules/experimental_dot_auth: fix copy&paste error in meson

There's no ./static dir to even install.
Apparently this snippet came from modules/http.
Discovered thanks to meson reporting:
  NOTICE: Future-deprecated features used:
   * 0.60.0: {'install_subdir with empty directory'}

5 weeks agomeson: replace deprecated get_pkgconfig_variable()
Vladimír Čunát [Wed, 3 Dec 2025 13:21:17 +0000 (14:21 +0100)] 
meson: replace deprecated get_pkgconfig_variable()

5 weeks agomeson: utilize the version bump
Vladimír Čunát [Wed, 7 Dec 2022 11:19:41 +0000 (12:19 +0100)] 
meson: utilize the version bump

5 weeks agomeson: use summary()
Vladimír Čunát [Tue, 6 Dec 2022 18:54:43 +0000 (19:54 +0100)] 
meson: use summary()

https://mesonbuild.com/Reference-manual_functions.html#summary
- has nicer output
- less code in meson files
- allows defining summary parts closer to where they originate

Also short pieces of meson code are moved around.

I'm not sure how much info to put into those summaries;
this commit keeps the amount about the same.
Also note that (while not documented in meson)
a "User defined options" is appended, so the summary()
may end up repeating entries from that section.

5 weeks agomeson minimal version: 0.49 -> 0.53
Vladimír Čunát [Tue, 6 Dec 2022 17:38:57 +0000 (18:38 +0100)] 
meson minimal version: 0.49 -> 0.53

This gets rid of a warning * 0.52.0: {'priority arg in test'}

There's still Ubuntu 20.04 with meson 0.53.2,
though its standard support ended a few months ago.
Debian 11 with meson 0.56.2 is similar in this respect.

Still well supported: RHEL 9 derivatives with meson 0.63.3
and Ubuntu 22.04 with meson 0.61.2.

5 weeks agoMerge branch 'python3.14-support' into 'master' docs-master-mgcjyq/deployments/8102 docs-master-mgcjyq/deployments/8103 docs-master-mgcjyq/deployments/8105 docs-master-mgcjyq/deployments/8111 docs-master-mgcjyq/deployments/8113 docs-nightly-t152d1/deployments/8104 docs-nightly-t152d1/deployments/8112
Aleš Mrázek [Mon, 8 Dec 2025 14:49:16 +0000 (15:49 +0100)] 
Merge branch 'python3.14-support' into 'master'

Support for Python 3.14

See merge request knot/knot-resolver!1767

5 weeks agoci: switch lint:tidy from Arch to Debian 13 docs-python3-14-s-2r8lzj/deployments/8101
Vladimír Čunát [Mon, 8 Dec 2025 12:55:13 +0000 (13:55 +0100)] 
ci: switch lint:tidy from Arch to Debian 13

The problem was that in Arch the clang-tidy package
updates at random moments, so we have to resolve
the issues when doing urelated refreshes of CI images.

5 weeks agoutils/modeling: support for annotations in python3.14
Aleš Mrázek [Fri, 5 Dec 2025 16:56:19 +0000 (17:56 +0100)] 
utils/modeling: support for annotations in python3.14

PEP 649 & PEP 749: Deferred evaluation of annotations
The annotations on classes(ConfigSchema classes in our case) are no longer evaluated eagerly.  They are evaluated only when necessary.

5 weeks ago.python-version: added 3.14 and updated others
Aleš Mrázek [Thu, 4 Dec 2025 23:37:40 +0000 (00:37 +0100)] 
.python-version: added 3.14 and updated others

5 weeks ago.gitlab-ci.yml: python:unit: added python3.14
Aleš Mrázek [Thu, 4 Dec 2025 23:12:55 +0000 (00:12 +0100)] 
.gitlab-ci.yml: python:unit: added python3.14

5 weeks agoMerge !1760: Avoid binding multiple transport protocols to one addr+port docs-master-mgcjyq/deployments/8098
Vladimír Čunát [Mon, 8 Dec 2025 09:13:24 +0000 (10:13 +0100)] 
Merge !1760: Avoid binding multiple transport protocols to one addr+port

5 weeks agodaemon/network: Avoid binding multiple transport protocols to one addr and port combi...
Frantisek Tobias [Thu, 27 Nov 2025 08:44:43 +0000 (09:44 +0100)] 
daemon/network: Avoid binding multiple transport protocols to one addr and port combination

6 weeks agoMerge !1765: manager: check that supervisord is manager's parent process docs-master-mgcjyq/deployments/8090 docs-master-mgcjyq/deployments/8092 docs-master-mgcjyq/deployments/8094 docs-master-mgcjyq/deployments/8095 docs-master-mgcjyq/deployments/8097 docs-nightly-t152d1/deployments/8093 docs-nightly-t152d1/deployments/8096
Vladimír Čunát [Sat, 6 Dec 2025 09:45:47 +0000 (10:45 +0100)] 
Merge !1765: manager: check that supervisord is manager's parent process

6 weeks agomanager: check that supervisord is manager's parent process docs-supervisord-amfeuz/deployments/8078
Vladimír Čunát [Fri, 5 Dec 2025 11:18:19 +0000 (12:18 +0100)] 
manager: check that supervisord is manager's parent process

It might happen that we have a stale PID file, e.g. after a crash,
but some other process has taken the freed PID already.

6 weeks agoMerge !1763: /fallback: apply during reload (force kresd restarts) docs-master-mgcjyq/deployments/8077 docs-master-mgcjyq/deployments/8087 docs-master-mgcjyq/deployments/8089 docs-nightly-t152d1/deployments/8088
Vladimír Čunát [Fri, 5 Dec 2025 09:41:43 +0000 (10:41 +0100)] 
Merge !1763: /fallback: apply during reload (force kresd restarts)

6 weeks ago/fallback: apply during reload (force kresd restarts) docs-fallback-rel-bv43rv/deployments/8065
Vladimír Čunát [Wed, 3 Dec 2025 11:15:38 +0000 (12:15 +0100)] 
/fallback: apply during reload (force kresd restarts)

6 weeks agoMerge branch 'release-6.0.17' into 'master' docs-master-mgcjyq/deployments/8060 docs-master-mgcjyq/deployments/8062 docs-master-mgcjyq/deployments/8064 docs-master-mgcjyq/deployments/8068 docs-master-mgcjyq/deployments/8070 docs-master-mgcjyq/deployments/8074 docs-master-mgcjyq/deployments/8076 docs-nightly-t152d1/deployments/8063 docs-nightly-t152d1/deployments/8069 docs-nightly-t152d1/deployments/8075 docs-v6-0-17-4m7vsl/deployments/8061 v6.0.17
Aleš Mrázek [Tue, 2 Dec 2025 13:33:31 +0000 (14:33 +0100)] 
Merge branch 'release-6.0.17' into 'master'

Release 6.0.17

See merge request knot/knot-resolver!1762

6 weeks agoNEWS: tweak the cache-kru bullet docs-release-6-0-apsqyv/deployments/8059
Vladimír Čunát [Tue, 2 Dec 2025 13:20:32 +0000 (14:20 +0100)] 
NEWS: tweak the cache-kru bullet

6 weeks agoNEWS: fix markdown list formatting docs-release-6-0-apsqyv/deployments/8058
Frantisek Tobias [Tue, 2 Dec 2025 11:58:42 +0000 (12:58 +0100)] 
NEWS: fix markdown list formatting

6 weeks agorelease 6.0.17 docs-release-6-0-apsqyv/deployments/8057
Aleš Mrázek [Mon, 1 Dec 2025 12:43:36 +0000 (13:43 +0100)] 
release 6.0.17

6 weeks agoci: add pkg:ubuntu-25.10
Vladimír Čunát [Tue, 2 Dec 2025 10:14:06 +0000 (11:14 +0100)] 
ci: add pkg:ubuntu-25.10

6 weeks agoMerge !1761: lib/rules: allow forcing NODATA answer for a particular name+type docs-master-mgcjyq/deployments/8048 docs-master-mgcjyq/deployments/8051 docs-master-mgcjyq/deployments/8053 docs-nightly-t152d1/deployments/8052
Vladimír Čunát [Mon, 1 Dec 2025 20:22:36 +0000 (21:22 +0100)] 
Merge !1761: lib/rules: allow forcing NODATA answer for a particular name+type

6 weeks agolib/rules: allow forcing NODATA answer for a particular name+type docs-rules-nodata-mia4kz/deployments/8047
Vladimír Čunát [Mon, 1 Dec 2025 18:16:44 +0000 (19:16 +0100)] 
lib/rules: allow forcing NODATA answer for a particular name+type

It's just removing an assertion, and it does make sense to me.
Also expose kr_rule_local_data_ins() in Lua, like other similar functions.

6 weeks agoMerge !1726: Use KRU in cache GC docs-master-mgcjyq/deployments/8046
Vladimír Čunát [Mon, 1 Dec 2025 20:07:47 +0000 (21:07 +0100)] 
Merge !1726: Use KRU in cache GC

6 weeks agolib/cache: NULL cache->db on failure to open docs-cache-kru-8qejro/deployments/8045
Vladimír Čunát [Mon, 1 Dec 2025 18:16:44 +0000 (19:16 +0100)] 
lib/cache: NULL cache->db on failure to open

Otherwise we get use-after-free when attempting to close the cache
after this failure causes the process to shut down.