]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
2 days agoMerge branch 'release-6.3.0' into 'master' docs-master-mgcjyq/deployments/8959 docs-master-mgcjyq/deployments/8961 docs-master-mgcjyq/deployments/8963 docs-master-mgcjyq/deployments/8973 docs-master-mgcjyq/deployments/8975 docs-nightly-t152d1/deployments/8962 docs-nightly-t152d1/deployments/8974 docs-v6-3-0-gfw826/deployments/8960 master nightly v6.3.0
Aleš Mrázek [Mon, 27 Apr 2026 12:00:42 +0000 (14:00 +0200)] 
Merge branch 'release-6.3.0' into 'master'

Release 6.3.0

See merge request knot/knot-resolver!1829

2 days agorelease 6.3.0 docs-release-6-3-ulsh1t/deployments/8958 1829/head
Aleš Mrázek [Mon, 27 Apr 2026 11:25:04 +0000 (13:25 +0200)] 
release 6.3.0

2 days agoMerge !1828: lib/rules: warn about non-CNAME wildcards in RPZ docs-master-mgcjyq/deployments/8956
Vladimír Čunát [Mon, 27 Apr 2026 11:14:55 +0000 (13:14 +0200)] 
Merge !1828: lib/rules: warn about non-CNAME wildcards in RPZ

2 days agolib/rules: warn about non-CNAME wildcards in RPZ 1828/head
Vladimír Čunát [Tue, 26 Aug 2025 08:49:12 +0000 (10:49 +0200)] 
lib/rules: warn about non-CNAME wildcards in RPZ

2 days agoMerge !1827: Fix price overflow caused by high price_factor in ratelimiting, defer docs-master-mgcjyq/deployments/8955
Vladimír Čunát [Mon, 27 Apr 2026 10:13:03 +0000 (12:13 +0200)] 
Merge !1827: Fix price overflow caused by high price_factor in ratelimiting, defer

2 days agodaemon/defer: rewrite BASE_PRICE macro to function 1827/head
Lukáš Ondráček [Thu, 23 Apr 2026 14:02:53 +0000 (16:02 +0200)] 
daemon/defer: rewrite BASE_PRICE macro to function

2 days agodoc/user: Fix typo in rate-limiting
Lukáš Ondráček [Thu, 23 Apr 2026 11:31:35 +0000 (13:31 +0200)] 
doc/user: Fix typo in rate-limiting

2 days agoFix price overflow in ratelimiting, defer
Lukáš Ondráček [Thu, 23 Apr 2026 11:10:55 +0000 (13:10 +0200)] 
Fix price overflow in ratelimiting, defer

7 days agoMerge !1818: ruledb: drop the MDB_WRITEMAP flag docs-master-mgcjyq/deployments/8915 docs-master-mgcjyq/deployments/8922 docs-master-mgcjyq/deployments/8924 docs-master-mgcjyq/deployments/8941 docs-master-mgcjyq/deployments/8943 docs-master-mgcjyq/deployments/8946 docs-master-mgcjyq/deployments/8948 docs-master-mgcjyq/deployments/8949 docs-master-mgcjyq/deployments/8951 docs-master-mgcjyq/deployments/8952 docs-master-mgcjyq/deployments/8954 docs-nightly-t152d1/deployments/8923 docs-nightly-t152d1/deployments/8942 docs-nightly-t152d1/deployments/8947 docs-nightly-t152d1/deployments/8950 docs-nightly-t152d1/deployments/8953
Vladimír Čunát [Wed, 22 Apr 2026 08:29:35 +0000 (10:29 +0200)] 
Merge !1818: ruledb: drop the MDB_WRITEMAP flag

7 days agoruledb: drop the MDB_WRITEMAP flag docs-ruledb-k10yl5/deployments/8914 1818/head
Vladimír Čunát [Thu, 12 Mar 2026 10:34:01 +0000 (11:34 +0100)] 
ruledb: drop the MDB_WRITEMAP flag

I like the property of mapping this memory as read-only.
All writes should have been deferred to the policy-loader,
at least in normal operation.

7 days agoMerge !1816: fix luajit includedir when cross-compiling docs-master-mgcjyq/deployments/8913
Vladimír Čunát [Wed, 22 Apr 2026 08:15:45 +0000 (10:15 +0200)] 
Merge !1816: fix luajit includedir when cross-compiling

7 days agoFix luajit includedir when cross-compiling 1816/head
Nicolas PARLANT [Thu, 5 Mar 2026 15:07:52 +0000 (16:07 +0100)] 
Fix luajit includedir when cross-compiling

The use of --variable=includedir for luajit doesn't include the
root-directory when cross-compiling.

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
7 days agoMerge !1817: lib/rules: fix KR_RULE_SUB_REDIRECT docs-master-mgcjyq/deployments/8911
Vladimír Čunát [Wed, 22 Apr 2026 07:55:40 +0000 (09:55 +0200)] 
Merge !1817: lib/rules: fix KR_RULE_SUB_REDIRECT

7 days agolib/rules: fix KR_RULE_SUB_REDIRECT docs-subtree-redi-zfe48g/deployments/8910 1817/head
Vladimír Čunát [Tue, 17 Feb 2026 09:38:57 +0000 (10:38 +0100)] 
lib/rules: fix KR_RULE_SUB_REDIRECT

It's not commonly used, but it caused SERVFAIL.
Example name: foo.localhost.
Broken since v6.0.13, merge 0f0404f26 in particular.

8 days agoMerge !1819: lib/cache: trim TTL of failing stashed packets docs-master-mgcjyq/deployments/8906 docs-master-mgcjyq/deployments/8907 docs-master-mgcjyq/deployments/8909 docs-nightly-t152d1/deployments/8908
Vladimír Čunát [Tue, 21 Apr 2026 12:50:39 +0000 (14:50 +0200)] 
Merge !1819: lib/cache: trim TTL of failing stashed packets

