]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
18 months agodistro/pkg/deb: depend on python3, not python3-all docs-develop-pkg-dm9rwp/deployments/3144
Jakub Ružička [Tue, 30 Jan 2024 14:03:20 +0000 (15:03 +0100)] 
distro/pkg/deb: depend on python3, not python3-all

This fixes build failures on Ubuntu 24.04 where python3.11
and python3.12 co-exist.

18 months agoMerge branch 'manager-stats-fixes' into '6.0' docs-develop-6-0-mvwoqi/deployments/3102
Aleš Mrázek [Fri, 26 Jan 2024 16:07:55 +0000 (17:07 +0100)] 
Merge branch 'manager-stats-fixes' into '6.0'

manager: fixes for metrics/stats

See merge request knot/knot-resolver!1492

18 months agomanager/kresd_controller/interface.py: register only kresd workers for metrics docs-develop-mana-e39nhp/deployments/3101
Aleš Mrázek [Fri, 26 Jan 2024 12:57:47 +0000 (13:57 +0100)] 
manager/kresd_controller/interface.py: register only kresd workers for metrics

18 months agomanager/statistics.py: instance_id fix
Aleš Mrázek [Fri, 26 Jan 2024 12:05:13 +0000 (13:05 +0100)] 
manager/statistics.py: instance_id fix

18 months agoMerge !1490: manager/tests/packaging: More verbose systemd_service tests docs-develop-6-0-mvwoqi/deployments/3068
Vladimír Čunát [Fri, 19 Jan 2024 12:58:04 +0000 (13:58 +0100)] 
Merge !1490: manager/tests/packaging: More verbose systemd_service tests

18 months agomanager/tests/packaging: More verbose systemd_service tests docs-develop-pkgt-xz1qhv/deployments/3062
Oto Šťáva [Thu, 18 Jan 2024 19:05:40 +0000 (20:05 +0100)] 
manager/tests/packaging: More verbose systemd_service tests

18 months agoMerge remote-tracking branch 'origin/master' into doc-logo-manual-colors-6 docs-develop-6-0-mvwoqi/deployments/3040 docs-develop-doc-440x4h/deployments/3039
Oto Šťáva [Mon, 15 Jan 2024 21:52:56 +0000 (22:52 +0100)] 
Merge remote-tracking branch 'origin/master' into doc-logo-manual-colors-6

18 months agoMerge branch 'doc-logo-manual-colors-5' into 'master' docs-develop-mast-tzgd0f/deployments/3038 docs-develop-mast-tzgd0f/deployments/3041 docs-develop-mast-tzgd0f/deployments/3044 docs-develop-mast-tzgd0f/deployments/3047 docs-develop-mast-tzgd0f/deployments/3050 docs-develop-mast-tzgd0f/deployments/3052 docs-develop-mast-tzgd0f/deployments/3055 docs-develop-mast-tzgd0f/deployments/3063 docs-develop-mast-tzgd0f/deployments/3067 docs-develop-mast-tzgd0f/deployments/3070 docs-develop-mast-tzgd0f/deployments/3073 docs-develop-mast-tzgd0f/deployments/3074 docs-develop-mast-tzgd0f/deployments/3077 docs-develop-mast-tzgd0f/deployments/3078 docs-develop-mast-tzgd0f/deployments/3081 docs-develop-mast-tzgd0f/deployments/3084 docs-develop-mast-tzgd0f/deployments/3087 docs-develop-mast-tzgd0f/deployments/3089 docs-develop-mast-tzgd0f/deployments/3092 docs-develop-mast-tzgd0f/deployments/3093 docs-develop-mast-tzgd0f/deployments/3096 docs-develop-mast-tzgd0f/deployments/3097 docs-develop-mast-tzgd0f/deployments/3100 docs-develop-mast-tzgd0f/deployments/3105 docs-develop-mast-tzgd0f/deployments/3108 docs-develop-mast-tzgd0f/deployments/3109 docs-develop-mast-tzgd0f/deployments/3112 docs-develop-mast-tzgd0f/deployments/3113 docs-develop-mast-tzgd0f/deployments/3116 docs-develop-mast-tzgd0f/deployments/3120 docs-develop-mast-tzgd0f/deployments/3123 docs-develop-mast-tzgd0f/deployments/3124 docs-develop-mast-tzgd0f/deployments/3127 docs-develop-mast-tzgd0f/deployments/3131 docs-develop-mast-tzgd0f/deployments/3134 docs-develop-mast-tzgd0f/deployments/3139 docs-develop-mast-tzgd0f/deployments/3142 docs-develop-mast-tzgd0f/deployments/3145 docs-develop-mast-tzgd0f/deployments/3148 docs-develop-mast-tzgd0f/deployments/3150 docs-develop-mast-tzgd0f/deployments/3153 docs-develop-mast-tzgd0f/deployments/3154 docs-develop-mast-tzgd0f/deployments/3157 docs-develop-mast-tzgd0f/deployments/3161 docs-develop-mast-tzgd0f/deployments/3164 docs-develop-nigh-589znp/deployments/3042 docs-develop-nigh-589znp/deployments/3048 docs-develop-nigh-589znp/deployments/3053 docs-develop-nigh-589znp/deployments/3064 docs-develop-nigh-589znp/deployments/3071 docs-develop-nigh-589znp/deployments/3075 docs-develop-nigh-589znp/deployments/3079 docs-develop-nigh-589znp/deployments/3085 docs-develop-nigh-589znp/deployments/3090 docs-develop-nigh-589znp/deployments/3094 docs-develop-nigh-589znp/deployments/3098 docs-develop-nigh-589znp/deployments/3106 docs-develop-nigh-589znp/deployments/3110 docs-develop-nigh-589znp/deployments/3114 docs-develop-nigh-589znp/deployments/3121 docs-develop-nigh-589znp/deployments/3125 docs-develop-nigh-589znp/deployments/3132 docs-develop-nigh-589znp/deployments/3140 docs-develop-nigh-589znp/deployments/3146 docs-develop-nigh-589znp/deployments/3151 docs-develop-nigh-589znp/deployments/3155 docs-develop-nigh-589znp/deployments/3162
Oto Šťáva [Mon, 15 Jan 2024 20:57:35 +0000 (21:57 +0100)] 
Merge branch 'doc-logo-manual-colors-5' into 'master'