8 days agolib/cache: trim TTL of failing stashed packets 1819/head
Vladimír Čunát [Mon, 16 Mar 2026 10:00:22 +0000 (11:00 +0100)] 
lib/cache: trim TTL of failing stashed packets

In particular, in STUB mode
(i.e. forwarding with dnssec:false + authoritative:false)
if a SERVFAIL packet from upstream contained also records,
this packet could be cached with long TTL.

This issue was reported by Qifan Zhang from Palo Alto Networks.

Additionally, let's apply our TTL limits for caching also
to the `cache-control: max-age=` HTTP header sent in DoH replies.

8 days agoMerge !1826: daemon/quic: fix a minor undefined behavior docs-master-mgcjyq/deployments/8902
Vladimír Čunát [Tue, 21 Apr 2026 09:45:36 +0000 (11:45 +0200)] 
Merge !1826: daemon/quic: fix a minor undefined behavior

8 days agodaemon/quic: fix a minor undefined behavior 1826/head
Vladimír Čunát [Tue, 21 Apr 2026 08:32:15 +0000 (10:32 +0200)] 
daemon/quic: fix a minor undefined behavior

Perhaps a bit surprisingly, using a pointer after free()
results in undefined behavior, even if it is not dereferenced.
https://stackoverflow.com/a/69486412
Personally I wouldn't expect a practical problem here,
but fixing this non-compliance is trivial.

8 days agoMerge !1824: controller: supervisord: disabled autorestart for policy-loader docs-master-mgcjyq/deployments/8901
Vladimír Čunát [Tue, 21 Apr 2026 09:39:28 +0000 (11:39 +0200)] 
Merge !1824: controller: supervisord: disabled autorestart for policy-loader

Fixes #950

8 days agocontroller/supervisord: disable autorestart for policy loader docs-controller-p-ep3yc7/deployments/8900 1824/head
Aleš Mrázek [Tue, 14 Apr 2026 11:23:54 +0000 (13:23 +0200)] 
controller/supervisord: disable autorestart for policy loader

8 days agocontroller: added UNEXPECTED status to SubprocessStatus
Aleš Mrázek [Tue, 14 Apr 2026 11:23:06 +0000 (13:23 +0200)] 
controller: added UNEXPECTED status to SubprocessStatus

Subprocess ends in an unexpected state when subprocess exit code is not 0.

8 days agoMerge !1823: lib/rules/zonefile: print line number in case of error docs-master-mgcjyq/deployments/8899
Vladimír Čunát [Tue, 21 Apr 2026 09:06:06 +0000 (11:06 +0200)] 
Merge !1823: lib/rules/zonefile: print line number in case of error

2 weeks agolib/rules/zonefile: print line number in case of error docs-rpz-line-num-irkd64/deployments/8842 1823/head
Vladimír Čunát [Tue, 12 Aug 2025 15:25:41 +0000 (17:25 +0200)] 
lib/rules/zonefile: print line number in case of error

This is especially useful when debugging large RPZ files.

4 weeks agoMerge !1814: distro/pkg/deb: apply most differences from downstream Debian docs-master-mgcjyq/deployments/8786 docs-master-mgcjyq/deployments/8790 docs-master-mgcjyq/deployments/8792 docs-master-mgcjyq/deployments/8793 docs-master-mgcjyq/deployments/8795 docs-master-mgcjyq/deployments/8796 docs-master-mgcjyq/deployments/8798 docs-master-mgcjyq/deployments/8800 docs-master-mgcjyq/deployments/8801 docs-master-mgcjyq/deployments/8803 docs-master-mgcjyq/deployments/8804 docs-master-mgcjyq/deployments/8806 docs-master-mgcjyq/deployments/8807 docs-master-mgcjyq/deployments/8809 docs-master-mgcjyq/deployments/8811 docs-master-mgcjyq/deployments/8813 docs-master-mgcjyq/deployments/8814 docs-master-mgcjyq/deployments/8816 docs-master-mgcjyq/deployments/8817 docs-master-mgcjyq/deployments/8819 docs-master-mgcjyq/deployments/8820 docs-master-mgcjyq/deployments/8822 docs-master-mgcjyq/deployments/8823 docs-master-mgcjyq/deployments/8825 docs-master-mgcjyq/deployments/8826 docs-master-mgcjyq/deployments/8828 docs-master-mgcjyq/deployments/8829 docs-master-mgcjyq/deployments/8831 docs-master-mgcjyq/deployments/8834 docs-master-mgcjyq/deployments/8836 docs-master-mgcjyq/deployments/8845 docs-master-mgcjyq/deployments/8847 docs-master-mgcjyq/deployments/8848 docs-master-mgcjyq/deployments/8850 docs-master-mgcjyq/deployments/8851 docs-master-mgcjyq/deployments/8853 docs-master-mgcjyq/deployments/8857 docs-master-mgcjyq/deployments/8859 docs-master-mgcjyq/deployments/8863 docs-master-mgcjyq/deployments/8865 docs-master-mgcjyq/deployments/8866 docs-master-mgcjyq/deployments/8868 docs-master-mgcjyq/deployments/8870 docs-master-mgcjyq/deployments/8872 docs-master-mgcjyq/deployments/8873 docs-master-mgcjyq/deployments/8875 docs-master-mgcjyq/deployments/8876 docs-master-mgcjyq/deployments/8878 docs-master-mgcjyq/deployments/8879 docs-master-mgcjyq/deployments/8881 docs-master-mgcjyq/deployments/8895 docs-master-mgcjyq/deployments/8897 docs-nightly-t152d1/deployments/8791 docs-nightly-t152d1/deployments/8794 docs-nightly-t152d1/deployments/8797 docs-nightly-t152d1/deployments/8799 docs-nightly-t152d1/deployments/8802 docs-nightly-t152d1/deployments/8805 docs-nightly-t152d1/deployments/8808 docs-nightly-t152d1/deployments/8812 docs-nightly-t152d1/deployments/8815 docs-nightly-t152d1/deployments/8818 docs-nightly-t152d1/deployments/8821 docs-nightly-t152d1/deployments/8824 docs-nightly-t152d1/deployments/8827 docs-nightly-t152d1/deployments/8830 docs-nightly-t152d1/deployments/8835 docs-nightly-t152d1/deployments/8846 docs-nightly-t152d1/deployments/8849 docs-nightly-t152d1/deployments/8852 docs-nightly-t152d1/deployments/8858 docs-nightly-t152d1/deployments/8864 docs-nightly-t152d1/deployments/8867 docs-nightly-t152d1/deployments/8871 docs-nightly-t152d1/deployments/8874 docs-nightly-t152d1/deployments/8877 docs-nightly-t152d1/deployments/8880 docs-nightly-t152d1/deployments/8896
Vladimír Čunát [Thu, 26 Mar 2026 12:53:57 +0000 (13:53 +0100)] 
Merge !1814: distro/pkg/deb: apply most differences from downstream Debian

4 weeks agodistro/pkg/deb: apply most differences from downstream Debian docs-deb-sync-6yx9ns/deployments/8785
Vladimír Čunát [Wed, 4 Mar 2026 09:27:19 +0000 (10:27 +0100)] 
distro/pkg/deb: apply most differences from downstream Debian

I looked through the differences and sometimes checked
relevant docs or commits which introduced the differences.

Keeping on debhelper-compat 12, so that we don't have to
drop Ubuntu 20.04 which only ended the standard support phase
less than one year ago (and gets security support for 5-10 more).

4 weeks agoMerge !1822: ci: pkg: updates for Ubuntu 26.04 docs-master-mgcjyq/deployments/8784
Vladimír Čunát [Thu, 26 Mar 2026 12:23:58 +0000 (13:23 +0100)] 
Merge !1822: ci: pkg: updates for Ubuntu 26.04

4 weeks agodaemon/http.c nit: fix const-warnings with C23 docs-pkg-ubuntu-2-5fknxw/deployments/8783
Vladimír Čunát [Thu, 26 Mar 2026 11:56:44 +0000 (12:56 +0100)] 
daemon/http.c nit: fix const-warnings with C23

Interestingly, with C23, functions like strstr()
return a const-qualified pointer iff one was passed to them.
Right now we ran into this in Arch CI (unreleased gcc 15 version):
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1713767

4 weeks agotests/integration/deckard: updated with fix for pydnstest symlink
Aleš Mrázek [Thu, 26 Mar 2026 00:21:01 +0000 (01:21 +0100)] 
tests/integration/deckard: updated with fix for pydnstest symlink

4 weeks ago.gitlab-ci.yml: updated IMAGE_TAG
Aleš Mrázek [Wed, 25 Mar 2026 13:00:59 +0000 (14:00 +0100)] 
.gitlab-ci.yml: updated IMAGE_TAG

5 weeks ago.gitlab-ci.yml: use Python 3.14 as default
Aleš Mrázek [Wed, 25 Mar 2026 12:56:55 +0000 (13:56 +0100)] 
.gitlab-ci.yml: use Python 3.14 as default

5 weeks ago.python-version: update versions docs-pkg-ubuntu-2-5fknxw/deployments/8775
Aleš Mrázek [Wed, 25 Mar 2026 12:35:59 +0000 (13:35 +0100)] 
.python-version: update versions

5 weeks ago.gitlab-ci.yml: pkg:make-archive: use Ubuntu 26.04
Aleš Mrázek [Wed, 25 Mar 2026 12:35:01 +0000 (13:35 +0100)] 
.gitlab-ci.yml: pkg:make-archive: use Ubuntu 26.04

5 weeks agoMerge !1821: nit cleanups, mostly dropping knot_mm_t uses docs-master-mgcjyq/deployments/8762 docs-master-mgcjyq/deployments/8763 docs-master-mgcjyq/deployments/8765 docs-master-mgcjyq/deployments/8766 docs-master-mgcjyq/deployments/8768 docs-master-mgcjyq/deployments/8769 docs-master-mgcjyq/deployments/8771 docs-master-mgcjyq/deployments/8772 docs-master-mgcjyq/deployments/8774 docs-master-mgcjyq/deployments/8778 docs-master-mgcjyq/deployments/8780 docs-nightly-t152d1/deployments/8764 docs-nightly-t152d1/deployments/8767 docs-nightly-t152d1/deployments/8770 docs-nightly-t152d1/deployments/8773 docs-nightly-t152d1/deployments/8779
Vladimír Čunát [Sat, 21 Mar 2026 08:22:40 +0000 (09:22 +0100)] 
Merge !1821: nit cleanups, mostly dropping knot_mm_t uses

5 weeks agocache nit: drop unused knot_mm_t* parameter docs-nits-jt0z7n/deployments/8757
Vladimír Čunát [Fri, 20 Mar 2026 11:00:09 +0000 (12:00 +0100)] 
cache nit: drop unused knot_mm_t* parameter

5 weeks agodaemon nit: drop useless struct engine::pool
Vladimír Čunát [Fri, 20 Mar 2026 11:54:59 +0000 (12:54 +0100)] 
daemon nit: drop useless struct engine::pool