doc: adjust colors according to the logo manual

See merge request knot/knot-resolver!1489

18 months agodoc: adjust colors according to the logo manual docs-develop-doc-c5x6fl/deployments/3037
Oto Šťáva [Mon, 15 Jan 2024 19:11:13 +0000 (20:11 +0100)] 
doc: adjust colors according to the logo manual

18 months agoMerge !1481: meson.build: install and search directories adjustments docs-develop-6-0-mvwoqi/deployments/3031
Vladimír Čunát [Mon, 15 Jan 2024 14:00:16 +0000 (15:00 +0100)] 
Merge !1481: meson.build: install and search directories adjustments

18 months agoNEWS: add a line about run_dir docs-develop-kori-x47s8r/deployments/3030
Vladimír Čunát [Mon, 15 Jan 2024 13:41:02 +0000 (14:41 +0100)] 
NEWS: add a line about run_dir

18 months agomeson.build: conditional branching on run_dir
Oto Šťáva [Fri, 5 Jan 2024 16:54:41 +0000 (17:54 +0100)] 
meson.build: conditional branching on run_dir

This should, to the best of our knowledge, give us the correct run_dir
on Linux, macOS and BSDs.

18 months agomeson.build: make /run dir relative to install prefix
Kirill A. Korinsky [Fri, 5 Jan 2024 15:38:01 +0000 (16:38 +0100)] 
meson.build: make /run dir relative to install prefix

18 months agomeson.build: respect pkgconfig libdir
Kirill A. Korinsky [Fri, 5 Jan 2024 14:48:29 +0000 (15:48 +0100)] 
meson.build: respect pkgconfig libdir

18 months agoMerge remote-tracking branch 'origin/master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3029
Oto Šťáva [Mon, 15 Jan 2024 09:57:05 +0000 (10:57 +0100)] 
Merge remote-tracking branch 'origin/master' into 6.0

18 months agoMerge branch 'sonarcloud-5-update' into 'master' docs-develop-mast-tzgd0f/deployments/3028
Oto Šťáva [Mon, 15 Jan 2024 09:54:55 +0000 (10:54 +0100)] 
Merge branch 'sonarcloud-5-update' into 'master'

ci/images/debian-11: update sonarcloud to version 5

See merge request knot/knot-resolver!1488

18 months agoci/images/debian-11: update sonarcloud to version 5 docs-develop-sona-zdh3hi/deployments/3027
Oto Šťáva [Mon, 15 Jan 2024 09:38:12 +0000 (10:38 +0100)] 
ci/images/debian-11: update sonarcloud to version 5

Old version caused failures due to unsupported Java version 11.

18 months agoMerge !1487: Update links to documentation docs-develop-6-0-mvwoqi/deployments/3022
Vladimír Čunát [Sun, 14 Jan 2024 08:46:37 +0000 (09:46 +0100)] 
Merge !1487: Update links to documentation

18 months agoUpdate links to documentation docs-develop-docs-6odbsx/deployments/3013
Oto Šťáva [Fri, 12 Jan 2024 15:21:31 +0000 (16:21 +0100)] 
Update links to documentation

Replaces all mentions of `knot-resolver.readthedocs.io` with
`www.knot-resolver.cz/documentation/latest`.