Memory pools are not suitable for this use case.

5 weeks agolib/resolve nit: drop unused struct kr_context::pool
Vladimír Čunát [Fri, 20 Mar 2026 11:06:07 +0000 (12:06 +0100)] 
lib/resolve nit: drop unused struct kr_context::pool

5 weeks agostruct kr_query: dissolve ::forward_flags
Vladimír Čunát [Mon, 9 Mar 2026 13:18:24 +0000 (14:18 +0100)] 
struct kr_query: dissolve ::forward_flags

Many years ago it might've looked like a good idea
to have a copy of the whole flag-set to represent just two fags,
but nowadays it seems rather excessive and perhaps confusing.

Apart from being simple and more explicit,
this shrinks struct kr_query by 8 bytes (on x86_64).

5 weeks agoMerge !1820: Fix outdated docs: files-watchdog -> watchdog docs-master-mgcjyq/deployments/8752 docs-master-mgcjyq/deployments/8754 docs-master-mgcjyq/deployments/8756 docs-master-mgcjyq/deployments/8759 docs-master-mgcjyq/deployments/8761 docs-nightly-t152d1/deployments/8755 docs-nightly-t152d1/deployments/8760
Vladimír Čunát [Thu, 19 Mar 2026 12:07:17 +0000 (13:07 +0100)] 
Merge !1820: Fix outdated docs: files-watchdog -> watchdog

5 weeks agoFix outdated documentation: files-watchdog -> watchdog docs-doc-watchdog-n6oce6/deployments/8751
oldshensheep [Thu, 19 Mar 2026 11:35:06 +0000 (11:35 +0000)] 
Fix outdated documentation: files-watchdog -> watchdog

7 weeks agoMerge !1815: doc/user: document SVCB in rebinding module docs-master-mgcjyq/deployments/8691 docs-master-mgcjyq/deployments/8694 docs-master-mgcjyq/deployments/8696 docs-master-mgcjyq/deployments/8698 docs-master-mgcjyq/deployments/8700 docs-master-mgcjyq/deployments/8701 docs-master-mgcjyq/deployments/8703 docs-master-mgcjyq/deployments/8704 docs-master-mgcjyq/deployments/8706 docs-master-mgcjyq/deployments/8713 docs-master-mgcjyq/deployments/8715 docs-master-mgcjyq/deployments/8717 docs-master-mgcjyq/deployments/8719 docs-master-mgcjyq/deployments/8720 docs-master-mgcjyq/deployments/8722 docs-master-mgcjyq/deployments/8727 docs-master-mgcjyq/deployments/8729 docs-master-mgcjyq/deployments/8730 docs-master-mgcjyq/deployments/8732 docs-master-mgcjyq/deployments/8733 docs-master-mgcjyq/deployments/8735 docs-master-mgcjyq/deployments/8736 docs-master-mgcjyq/deployments/8738 docs-master-mgcjyq/deployments/8739 docs-master-mgcjyq/deployments/8741 docs-master-mgcjyq/deployments/8745 docs-master-mgcjyq/deployments/8747 docs-master-mgcjyq/deployments/8748 docs-master-mgcjyq/deployments/8750 docs-nightly-t152d1/deployments/8695 docs-nightly-t152d1/deployments/8699 docs-nightly-t152d1/deployments/8702 docs-nightly-t152d1/deployments/8705 docs-nightly-t152d1/deployments/8714 docs-nightly-t152d1/deployments/8718 docs-nightly-t152d1/deployments/8721 docs-nightly-t152d1/deployments/8728 docs-nightly-t152d1/deployments/8731 docs-nightly-t152d1/deployments/8734 docs-nightly-t152d1/deployments/8737 docs-nightly-t152d1/deployments/8740 docs-nightly-t152d1/deployments/8746 docs-nightly-t152d1/deployments/8749
Vladimír Čunát [Thu, 5 Mar 2026 12:16:29 +0000 (13:16 +0100)] 
Merge !1815: doc/user: document SVCB in rebinding module