Some of the links used to point to the `latest` documentation, which
meant the latest `master` commit, but the current system does not really
allow us to do this, so instead we link to the latest stable (which is
what `www.knot-resolver.cz/documentation/latest` basically is).

We also cannot reliably get the documentation for a particular version
in the code, so it all just points to `latest` as well. This may change
in the future, although I do not yet have a good approach in mind
(particularly, I don't want to bother our admins with nginx
configuration updates for each newly released version).

18 months agoMerge !1486: doc/requirements.txt: add sphinx_rtd_theme docs-develop-mast-tzgd0f/deployments/3002 docs-develop-mast-tzgd0f/deployments/3005 docs-develop-mast-tzgd0f/deployments/3008 docs-develop-mast-tzgd0f/deployments/3009 docs-develop-mast-tzgd0f/deployments/3012 docs-develop-mast-tzgd0f/deployments/3014 docs-develop-mast-tzgd0f/deployments/3017 docs-develop-mast-tzgd0f/deployments/3018 docs-develop-mast-tzgd0f/deployments/3021 docs-develop-mast-tzgd0f/deployments/3023 docs-develop-mast-tzgd0f/deployments/3026 docs-develop-nigh-589znp/deployments/3006 docs-develop-nigh-589znp/deployments/3010 docs-develop-nigh-589znp/deployments/3015 docs-develop-nigh-589znp/deployments/3019 docs-develop-nigh-589znp/deployments/3024 docs-develop-stab-lrl9qw/deployments/3004
Vladimír Čunát [Wed, 10 Jan 2024 16:23:12 +0000 (17:23 +0100)] 
Merge !1486: doc/requirements.txt: add sphinx_rtd_theme

18 months agodoc/requirements.txt: add sphinx_rtd_theme docs-develop-5-x-p0xmsm/deployments/3001
Oto Šťáva [Wed, 10 Jan 2024 15:39:52 +0000 (16:39 +0100)] 
doc/requirements.txt: add sphinx_rtd_theme

This should fix the ReadTheDocs build

18 months agoMerge branch 'master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3000 docs-develop-tmp-wti7ta/deployments/2999
Oto Šťáva [Wed, 10 Jan 2024 15:19:55 +0000 (16:19 +0100)] 
Merge branch 'master' into 6.0

18 months agoMerge branch 'docs-pages-5-backport' into 'master' docs-develop-mast-tzgd0f/deployments/2998
Oto Šťáva [Wed, 10 Jan 2024 15:12:09 +0000 (16:12 +0100)] 
Merge branch 'docs-pages-5-backport' into 'master'

Backport hosting docs in GitLab Pages into 5.x

See merge request knot/knot-resolver!1485

18 months ago.gitlab-ci: remove the `pages` job for 5.x docs-develop-docs-05qey4/deployments/2997
Oto Šťáva [Wed, 10 Jan 2024 15:04:14 +0000 (16:04 +0100)] 
.gitlab-ci: remove the `pages` job for 5.x

18 months agodoc/conf.py: jquery workaround docs-develop-docs-05qey4/deployments/2996
Oto Šťáva [Wed, 10 Jan 2024 14:18:57 +0000 (15:18 +0100)] 
doc/conf.py: jquery workaround

18 months ago.gitlab-ci: upgrade pip packages docs-develop-docs-05qey4/deployments/2995
Oto Šťáva [Wed, 10 Jan 2024 14:05:24 +0000 (15:05 +0100)] 
.gitlab-ci: upgrade pip packages

18 months agoscripts/make-doc.sh: backport changes from 6.0 docs-develop-docs-05qey4/deployments/2994
Oto Šťáva [Wed, 10 Jan 2024 13:49:11 +0000 (14:49 +0100)] 
scripts/make-doc.sh: backport changes from 6.0

18 months agoMerge branch 'doc-monitoring-stats' into '6.0' docs-develop-6-0-mvwoqi/deployments/2993
Aleš Mrázek [Wed, 10 Jan 2024 12:55:43 +0000 (13:55 +0100)] 
Merge branch 'doc-monitoring-stats' into '6.0'

doc: update statistics collection using yaml config

See merge request knot/knot-resolver!1482

18 months agodoc/config-monitoring-stats.rst: update stats config with yaml docs-develop-doc-nsknts/deployments/2992
Aleš Mrázek [Mon, 8 Jan 2024 16:30:21 +0000 (17:30 +0100)] 
doc/config-monitoring-stats.rst: update stats config with yaml

18 months ago.gitlab-ci: remove old 'doc' target docs-develop-docs-05qey4/deployments/2991
Oto Šťáva [Wed, 10 Jan 2024 11:30:16 +0000 (12:30 +0100)] 
.gitlab-ci: remove old 'doc' target

18 months ago.gitlab-ci: fix Pages publishing docs-develop-docs-05qey4/deployments/2983
Oto Šťáva [Tue, 12 Sep 2023 12:27:09 +0000 (14:27 +0200)] 
.gitlab-ci: fix Pages publishing

This commit renames `docs:public` to `pages` as required by GitLab CI to
recognize Pages jobs correctly. It also adds the `public` directory into
`artifacts:paths`.

18 months ago.gitlab-ci.yml: use environments for documentation versioning
Oto Šťáva [Tue, 29 Aug 2023 08:38:13 +0000 (10:38 +0200)] 
.gitlab-ci.yml: use environments for documentation versioning

This leverages Environments on GitLab to expose different versions of
Knot Resolver docs. The `docs:build` job builds the documentation and
exposes it via job artifacts. Then `docs:develop` (for branches) and
`docs:release` (for tags) take these artifacts and expose them via an
Environment link (an example of this in action may be seen at
[https://gitlab.nic.cz/ostava/knot-resolver/-/environments]).

There is also an optional, manually runnable `docs:public` job, which,
when run, propagates the documentation to the main GitLab Pages of the
project (e.g. [https://knot.pages.nic.cz/knot-resolver]) - this will
probably be mostly used for the latest release, although this setup
pretty much allows us to swap it for whatever version we like at any
time.

18 months agoMerge branch 'doc-dev' into '6.0' docs-develop-6-0-mvwoqi/deployments/2982
Oto Šťáva [Tue, 9 Jan 2024 15:53:37 +0000 (16:53 +0100)] 
Merge branch 'doc-dev' into '6.0'

Documentation improvements - doc-dev directory; release notes shortening

See merge request knot/knot-resolver!1484

18 months agodoc/NEWS: exclude LTS versions from release notes docs-develop-doc-8yedko/deployments/2981
Oto Šťáva [Tue, 9 Jan 2024 15:31:31 +0000 (16:31 +0100)] 
doc/NEWS: exclude LTS versions from release notes

18 months agodoc-dev: create directory for developer documentation
Oto Šťáva [Tue, 9 Jan 2024 15:31:04 +0000 (16:31 +0100)] 
doc-dev: create directory for developer documentation

18 months agoMerge branch 'release-6.0.5' into '6.0' docs-develop-6-0-mvwoqi/deployments/2977 docs-release-v6-0-ac3t0k/deployments/2979 v6.0.5
Jakub Ružička [Tue, 9 Jan 2024 13:27:14 +0000 (14:27 +0100)] 
Merge branch 'release-6.0.5' into '6.0'

Release 6.0.5

See merge request knot/knot-resolver!1483

18 months agodoc nit: fix a broken link docs-develop-rele-qb6wtt/deployments/2975
Vladimír Čunát [Tue, 9 Jan 2024 11:34:50 +0000 (12:34 +0100)] 
doc nit: fix a broken link

18 months agoscripts/update-authors.sh nit: avoid confusing changes in ordering docs-develop-rele-qb6wtt/deployments/2974
Vladimír Čunát [Tue, 9 Jan 2024 07:38:24 +0000 (08:38 +0100)] 
scripts/update-authors.sh nit: avoid confusing changes in ordering

18 months agoRelease 6.0.5 docs-develop-rele-qb6wtt/deployments/2973
Jakub Ružička [Mon, 8 Jan 2024 18:18:28 +0000 (19:18 +0100)] 
Release 6.0.5

18 months agoAUTHORS: regenerate
Vladimír Čunát [Tue, 9 Jan 2024 07:22:52 +0000 (08:22 +0100)] 
AUTHORS: regenerate

18 months agoMerge branch 'master' into 6.0 docs-develop-6-0-mvwoqi/deployments/2970
Vladimír Čunát [Tue, 9 Jan 2024 07:18:46 +0000 (08:18 +0100)] 
Merge branch 'master' into 6.0

18 months agodoc/manager-client: fix a copy&paste typo docs-develop-6-0-mvwoqi/deployments/2965 docs-develop-tmp-msxnh7/deployments/2964
Vladimír Čunát [Mon, 8 Jan 2024 09:47:21 +0000 (10:47 +0100)] 
doc/manager-client: fix a copy&paste typo

19 months agodoc/gettingstarted-config: change `rules/type` to `rules/subtree` docs-develop-6-0-mvwoqi/deployments/2949 docs-develop-doc-a3dp14/deployments/2947
Oto Šťáva [Thu, 28 Dec 2023 14:54:09 +0000 (15:54 +0100)] 
doc/gettingstarted-config: change `rules/type` to `rules/subtree`

This has been renamed at one point in the code, but missed in the
getting started guide.

19 months agodaemon/io: close LMDB txns after control socket commands docs-develop-6-0-mvwoqi/deployments/2931
Vladimír Čunát [Tue, 12 Dec 2023 09:32:30 +0000 (10:32 +0100)] 
daemon/io: close LMDB txns after control socket commands

There's the issue that during config-file loading we prefer to do all
changes in rule DB inside a single transaction, so the normal commands
do not close them.  However with control socket commands we can't afford
to leave transactions open (unclear for how long), especially RW transactions.

19 months agoMerge branch 'ci-arch' into '6.0' docs-develop-6-0-mvwoqi/deployments/2927
Oto Šťáva [Mon, 11 Dec 2023 10:35:23 +0000 (11:35 +0100)] 
Merge branch 'ci-arch' into '6.0'

CI: add pkg:arch job for Arch linux

See merge request knot/knot-resolver!1474

19 months ago.gitlab-ci: pkg:arch: update repos before test docs-develop-ci-a-0lthab/deployments/2926 docs-develop-ci-a-1dx3vh/deployments/2925
Oto Šťáva [Mon, 11 Dec 2023 10:16:06 +0000 (11:16 +0100)] 
.gitlab-ci: pkg:arch: update repos before test

19 months agoCI: add pkg:arch job for Arch linux docs-develop-ci-a-0lthab/deployments/2921
Jakub Ružička [Thu, 16 Nov 2023 14:06:02 +0000 (15:06 +0100)] 
CI: add pkg:arch job for Arch linux

makepkg refuses to run as root so we need to run

    apkg build

as a non-root user.

19 months agoMerge branch 'ci-pkg-update' into '6.0' docs-develop-6-0-mvwoqi/deployments/2919
Oto Šťáva [Fri, 8 Dec 2023 15:22:18 +0000 (16:22 +0100)] 
Merge branch 'ci-pkg-update' into '6.0'

ci: add pkg:ubuntu-24.04 job, bump pkg:fedora jobs to latest (39, 38)

See merge request knot/knot-resolver!1479

19 months agoci: bump pkg:fedora jobs to 39, 38 docs-develop-ci-p-f4tjqc/deployments/2918
Jakub Ružička [Fri, 8 Dec 2023 15:10:15 +0000 (16:10 +0100)] 
ci: bump pkg:fedora jobs to 39, 38

19 months agoci: add pkg:ubuntu-24.04 job
Jakub Ružička [Fri, 8 Dec 2023 15:08:07 +0000 (16:08 +0100)] 
ci: add pkg:ubuntu-24.04 job

20 months agoMerge !1478: etc/root.hints: B.root-servers.net updated addresses
Vladimír Čunát [Tue, 28 Nov 2023 14:32:06 +0000 (15:32 +0100)] 
Merge !1478: etc/root.hints: B.root-servers.net updated addresses

20 months agoetc/root.hints: B.root-servers.net updated addresses
Vladimír Čunát [Tue, 28 Nov 2023 13:44:55 +0000 (14:44 +0100)] 
etc/root.hints: B.root-servers.net updated addresses

Officially yesterday, but there's long overlap when both address pairs
are promised to work.  See e.g. this e-mail thread:
https://lists.dns-oarc.net/pipermail/dns-operations/2023-June/022052.html

20 months agoMerge !1477: datamodel: sync the whole list logging groups docs-develop-6-0-mvwoqi/deployments/2904
Vladimír Čunát [Sun, 26 Nov 2023 07:55:09 +0000 (08:55 +0100)] 
Merge !1477: datamodel: sync the whole list logging groups

20 months agoscripts/codecheck: flake8: ignore E266, W504
Aleš Mrázek [Fri, 24 Nov 2023 10:28:53 +0000 (11:28 +0100)] 
scripts/codecheck: flake8: ignore E266, W504

20 months agodatamodel: sync the whole list logging groups
Vladimír Čunát [Thu, 23 Nov 2023 11:02:58 +0000 (12:02 +0100)] 
datamodel: sync the whole list logging groups

Now that manager is integrated into kresd,
I expect these will naturally keep it in sync.

20 months agoMerge !1462: systemd unit: log via syslog API instead of stdout
Vladimír Čunát [Sun, 26 Nov 2023 07:54:03 +0000 (08:54 +0100)] 
Merge !1462: systemd unit: log via syslog API instead of stdout

20 months agosystemd unit: log via syslog API instead of stdout
Vladimír Čunát [Tue, 3 Oct 2023 08:46:06 +0000 (10:46 +0200)] 
systemd unit: log via syslog API instead of stdout

It's promised in docs already.  The extra metadata can be useful.

20 months agoMerge !1464: doc/config-* nits, mainly begin topics with typical examples docs-develop-6-0-mvwoqi/deployments/2902
Vladimír Čunát [Sun, 26 Nov 2023 07:50:50 +0000 (08:50 +0100)] 
Merge !1464: doc/config-* nits, mainly begin topics with typical examples

20 months agodoc/config-logging-monitoring: begin with typical examples
Vladimír Čunát [Tue, 3 Oct 2023 11:23:55 +0000 (13:23 +0200)] 
doc/config-logging-monitoring: begin with typical examples

Also improve text around the remnants of verbose() command.

20 months agodoc/config-network-server: move warning to more relevant place
Vladimír Čunát [Tue, 3 Oct 2023 11:06:31 +0000 (13:06 +0200)] 
doc/config-network-server: move warning to more relevant place

20 months agodoc/config-network-server: begin with typical examples
Vladimír Čunát [Tue, 3 Oct 2023 11:04:47 +0000 (13:04 +0200)] 
doc/config-network-server: begin with typical examples

Spacing around brackets seems more common in our examples.

20 months agodoc/config-local-data: begin with typical examples
Vladimír Čunát [Tue, 3 Oct 2023 08:16:42 +0000 (10:16 +0200)] 
doc/config-local-data: begin with typical examples

This doc page is relatively complex and it will only get longer
in future, but I expect that 90% of users will be OK with just
these simple examples.

20 months agoMerge !1472: ci/images/debian-12: add Debian 12 CI image for future use
Vladimír Čunát [Sun, 26 Nov 2023 07:49:28 +0000 (08:49 +0100)] 
Merge !1472: ci/images/debian-12: add Debian 12 CI image for future use

20 months agoci/images/debian-12: add Debian 12 CI image for future use
Oto Šťáva [Tue, 14 Nov 2023 09:16:52 +0000 (10:16 +0100)] 
ci/images/debian-12: add Debian 12 CI image for future use

Right now, I will need to use it for DNS Shotgun because Debian 11 had
GnuTLS too old for QUIC.

20 months agoMerge !1476: Update Arch Linux package URL in README.md docs-develop-6-0-mvwoqi/deployments/2886
Vladimír Čunát [Wed, 22 Nov 2023 10:41:11 +0000 (11:41 +0100)] 
Merge !1476: Update Arch Linux package URL in README.md

20 months agoUpdate Arch Linux package URL in README.md docs-develop-feli-3u3lz1/deployments/2885
Felix Yan [Tue, 21 Nov 2023 14:25:07 +0000 (16:25 +0200)] 
Update Arch Linux package URL in README.md

The old URL returns 404 now.

20 months agoci/images/README.md: note about updating the Coverity Scan image docs-develop-6-0-mvwoqi/deployments/2882 docs-develop-ci-c-tuuvy4/deployments/2881
Oto Šťáva [Mon, 20 Nov 2023 09:29:44 +0000 (10:29 +0100)] 
ci/images/README.md: note about updating the Coverity Scan image

20 months agoMerge branch 'fix-pkg-arch' into '6.0' docs-develop-6-0-mvwoqi/deployments/2872 docs-develop-ci-a-0lthab/deployments/2875
Jakub Ružička [Tue, 14 Nov 2023 17:09:08 +0000 (18:09 +0100)] 
Merge branch 'fix-pkg-arch' into '6.0'

distro/pkg/arch: fix archlinux package to include manager

See merge request knot/knot-resolver!1473

20 months agodistro/pkg/arch: fix archlinux package to include manager docs-develop-fix-9pv3f3/deployments/2870
Lukáš Ondráček [Mon, 13 Nov 2023 15:58:48 +0000 (16:58 +0100)] 
distro/pkg/arch: fix archlinux package to include manager

20 months agoNEWS: visually separate the break in chronological order docs-develop-6-0-mvwoqi/deployments/2863
Vladimír Čunát [Mon, 6 Nov 2023 18:38:48 +0000 (19:38 +0100)] 
NEWS: visually separate the break in chronological order

The future 5.x releases will break the chronology we had so far.
And it seems useful to keep all NEWS in the future master/main branch.

20 months agoMerge branch 'logging-zonecut-typo' into '6.0' docs-develop-6-0-mvwoqi/deployments/2860
Oto Šťáva [Tue, 7 Nov 2023 14:05:40 +0000 (15:05 +0100)] 
Merge branch 'logging-zonecut-typo' into '6.0'

datamodel: logging: fix typo in 'zoncut' log group

See merge request knot/knot-resolver!1469

20 months agodatamodel: logging: fix typo in 'zoncut' log group docs-develop-logg-kksq33/deployments/2859
Oto Šťáva [Fri, 3 Nov 2023 07:42:00 +0000 (08:42 +0100)] 
datamodel: logging: fix typo in 'zoncut' log group

The log group is abbreviated in kresd - the actual word is `zonecut`,
but the log group is actually called `zoncut`, which the unfixed
datamodel would not let through.

20 months agoMerge branch 'ci-manager-remove-py3.7' into '6.0' docs-develop-6-0-mvwoqi/deployments/2858
Oto Šťáva [Tue, 7 Nov 2023 13:52:44 +0000 (14:52 +0100)] 
Merge branch 'ci-manager-remove-py3.7' into '6.0'

ci: manager: python3.7 unit tests removed

See merge request knot/knot-resolver!1471

20 months agoci/images/manage: python3.12 and pipx added docs-develop-ci-m-b9by83/deployments/2857
Aleš Mrázek [Mon, 6 Nov 2023 11:03:50 +0000 (12:03 +0100)] 
ci/images/manage: python3.12 and pipx added

20 months agomanager/.gitlab-ci.yml: unit:py3.7 tests removed
Aleš Mrázek [Mon, 6 Nov 2023 09:56:15 +0000 (10:56 +0100)] 
manager/.gitlab-ci.yml: unit:py3.7 tests removed

21 months agoMerge branch 'master' into 6.0 docs-develop-6-0-mvwoqi/deployments/2851
Vladimír Čunát [Mon, 6 Nov 2023 18:37:09 +0000 (19:37 +0100)] 
Merge branch 'master' into 6.0

21 months agoMerge !1470: lib/zonecut.c fetch_addr(): resurrect filtering by NO_IPV* obs-knot-resolver-es11k1/deployments/2853 obs-knot-resolver-es11k1/deployments/2861 obs-knot-resolver-es11k1/deployments/2862
Vladimír Čunát [Mon, 6 Nov 2023 09:41:59 +0000 (10:41 +0100)] 
Merge !1470: lib/zonecut.c fetch_addr(): resurrect filtering by NO_IPV*

21 months agolib/zonecut.c fetch_addr(): resurrect filtering by NO_IPV*
Vladimír Čunát [Fri, 3 Nov 2023 11:31:06 +0000 (12:31 +0100)] 
lib/zonecut.c fetch_addr(): resurrect filtering by NO_IPV*

This filtering was dropped in 4565cc596680 (v5.3.0).
Now it's reintroduced - but inside the function, as that seems nicer.
Nit: naming and comment were updated to fit the current usage.

As the code is designed so far (in whole history probably), in order
to detect whether we need to choose a zone cut closer to the root,
we need to do something like this in lib/zonecut.c already,
instead of just during server selection.

I don't think this change can break anything.
Fetching unusable addresses from cache seems pointless,
as selection wouldn't be allowed to use them or try resolving them.

21 months agoMerge branch 'news-5.7.0' into 'master' obs-knot-resolver-es11k1/deployments/2834 obs-knot-resolver-es11k1/deployments/2835 obs-knot-resolver-es11k1/deployments/2836 obs-knot-resolver-es11k1/deployments/2837 obs-knot-resolver-es11k1/deployments/2838 obs-knot-resolver-es11k1/deployments/2839 obs-knot-resolver-es11k1/deployments/2840 obs-knot-resolver-es11k1/deployments/2841 obs-knot-resolver-es11k1/deployments/2845 obs-knot-resolver-es11k1/deployments/2846 obs-knot-resolver-es11k1/deployments/2847
Oto Šťáva [Fri, 27 Oct 2023 14:05:10 +0000 (16:05 +0200)] 
Merge branch 'news-5.7.0' into 'master'

NEWS: improve the security entry in 5.7.0

See merge request knot/knot-resolver!1468

21 months agoNEWS: improve the security entry in 5.7.0
Vladimír Čunát [Mon, 23 Oct 2023 06:40:17 +0000 (08:40 +0200)] 
NEWS: improve the security entry in 5.7.0

21 months agoMerge !1463: ci macOS: update Knot DNS obs-knot-resolver-es11k1/deployments/2829 obs-knot-resolver-es11k1/deployments/2830 obs-knot-resolver-es11k1/deployments/2832 obs-knot-resolver-es11k1/deployments/2833
Vladimír Čunát [Mon, 23 Oct 2023 06:44:11 +0000 (08:44 +0200)] 
Merge !1463: ci macOS: update Knot DNS

21 months agoMerge !1467: doc/upgrading-to-6: nits docs-develop-6-0-mvwoqi/deployments/2815
Vladimír Čunát [Thu, 12 Oct 2023 09:43:18 +0000 (11:43 +0200)] 
Merge !1467: doc/upgrading-to-6: nits

22 months agodoc/upgrading-to-6: nits docs-develop-doc-pxoxus/deployments/2804
Oto Šťáva [Thu, 5 Oct 2023 15:08:45 +0000 (17:08 +0200)] 
doc/upgrading-to-6: nits

22 months agoMerge branch 'doc-upgrading-to-6' into '6.0' docs-develop-6-0-mvwoqi/deployments/2803
Aleš Mrázek [Thu, 5 Oct 2023 14:57:43 +0000 (16:57 +0200)] 
Merge branch 'doc-upgrading-to-6' into '6.0'

doc: upgrading guide to version 6

See merge request knot/knot-resolver!1466

22 months agodoc/upgrading.rst: better reference upgrading-to-6 docs-develop-doc-d160o2/deployments/2802
Aleš Mrázek [Wed, 20 Sep 2023 13:21:41 +0000 (15:21 +0200)] 
doc/upgrading.rst: better reference upgrading-to-6

22 months agodoc/upgrading-to-6.rst: guide improvements
Aleš Mrázek [Wed, 20 Sep 2023 13:19:48 +0000 (15:19 +0200)] 
doc/upgrading-to-6.rst: guide improvements

Lua config moved to developers chapter as internal Lua config.

22 months agoMerge !1465: Release 6.0.4 docs-develop-6-0-mvwoqi/deployments/2793 docs-release-v6-0-jq63jf/deployments/2795 v6.0.4
Vladimír Čunát [Thu, 5 Oct 2023 12:42:59 +0000 (14:42 +0200)] 
Merge !1465: Release 6.0.4

22 months agoAUTHORS + .mailmap update docs-develop-rele-pg0ipw/deployments/2792
Vladimír Čunát [Thu, 5 Oct 2023 10:55:36 +0000 (12:55 +0200)] 
AUTHORS + .mailmap update

22 months agoRelease 6.0.4, including NEWS this time docs-develop-rele-pg0ipw/deployments/2791
Vladimír Čunát [Thu, 5 Oct 2023 10:45:08 +0000 (12:45 +0200)] 
Release 6.0.4, including NEWS this time

22 months agoNEWS: fixup merge-conflict resolution
Vladimír Čunát [Thu, 5 Oct 2023 10:35:15 +0000 (12:35 +0200)] 
NEWS: fixup merge-conflict resolution

22 months agoMerge !1459: allow multiple rules on the same name or subnet docs-develop-6-0-mvwoqi/deployments/2790
Vladimír Čunát [Thu, 5 Oct 2023 10:31:49 +0000 (12:31 +0200)] 
Merge !1459: allow multiple rules on the same name or subnet

22 months ago/views docs: rewrite again, mostly docs-develop-rule-3ax554/deployments/2789
Vladimír Čunát [Sat, 23 Sep 2023 15:45:33 +0000 (17:45 +0200)] 
/views docs: rewrite again, mostly

- move typical simple examples near the top
- document the two new conditions
- reorganize the text: split conditions and actions
- other minor changes

22 months agotests: fix config.hints after view changes
Vladimír Čunát [Fri, 22 Sep 2023 08:16:21 +0000 (10:16 +0200)] 
tests: fix config.hints after view changes

It seems such an edge case that I chose to avoid the issue this way.

22 months ago/views/*/options: fix when used with e.g. tags
Vladimír Čunát [Thu, 21 Sep 2023 12:51:42 +0000 (14:51 +0200)] 
/views/*/options: fix when used with e.g. tags

The issue is not now; it has always been broken in 6.x.
The model is that at most one view applies on any request.
If we need to do more things, they must happen as one meta-action.

test_view_insert_action(): dropped; can't see a suitable replacement

22 months ago/views/*/{dst_subnet,protocols}: add, both backend+config
Vladimír Čunát [Sun, 3 Sep 2023 15:33:39 +0000 (17:33 +0200)] 
/views/*/{dst_subnet,protocols}: add, both backend+config

Examples:
 - tagging based on dst_subnet is useful for providing different
   filtering setting on different resolver addresses
 - tagging based on protocols is useful to signal used transport
   (change in DNS data that can be read by the final app)

(docs added in a later commit)

22 months agoWIP lib/rules: consider multiple tags variants when answering
Vladimír Čunát [Fri, 1 Sep 2023 08:36:26 +0000 (10:36 +0200)] 
WIP lib/rules: consider multiple tags variants when answering

22 months agolib/cache/cdb_*: add API for iteration with MDB_DUPSORT
Vladimír Čunát [Fri, 1 Sep 2023 08:35:09 +0000 (10:35 +0200)] 
lib/cache/cdb_*: add API for iteration with MDB_DUPSORT

22 months agoMDB_DUPSORT for rules
Vladimír Čunát [Mon, 28 Aug 2023 09:10:53 +0000 (11:10 +0200)] 
MDB_DUPSORT for rules

This doesn't yet search among the multiple values.
The rules/api parts that write rules were adapted or commented on.

22 months agolib/rules: avoid using preallocated LMDB writes
Vladimír Čunát [Mon, 28 Aug 2023 08:32:08 +0000 (10:32 +0200)] 
lib/rules: avoid using preallocated LMDB writes

They're a bit more efficient, but they can't work with LMDB multi-sets.
Also, write performance of rules isn't that important and typically
each rule is quite tiny anyway.

22 months agoci macOS: wait on *both* builds
Vladimír Čunát [Tue, 3 Oct 2023 09:26:48 +0000 (11:26 +0200)] 
ci macOS: wait on *both* builds

At least I hope this will work as expected.