7 weeks agodoc/user: document SVCB in rebinding module (#948)
Vladimír Čunát [Thu, 5 Mar 2026 12:10:27 +0000 (13:10 +0100)] 
doc/user: document SVCB in rebinding module (#948)

7 weeks agoMerge !1813: doc/user /local-data/records: add a note about RPZs docs-master-mgcjyq/deployments/8690
Vladimír Čunát [Thu, 5 Mar 2026 10:10:07 +0000 (11:10 +0100)] 
Merge !1813: doc/user /local-data/records: add a note about RPZs

Closes #947

7 weeks agodoc/user /local-data/records: add a note about RPZs docs-doc-records-ceckvf/deployments/8689
Vladimír Čunát [Sun, 15 Feb 2026 17:52:03 +0000 (18:52 +0100)] 
doc/user /local-data/records: add a note about RPZs

7 weeks agodoc/user /local-data: nest examples in corresponding options
Vladimír Čunát [Sun, 15 Feb 2026 17:50:25 +0000 (18:50 +0100)] 
doc/user /local-data: nest examples in corresponding options

7 weeks agoMerge !1812: lib/rules: reflect `nodata:` setting in `rpz:` and `records:` settings docs-master-mgcjyq/deployments/8688
Vladimír Čunát [Thu, 5 Mar 2026 10:06:42 +0000 (11:06 +0100)] 
Merge !1812: lib/rules: reflect `nodata:` setting in `rpz:` and `records:` settings

Fixes #945 and #946

7 weeks agolib/rules: reflect `nodata:` setting in `rpz:` and `records:` settings docs-nodata-rpz-5yah38/deployments/8687
Vladimír Čunát [Thu, 12 Feb 2026 06:23:18 +0000 (07:23 +0100)] 
lib/rules: reflect `nodata:` setting in `rpz:` and `records:` settings

7 weeks agoMerge !1809: doc build fixes docs-master-mgcjyq/deployments/8686
Vladimír Čunát [Thu, 5 Mar 2026 10:00:18 +0000 (11:00 +0100)] 
Merge !1809: doc build fixes

7 weeks agomeson: drop -Ddoc=auto
Vladimír Čunát [Wed, 11 Feb 2026 18:08:36 +0000 (19:08 +0100)] 
meson: drop -Ddoc=auto

It wasn't doing anything (behaving like the default -Ddoc=disabled)
and it wasn't passed by anything I could find.

7 weeks agodoc/meson: simplify checking of deps
Vladimír Čunát [Wed, 11 Feb 2026 18:08:36 +0000 (19:08 +0100)] 
doc/meson: simplify checking of deps

This will give quite nice errors:
  doc/meson.build:39:19: ERROR: Command `/usr/bin/python3 -c 'import breathe'` failed with status 1.

7 weeks agopyproject.toml: add an extra dependency for docs
Vladimír Čunát [Wed, 14 Jan 2026 19:25:38 +0000 (20:25 +0100)] 
pyproject.toml: add an extra dependency for docs

We tend to get into trouble here now sometimes
when in a clean-ish environment.

7 weeks agodoc/meson: drop python2 support
Vladimír Čunát [Wed, 14 Jan 2026 19:25:38 +0000 (20:25 +0100)] 
doc/meson: drop python2 support

When we run into trouble, it produces confusing errors:
  https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1627828
and I really hope that python2 won't be useful here anymore.

7 weeks agoMerge !1599: iterator: correctly handle cases of EDNS version != 0. docs-master-mgcjyq/deployments/8685
Vladimír Čunát [Thu, 5 Mar 2026 08:38:24 +0000 (09:38 +0100)] 
Merge !1599: iterator: correctly handle cases of EDNS version != 0.

Fixes #404

7 weeks agonits around BADVERS docs-tmp-badvers-a75etr/deployments/8684 tmp-badvers
Vladimír Čunát [Thu, 5 Mar 2026 08:03:54 +0000 (09:03 +0100)] 
nits around BADVERS

7 weeks agoiterator: correctly handle cases of EDNS version != 0.
menakite [Tue, 27 Aug 2024 00:57:02 +0000 (02:57 +0200)] 
iterator: correctly handle cases of EDNS version != 0.

Answer with rcode BADVERS if the requested EDNS version is not supported
by libknot.

8 weeks agoMerge !1810: distro/pkg/deb: fix cross-build docs-master-mgcjyq/deployments/8675 docs-master-mgcjyq/deployments/8681 docs-master-mgcjyq/deployments/8683 docs-nightly-t152d1/deployments/8682
Vladimír Čunát [Wed, 4 Mar 2026 09:41:39 +0000 (10:41 +0100)] 
Merge !1810: distro/pkg/deb: fix cross-build

2 months agodistro/pkg/deb: fix cross-build docs-deb-cross-fb71wp/deployments/8596
Helmut Grohne [Thu, 12 Feb 2026 07:38:59 +0000 (08:38 +0100)] 
distro/pkg/deb: fix cross-build

Submitted as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1127713

2 months agoMerge !1808: lib/rules: support another RPZ feature docs-master-mgcjyq/deployments/8581 docs-master-mgcjyq/deployments/8590 docs-master-mgcjyq/deployments/8592 docs-master-mgcjyq/deployments/8593 docs-master-mgcjyq/deployments/8595 docs-master-mgcjyq/deployments/8600 docs-master-mgcjyq/deployments/8602 docs-master-mgcjyq/deployments/8606 docs-master-mgcjyq/deployments/8608 docs-master-mgcjyq/deployments/8611 docs-master-mgcjyq/deployments/8613 docs-master-mgcjyq/deployments/8614 docs-master-mgcjyq/deployments/8616 docs-master-mgcjyq/deployments/8617 docs-master-mgcjyq/deployments/8619 docs-master-mgcjyq/deployments/8620 docs-master-mgcjyq/deployments/8622 docs-master-mgcjyq/deployments/8623 docs-master-mgcjyq/deployments/8625 docs-master-mgcjyq/deployments/8626 docs-master-mgcjyq/deployments/8628 docs-master-mgcjyq/deployments/8630 docs-master-mgcjyq/deployments/8632 docs-master-mgcjyq/deployments/8636 docs-master-mgcjyq/deployments/8638 docs-master-mgcjyq/deployments/8639 docs-master-mgcjyq/deployments/8641 docs-master-mgcjyq/deployments/8654 docs-master-mgcjyq/deployments/8656 docs-master-mgcjyq/deployments/8657 docs-master-mgcjyq/deployments/8659 docs-master-mgcjyq/deployments/8660 docs-master-mgcjyq/deployments/8662 docs-master-mgcjyq/deployments/8663 docs-master-mgcjyq/deployments/8665 docs-master-mgcjyq/deployments/8668 docs-master-mgcjyq/deployments/8670 docs-master-mgcjyq/deployments/8671 docs-master-mgcjyq/deployments/8673 docs-nightly-t152d1/deployments/8591 docs-nightly-t152d1/deployments/8594 docs-nightly-t152d1/deployments/8601 docs-nightly-t152d1/deployments/8607 docs-nightly-t152d1/deployments/8612 docs-nightly-t152d1/deployments/8615 docs-nightly-t152d1/deployments/8618 docs-nightly-t152d1/deployments/8621 docs-nightly-t152d1/deployments/8624 docs-nightly-t152d1/deployments/8627 docs-nightly-t152d1/deployments/8631 docs-nightly-t152d1/deployments/8637 docs-nightly-t152d1/deployments/8640 docs-nightly-t152d1/deployments/8655 docs-nightly-t152d1/deployments/8658 docs-nightly-t152d1/deployments/8661 docs-nightly-t152d1/deployments/8664 docs-nightly-t152d1/deployments/8669 docs-nightly-t152d1/deployments/8672
Vladimír Čunát [Fri, 13 Feb 2026 08:10:18 +0000 (09:10 +0100)] 
Merge !1808: lib/rules: support another RPZ feature

2 months agolib/rules: support another RPZ feature docs-rpz-wild-0mwqkp/deployments/8580
Vladimír Čunát [Mon, 9 Feb 2026 07:36:22 +0000 (08:36 +0100)] 
lib/rules: support another RPZ feature

Some people want to do blocking by "redirection" to a page, e.g. via
  *.some.name.  CNAME  block.page.

2 months agoMerge !1811: lib/mmapped nit: avoid a warning docs-master-mgcjyq/deployments/8579
Vladimír Čunát [Fri, 13 Feb 2026 07:06:38 +0000 (08:06 +0100)] 
Merge !1811: lib/mmapped nit: avoid a warning

2 months agolib/mmapped nit: avoid a warning docs-warn-nit-8em7zd/deployments/8575
Vladimír Čunát [Thu, 12 Feb 2026 09:44:41 +0000 (10:44 +0100)] 
lib/mmapped nit: avoid a warning

https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1660161#L80

2 months agoMerge !1791: python: utils: python3.8 cleanup docs-master-mgcjyq/deployments/8559 docs-master-mgcjyq/deployments/8569 docs-master-mgcjyq/deployments/8571 docs-master-mgcjyq/deployments/8576 docs-master-mgcjyq/deployments/8578 docs-nightly-t152d1/deployments/8570 docs-nightly-t152d1/deployments/8577
Vladimír Čunát [Wed, 11 Feb 2026 10:10:07 +0000 (11:10 +0100)] 
Merge !1791: python: utils: python3.8 cleanup

2 months agopython: applied changes from utils/* modules docs-python-utils-ux4c0w/deployments/8558
Aleš Mrázek [Mon, 12 Jan 2026 13:06:29 +0000 (14:06 +0100)] 
python: applied changes from utils/* modules

2 months agoutils/*.py: python3.8 cleanup
Aleš Mrázek [Mon, 29 Dec 2025 08:57:53 +0000 (09:57 +0100)] 
utils/*.py: python3.8 cleanup

2 months agoutils/compat: python3.8 cleanup
Aleš Mrázek [Sun, 21 Dec 2025 21:11:59 +0000 (22:11 +0100)] 
utils/compat: python3.8 cleanup

- removed old unused/unnecessary code
- removed unused typing.py module

2 months agoMerge !1806: ci: update the list of distros docs-master-mgcjyq/deployments/8543 docs-master-mgcjyq/deployments/8549 docs-master-mgcjyq/deployments/8551 docs-master-mgcjyq/deployments/8555 docs-master-mgcjyq/deployments/8557 docs-nightly-t152d1/deployments/8550 docs-nightly-t152d1/deployments/8556
Vladimír Čunát [Mon, 9 Feb 2026 08:06:12 +0000 (09:06 +0100)] 
Merge !1806: ci: update the list of distros

2 months agoci: update the list of distros docs-ci-distros-wovm46/deployments/8542
Vladimír Čunát [Mon, 9 Feb 2026 07:53:59 +0000 (08:53 +0100)] 
ci: update the list of distros

For context see apkg merge 214 (a09bff3b)

2 months agoMerge branch 'release-6.2.0' into 'master' docs-master-mgcjyq/deployments/8517 docs-master-mgcjyq/deployments/8519 docs-master-mgcjyq/deployments/8521 docs-master-mgcjyq/deployments/8523 docs-master-mgcjyq/deployments/8525 docs-master-mgcjyq/deployments/8526 docs-master-mgcjyq/deployments/8528 docs-master-mgcjyq/deployments/8533 docs-master-mgcjyq/deployments/8535 docs-master-mgcjyq/deployments/8536 docs-master-mgcjyq/deployments/8538 docs-master-mgcjyq/deployments/8539 docs-master-mgcjyq/deployments/8541 docs-nightly-t152d1/deployments/8520 docs-nightly-t152d1/deployments/8524 docs-nightly-t152d1/deployments/8527 docs-nightly-t152d1/deployments/8534 docs-nightly-t152d1/deployments/8537 docs-nightly-t152d1/deployments/8540 docs-v6-2-0-npnks6/deployments/8518 v6.2.0
Aleš Mrázek [Tue, 3 Feb 2026 10:06:47 +0000 (11:06 +0100)] 
Merge branch 'release-6.2.0' into 'master'

Release 6.2.0

See merge request knot/knot-resolver!1805

2 months agorelease 6.2.0 docs-release-6-2-i7s86c/deployments/8516
Aleš Mrázek [Mon, 2 Feb 2026 15:42:00 +0000 (16:42 +0100)] 
release 6.2.0

2 months agoMerge !1803: tweak handling of ANY and RRSIG in QTYPE docs-master-mgcjyq/deployments/8514
Vladimír Čunát [Tue, 3 Feb 2026 08:37:36 +0000 (09:37 +0100)] 
Merge !1803: tweak handling of ANY and RRSIG in QTYPE

2 months agotweak handling of ANY and RRSIG in QTYPE docs-any-rrsig-ip2fgc/deployments/8513
Vladimír Čunát [Sun, 1 Feb 2026 09:58:21 +0000 (10:58 +0100)] 
tweak handling of ANY and RRSIG in QTYPE

- advanced users can configure these QTYPEs on Lua level, e.g.
    option('QTYPE_ANY', true)
- fix handling these QTYPEs, e.g.
  - caching: as whole packet only (simple and "safer" here)
  - iterator wasn't finding ANY records in answer :-)
- I wanted to disable RRSIG by default, but let's delay that

2 months agoMerge !1747: Implementation of server DNS over QUIC (RFC 9250) docs-master-mgcjyq/deployments/8505 docs-master-mgcjyq/deployments/8510 docs-master-mgcjyq/deployments/8512 docs-nightly-t152d1/deployments/8511
Vladimír Čunát [Mon, 2 Feb 2026 11:39:20 +0000 (12:39 +0100)] 
Merge !1747: Implementation of server DNS over QUIC (RFC 9250)

2 months agodatamodel: network: simplified QUIC template docs-doq-server-l2g24y/deployments/8504
Aleš Mrázek [Mon, 2 Feb 2026 10:52:14 +0000 (11:52 +0100)] 
datamodel: network: simplified QUIC template

2 months agodatamodel: network: removed layer from QUICSchema
Aleš Mrázek [Mon, 2 Feb 2026 10:43:11 +0000 (11:43 +0100)] 
datamodel: network: removed layer from QUICSchema

There is no reason for two layers here.

2 months agodoc nits + NEWS item, for quic docs-doq-server-l2g24y/deployments/8496
Vladimír Čunát [Sat, 31 Jan 2026 07:23:04 +0000 (08:23 +0100)] 
doc nits + NEWS item, for quic

2 months agomeson: fix include in embedded libngtcp2 sometimes
Vladimír Čunát [Wed, 28 Jan 2026 10:09:26 +0000 (11:09 +0100)] 
meson: fix include in embedded libngtcp2 sometimes

In particular, on macOS in GitHub CI.
I tried `dependencies: [gnutls.partial_dependency(includes: true)]`
but that didn't work.  No idea why.

2 months agoMerge master into doq-server
Vladimír Čunát [Wed, 28 Jan 2026 09:43:19 +0000 (10:43 +0100)] 
Merge master into doq-server

2 months agodaemon/quic: adapt to libknot 3.6
Vladimír Čunát [Wed, 28 Jan 2026 08:56:31 +0000 (09:56 +0100)] 
daemon/quic: adapt to libknot 3.6

For reference see what we did for the non-quic code in:
d0375933 80cf9eb1 c8ea4c07 (all MR 1769)

2 months agopython/formating: nits
Frantisek Tobias [Tue, 27 Jan 2026 15:07:06 +0000 (16:07 +0100)] 
python/formating: nits

2 months agodaemon/quic: fix linting warnings
Frantisek Tobias [Tue, 27 Jan 2026 15:05:55 +0000 (16:05 +0100)] 
daemon/quic: fix linting warnings

- add types to fields of struct nc_conn_ref_placeholder_t
- comment out testing DOQ error code

2 months agomake embedded quic lib work
Vladimír Čunát [Tue, 27 Jan 2026 10:48:15 +0000 (11:48 +0100)] 
make embedded quic lib work

This should also fix -Dquic=disabled
I'm now lazy to go fix it on the commits introducing it, too.

QUIC by default sizing (default nixos.org builds as reference):
 - with embedded ngtcp2* we grow the kresd binary by 344 KiB
 - with external ngtcp2* we grow the kresd binary by 40 KiB
   (while the external ngtcp2 package takes 472 KiB,
    libknot already depends on it, so it's not new)

3 months agolibngtcp2: copy embedded v1.20.0 from knot master (d9f7ac6e378f)
Vladimír Čunát [Tue, 27 Jan 2026 09:10:18 +0000 (10:10 +0100)] 
libngtcp2: copy embedded v1.20.0 from knot master (d9f7ac6e378f)

3 months agomake quic/DoQ optional
Vladimír Čunát [Tue, 30 Dec 2025 09:59:30 +0000 (10:59 +0100)] 
make quic/DoQ optional

3 months agoMerge branch 'utils-modeling-literals-fix' into 'master' docs-master-mgcjyq/deployments/8461 docs-master-mgcjyq/deployments/8469 docs-master-mgcjyq/deployments/8471 docs-master-mgcjyq/deployments/8483 docs-master-mgcjyq/deployments/8485 docs-master-mgcjyq/deployments/8493 docs-master-mgcjyq/deployments/8495 docs-master-mgcjyq/deployments/8497 docs-master-mgcjyq/deployments/8499 docs-master-mgcjyq/deployments/8500 docs-master-mgcjyq/deployments/8502 docs-nightly-t152d1/deployments/8470 docs-nightly-t152d1/deployments/8484 docs-nightly-t152d1/deployments/8494 docs-nightly-t152d1/deployments/8498 docs-nightly-t152d1/deployments/8501 docs-python-refac-ga7je5/deployments/8477
Aleš Mrázek [Tue, 27 Jan 2026 09:41:46 +0000 (10:41 +0100)] 
Merge branch 'utils-modeling-literals-fix' into 'master'

python: utils/modeling: fixed literals bug for python 3.8

See merge request knot/knot-resolver!1799

3 months agoadd NEWS entry for the parent commit docs-utils-modeli-c6we2z/deployments/8459
Vladimír Čunát [Tue, 27 Jan 2026 08:39:21 +0000 (09:39 +0100)] 
add NEWS entry for the parent commit

3 months agopython: utils/modeling: fixed Literal bug for python 3.8
Aleš Mrázek [Wed, 21 Jan 2026 20:28:44 +0000 (21:28 +0100)] 
python: utils/modeling: fixed Literal bug for python 3.8

This fixes bug created in MR !1768 logging improvements.

3 months agoMerge !1800: CI: Migrate respdiff from shortlist dataset to ODVR-based dataset docs-master-mgcjyq/deployments/8458
Vladimír Čunát [Tue, 27 Jan 2026 08:43:04 +0000 (09:43 +0100)] 
Merge !1800: CI: Migrate respdiff from shortlist dataset to ODVR-based dataset

3 months agoci: disable respdiff diff-index guard
Hynek Šabacký [Mon, 26 Jan 2026 09:23:22 +0000 (10:23 +0100)] 
ci: disable respdiff diff-index guard

3 months agoci: run respdiff with a newer query dataset
Hynek Šabacký [Fri, 31 Oct 2025 09:30:29 +0000 (10:30 +0100)] 
ci: run respdiff with a newer query dataset

3 months agoMerge branch 'subprocess-command-decode' into 'master' docs-master-mgcjyq/deployments/8450 docs-master-mgcjyq/deployments/8454 docs-master-mgcjyq/deployments/8456 docs-nightly-t152d1/deployments/8455
Aleš Mrázek [Mon, 26 Jan 2026 14:32:50 +0000 (15:32 +0100)] 
Merge branch 'subprocess-command-decode' into 'master'

python: controller/interface.py: return full message if JSON load fails

See merge request knot/knot-resolver!1801

3 months agotests/packaging: tls_cert_watchdog.sh: added sleep for deletion/creation test docs-subprocess-c-nisp39/deployments/8449
Aleš Mrázek [Mon, 26 Jan 2026 13:47:20 +0000 (14:47 +0100)] 
tests/packaging: tls_cert_watchdog.sh: added sleep for deletion/creation test

3 months agopython: controller/interface.py: return full message if JSON load fails for Subproces... docs-subprocess-c-nisp39/deployments/8447
Aleš Mrázek [Mon, 26 Jan 2026 12:50:49 +0000 (13:50 +0100)] 
python: controller/interface.py: return full message if JSON load fails for Subprocess command result

3 months agoMerge !1798: python: manager/files: do not reload TLS certificate files if they do... docs-master-mgcjyq/deployments/8446
Vladimír Čunát [Mon, 26 Jan 2026 09:27:28 +0000 (10:27 +0100)] 
Merge !1798: python: manager/files: do not reload TLS certificate files if they do not exist

3 months agoRevert "tests/packaging/interactive: skip TLS certs watchdog tests"
Aleš Mrázek [Wed, 21 Jan 2026 23:07:15 +0000 (00:07 +0100)] 
Revert "tests/packaging/interactive: skip TLS certs watchdog tests"

This reverts commit 1c69b284fa270c49f2adad035f5050c7d8837278.

3 months agopython: manager/files: do not reload TLS certificate files if they do not exist
Aleš Mrázek [Wed, 21 Jan 2026 20:19:16 +0000 (21:19 +0100)] 
python: manager/files: do not reload TLS certificate files if they do not exist

This fixes a randomly occuring pkg test error mentioned in !1794.

3 months agoMerge !1797: daemon/io: handle failed session data initialization docs-master-mgcjyq/deployments/8444
Vladimír Čunát [Mon, 26 Jan 2026 08:36:51 +0000 (09:36 +0100)] 
Merge !1797: daemon/io: handle failed session data initialization

3 months agodaemon/io_create() nits docs-session-segv-qm4yug/deployments/8427
Vladimír Čunát [Thu, 22 Jan 2026 09:16:24 +0000 (10:16 +0100)] 
daemon/io_create() nits

3 months agodaemon/io_create(): move session2_new_io out of io_create() docs-session-segv-qm4yug/deployments/8413
Frantisek Tobias [Wed, 21 Jan 2026 12:47:18 +0000 (13:47 +0100)] 
daemon/io_create(): move session2_new_io out of io_create()

The motivation for this change is to unite the out parameter type to uv_handle_t

3 months agodaemon/session2/session2_transport_event(): remove kr_fails_assert
Frantisek Tobias [Tue, 20 Jan 2026 17:20:54 +0000 (18:20 +0100)] 
daemon/session2/session2_transport_event(): remove kr_fails_assert

When forwarding over DoT, an upstream that accepts a TCP connection
and immediately closes it triggers this assetion, because
the forwarder wasn't able to solve any waiting tasks.

3 months agodaemon/io: handle failed session data initialization
Frantisek Tobias [Tue, 20 Jan 2026 13:21:20 +0000 (14:21 +0100)] 
daemon/io: handle failed session data initialization

3 months agoMerge !1795: daemon/session: fix UDP answers without sendmmsg docs-master-mgcjyq/deployments/8403 docs-master-mgcjyq/deployments/8405 docs-master-mgcjyq/deployments/8407 docs-master-mgcjyq/deployments/8424 docs-master-mgcjyq/deployments/8426 docs-master-mgcjyq/deployments/8428 docs-master-mgcjyq/deployments/8430 docs-master-mgcjyq/deployments/8433 docs-master-mgcjyq/deployments/8435 docs-master-mgcjyq/deployments/8438 docs-master-mgcjyq/deployments/8440 docs-master-mgcjyq/deployments/8441 docs-master-mgcjyq/deployments/8443 docs-nightly-t152d1/deployments/8406 docs-nightly-t152d1/deployments/8425 docs-nightly-t152d1/deployments/8429 docs-nightly-t152d1/deployments/8434 docs-nightly-t152d1/deployments/8439 docs-nightly-t152d1/deployments/8442
Vladimír Čunát [Tue, 20 Jan 2026 21:57:53 +0000 (22:57 +0100)] 
Merge !1795: daemon/session: fix UDP answers without sendmmsg