]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
20 months agodoc/dev: new page for cache records prefetch
Aleš Mrázek [Wed, 17 Apr 2024 13:56:27 +0000 (15:56 +0200)] 
doc/dev: new page for cache records prefetch

20 months agomodules: prefetch: new module for prefetching expiring records
Aleš Mrázek [Wed, 17 Apr 2024 13:55:02 +0000 (15:55 +0200)] 
modules: prefetch: new module for prefetching expiring records

20 months agomodules: predict: prefetching expired records has been removed
Aleš Mrázek [Wed, 17 Apr 2024 13:41:52 +0000 (15:41 +0200)] 
modules: predict: prefetching expired records has been removed

20 months agodatamodel: cache: prefetch for expiring record is separated from prediction
Aleš Mrázek [Thu, 11 Apr 2024 13:54:25 +0000 (15:54 +0200)] 
datamodel: cache: prefetch for expiring record is separated from prediction

20 months agorrl nit: factor out using_avx() docs-develop-rrl-8r8r8r/deployments/3850
Vladimír Čunát [Sat, 20 Apr 2024 08:01:46 +0000 (10:01 +0200)] 
rrl nit: factor out using_avx()

20 months agofixup! rrl: improve error messages
Vladimír Čunát [Sat, 20 Apr 2024 07:55:32 +0000 (09:55 +0200)] 
fixup! rrl: improve error messages

20 months agofixup! rrl: modify KRU api to return maximum final load value docs-develop-rrl-8r8r8r/deployments/3849
Vladimír Čunát [Sat, 20 Apr 2024 07:16:29 +0000 (09:16 +0200)] 
fixup! rrl: modify KRU api to return maximum final load value

- reordering saves 8 bytes per struct (on typical 64-bit platforms)
- don't assume that *max_load_out is initialized reasonably
  (the doc-comment doesn't suggest that it's needed)

20 months agoMerge remote-tracking branch 'origin/master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3800 docs-develop-tmp-wti7ta/deployments/3799
Oto Šťáva [Tue, 16 Apr 2024 13:40:04 +0000 (15:40 +0200)] 
Merge remote-tracking branch 'origin/master' into 6.0

20 months agoMerge branch 'website-push-docs' into 'master' docs-develop-mast-tzgd0f/deployments/3798 docs-develop-mast-tzgd0f/deployments/3812 docs-develop-mast-tzgd0f/deployments/3815 docs-develop-mast-tzgd0f/deployments/3830 docs-develop-mast-tzgd0f/deployments/3833 docs-develop-mast-tzgd0f/deployments/3845 docs-develop-mast-tzgd0f/deployments/3848 docs-develop-mast-tzgd0f/deployments/3851 docs-develop-mast-tzgd0f/deployments/3854 docs-develop-mast-tzgd0f/deployments/3855 docs-develop-mast-tzgd0f/deployments/3858 docs-develop-mast-tzgd0f/deployments/3863 docs-develop-mast-tzgd0f/deployments/3866 docs-develop-mast-tzgd0f/deployments/3871 docs-develop-mast-tzgd0f/deployments/3874 docs-develop-mast-tzgd0f/deployments/3880 docs-develop-mast-tzgd0f/deployments/3883 docs-develop-mast-tzgd0f/deployments/3897 docs-develop-mast-tzgd0f/deployments/3900 docs-develop-mast-tzgd0f/deployments/3905 docs-develop-mast-tzgd0f/deployments/3908 docs-develop-mast-tzgd0f/deployments/3909 docs-develop-mast-tzgd0f/deployments/3912 docs-develop-mast-tzgd0f/deployments/3913 docs-develop-mast-tzgd0f/deployments/3916 docs-develop-mast-tzgd0f/deployments/3925 docs-develop-mast-tzgd0f/deployments/3928 docs-develop-mast-tzgd0f/deployments/3944 docs-develop-mast-tzgd0f/deployments/3947 docs-develop-mast-tzgd0f/deployments/3951 docs-develop-mast-tzgd0f/deployments/3954 docs-develop-nigh-589znp/deployments/3813 docs-develop-nigh-589znp/deployments/3831 docs-develop-nigh-589znp/deployments/3846 docs-develop-nigh-589znp/deployments/3852 docs-develop-nigh-589znp/deployments/3856 docs-develop-nigh-589znp/deployments/3864 docs-develop-nigh-589znp/deployments/3872 docs-develop-nigh-589znp/deployments/3881 docs-develop-nigh-589znp/deployments/3898 docs-develop-nigh-589znp/deployments/3906 docs-develop-nigh-589znp/deployments/3910 docs-develop-nigh-589znp/deployments/3914 docs-develop-nigh-589znp/deployments/3926 docs-develop-nigh-589znp/deployments/3945 docs-develop-nigh-589znp/deployments/3952 obs-knot-resolver-es11k1/deployments/3803 obs-knot-resolver-es11k1/deployments/3814 obs-knot-resolver-es11k1/deployments/3832 obs-knot-resolver-es11k1/deployments/3847 obs-knot-resolver-es11k1/deployments/3853 obs-knot-resolver-es11k1/deployments/3857 obs-knot-resolver-es11k1/deployments/3865 obs-knot-resolver-es11k1/deployments/3873 obs-knot-resolver-es11k1/deployments/3882 obs-knot-resolver-es11k1/deployments/3899 obs-knot-resolver-es11k1/deployments/3907 obs-knot-resolver-es11k1/deployments/3911 obs-knot-resolver-es11k1/deployments/3915 obs-knot-resolver-es11k1/deployments/3927 obs-knot-resolver-es11k1/deployments/3946 obs-knot-resolver-es11k1/deployments/3953
Oto Šťáva [Tue, 16 Apr 2024 13:38:58 +0000 (15:38 +0200)] 
Merge branch 'website-push-docs' into 'master'

gitlab-ci: push docs to the website (manual CI)

See merge request knot/knot-resolver!1530

20 months agoMerge branch 'manager-optional-prometheus' into '6.0' docs-develop-6-0-mvwoqi/deployments/3797
Oto Šťáva [Tue, 16 Apr 2024 13:06:03 +0000 (15:06 +0200)] 
Merge branch 'manager-optional-prometheus' into '6.0'

manager: /metrics API improvements

See merge request knot/knot-resolver!1527

20 months agoNEWS: reword of Prometheus changes docs-develop-mana-8cbmfy/deployments/3796
Oto Šťáva [Tue, 16 Apr 2024 11:58:31 +0000 (13:58 +0200)] 
NEWS: reword of Prometheus changes

20 months agokresctl: add message when Prometheus is missing docs-develop-mana-8cbmfy/deployments/3787
Oto Šťáva [Mon, 15 Apr 2024 11:19:29 +0000 (13:19 +0200)] 
kresctl: add message when Prometheus is missing

20 months agodistro/pkg/rpm: recommend python3-prometheus_client
Jakub Ružička [Mon, 25 Mar 2024 15:14:17 +0000 (16:14 +0100)] 
distro/pkg/rpm: recommend python3-prometheus_client

20 months agodistro/pkg/deb: recommend python3-prometheus-client
Jakub Ružička [Mon, 25 Mar 2024 15:11:28 +0000 (16:11 +0100)] 
distro/pkg/deb: recommend python3-prometheus-client

20 months agoNEWS: improvements about metrics API
Aleš Mrázek [Mon, 25 Mar 2024 12:23:22 +0000 (13:23 +0100)] 
NEWS: improvements about metrics API

20 months agotests/packaging: management API /metrics update
Aleš Mrázek [Thu, 21 Mar 2024 14:27:10 +0000 (15:27 +0100)] 
tests/packaging: management API /metrics update

20 months agokresctl: metrics: support for new API
Aleš Mrázek [Thu, 21 Mar 2024 14:19:50 +0000 (15:19 +0100)] 
kresctl: metrics: support for new API

20 months agomanager: api: metrics: JSON support as default
Aleš Mrázek [Thu, 21 Mar 2024 13:53:54 +0000 (14:53 +0100)] 
manager: api: metrics: JSON support as default

- /metrics - returns 301, redirects to /metrics/json
- /metrics/json - exports metrics in JSON format
- /metrics/prometheus - optional, exports metrics in Prometheus format, returns 404 if not supported

20 months agomodules/{stats,http}: fix built-in Prometheus and tests
Oto Šťáva [Thu, 21 Mar 2024 11:17:59 +0000 (12:17 +0100)] 
modules/{stats,http}: fix built-in Prometheus and tests

20 months agomodules/stats: split stats.list() into sub-objects
Oto Šťáva [Thu, 21 Mar 2024 10:49:05 +0000 (11:49 +0100)] 
modules/stats: split stats.list() into sub-objects

20 months agopoetry: prometheus-client is now optional
Aleš Mrázek [Tue, 19 Mar 2024 21:45:20 +0000 (22:45 +0100)] 
poetry: prometheus-client is now optional

Description and authors update. New setup.py also generated.

20 months agorrl: modify KRU api to return maximum final load value docs-develop-rrl-8r8r8r/deployments/3753
Lukáš Ondráček [Wed, 10 Apr 2024 16:17:26 +0000 (18:17 +0200)] 
rrl: modify KRU api to return maximum final load value

20 months agorrl: improve error messages docs-develop-rrl-8r8r8r/deployments/3745
Lukáš Ondráček [Wed, 10 Apr 2024 14:13:09 +0000 (16:13 +0200)] 
rrl: improve error messages

20 months agogitlab-ci: push docs to the website (manual CI) docs-develop-webs-khkalp/deployments/3739
Oto Šťáva [Wed, 10 Apr 2024 10:43:11 +0000 (12:43 +0200)] 
gitlab-ci: push docs to the website (manual CI)

20 months agoMerge remote-tracking branch 'origin/master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3738 docs-develop-tmp-wti7ta/deployments/3737
Oto Šťáva [Wed, 10 Apr 2024 11:19:27 +0000 (13:19 +0200)] 
Merge remote-tracking branch 'origin/master' into 6.0

20 months agoMerge branch 'rrl-wip' of gitlab.nic.cz:knot/knot-resolver into rrl-wip docs-develop-rrl-8r8r8r/deployments/3736
Lukáš Ondráček [Wed, 10 Apr 2024 11:09:52 +0000 (13:09 +0200)] 
Merge branch 'rrl-wip' of gitlab.nic.cz:knot/knot-resolver into rrl-wip

20 months agoMerge branch 'nits' into 'master' docs-develop-mast-tzgd0f/deployments/3735 docs-develop-mast-tzgd0f/deployments/3754 docs-develop-mast-tzgd0f/deployments/3757 docs-develop-mast-tzgd0f/deployments/3769 docs-develop-mast-tzgd0f/deployments/3772 docs-develop-mast-tzgd0f/deployments/3773 docs-develop-mast-tzgd0f/deployments/3776 docs-develop-mast-tzgd0f/deployments/3777 docs-develop-mast-tzgd0f/deployments/3780 docs-develop-mast-tzgd0f/deployments/3781 docs-develop-mast-tzgd0f/deployments/3784 docs-develop-mast-tzgd0f/deployments/3789 docs-develop-mast-tzgd0f/deployments/3792 docs-develop-nigh-589znp/deployments/3755 docs-develop-nigh-589znp/deployments/3770 docs-develop-nigh-589znp/deployments/3774 docs-develop-nigh-589znp/deployments/3778 docs-develop-nigh-589znp/deployments/3782 docs-develop-nigh-589znp/deployments/3790 obs-knot-resolver-es11k1/deployments/3756 obs-knot-resolver-es11k1/deployments/3771 obs-knot-resolver-es11k1/deployments/3775 obs-knot-resolver-es11k1/deployments/3779 obs-knot-resolver-es11k1/deployments/3783 obs-knot-resolver-es11k1/deployments/3791
Oto Šťáva [Wed, 10 Apr 2024 11:09:36 +0000 (13:09 +0200)] 
Merge branch 'nits' into 'master'

nits: unused variable, improved #include path

See merge request knot/knot-resolver!1529

20 months agorrl: disable parallel tests under valgrind in CI
Lukáš Ondráček [Wed, 10 Apr 2024 11:08:10 +0000 (13:08 +0200)] 
rrl: disable parallel tests under valgrind in CI

20 months agofixup! rrl: configurable limits in yaml, deinit docs-develop-rrl-8r8r8r/deployments/3729
Vladimír Čunát [Wed, 10 Apr 2024 09:06:59 +0000 (11:06 +0200)] 
fixup! rrl: configurable limits in yaml, deinit

I see no reason for these removed parts.

20 months agofixup! rrl: porting unit tests from Knot DNS docs-develop-rrl-8r8r8r/deployments/3714
Lukáš Ondráček [Mon, 8 Apr 2024 13:47:15 +0000 (15:47 +0200)] 
fixup! rrl: porting unit tests from Knot DNS

20 months agofixup! rrl: porting unit tests from Knot DNS docs-develop-rrl-8r8r8r/deployments/3713
Lukáš Ondráček [Mon, 8 Apr 2024 13:42:17 +0000 (15:42 +0200)] 
fixup! rrl: porting unit tests from Knot DNS

20 months agolib/dnssec nit: improve #include path docs-develop-nits-2dntdj/deployments/3711 docs-develop-nits-2dntdj/deployments/3734
Vladimír Čunát [Mon, 8 Apr 2024 08:52:01 +0000 (10:52 +0200)] 
lib/dnssec nit: improve #include path

The issue was exposed when working on rrl-wip branch:
  lib/dnssec/nsec.c:19:10: fatal error: resolve.h: No such file or director

20 months agodaemon/engine nit: drop an unused variable
Vladimír Čunát [Wed, 27 Mar 2024 08:21:41 +0000 (09:21 +0100)] 
daemon/engine nit: drop an unused variable

Reported by clang.

20 months agolib/dnssec nit: improve #include path docs-develop-rrl-8r8r8r/deployments/3709
Vladimír Čunát [Mon, 8 Apr 2024 08:52:01 +0000 (10:52 +0200)] 
lib/dnssec nit: improve #include path

No idea why it started causing issues now and for me, with:
lib/dnssec/nsec.c:19:10: fatal error: resolve.h: No such file or director

20 months agoMerge branch 'tls-priority' into '6.0' docs-develop-6-0-mvwoqi/deployments/3708
Oto Šťáva [Mon, 8 Apr 2024 08:48:04 +0000 (10:48 +0200)] 
Merge branch 'tls-priority' into '6.0'

daemon/tls: respect crypto policy overrides in OS

See merge request knot/knot-resolver!1526

20 months agodaemon/tls: respect crypto policy overrides in OS docs-develop-tls-hs7nlh/deployments/3707
Vladimír Čunát [Tue, 2 Apr 2024 15:39:05 +0000 (17:39 +0200)] 
daemon/tls: respect crypto policy overrides in OS

20 months agoMerge branch 'shared-libkres-fix' into 'master' docs-develop-mast-tzgd0f/deployments/3692 docs-develop-mast-tzgd0f/deployments/3695 docs-develop-mast-tzgd0f/deployments/3698 docs-develop-mast-tzgd0f/deployments/3699 docs-develop-mast-tzgd0f/deployments/3702 docs-develop-mast-tzgd0f/deployments/3703 docs-develop-mast-tzgd0f/deployments/3706 docs-develop-mast-tzgd0f/deployments/3715 docs-develop-mast-tzgd0f/deployments/3718 docs-develop-mast-tzgd0f/deployments/3721 docs-develop-mast-tzgd0f/deployments/3724 docs-develop-nigh-589znp/deployments/3696 docs-develop-nigh-589znp/deployments/3700 docs-develop-nigh-589znp/deployments/3704 docs-develop-nigh-589znp/deployments/3716 docs-develop-nigh-589znp/deployments/3722 obs-knot-resolver-es11k1/deployments/3697 obs-knot-resolver-es11k1/deployments/3701 obs-knot-resolver-es11k1/deployments/3705 obs-knot-resolver-es11k1/deployments/3717 obs-knot-resolver-es11k1/deployments/3723
Oto Šťáva [Fri, 5 Apr 2024 10:22:56 +0000 (12:22 +0200)] 
Merge branch 'shared-libkres-fix' into 'master'

daemon/meson.build: add install_rpath to kresd

See merge request knot/knot-resolver!1528

20 months agodaemon/meson.build: add install_rpath to kresd docs-develop-shar-t8zrsp/deployments/3691
Oto Šťáva [Fri, 5 Apr 2024 09:57:22 +0000 (11:57 +0200)] 
daemon/meson.build: add install_rpath to kresd

This fixes the default use-case for developers when they put their
install prefix somewhere where the system `LD_LIBRARY_PATH` does not
point. Before this, `kresd` would fail to start after `ninja install`
because it would not be able to find the `libkres.so` library.

The original workaround to this was to use `meson configure
-Ddefault_library=static`, but firstly, we would like it to be working
with the default settings, and secondly, we would like to have it as
similar to what most users will encounter as possible.

20 months agorrl: porting unit tests from Knot DNS docs-develop-rrl-8r8r8r/deployments/3675
Lukáš Ondráček [Wed, 3 Apr 2024 18:53:52 +0000 (20:53 +0200)] 
rrl: porting unit tests from Knot DNS

20 months agofixup! rrl: allow changing configuration on reload docs-develop-rrl-8r8r8r/deployments/3660
Lukáš Ondráček [Tue, 2 Apr 2024 15:47:27 +0000 (17:47 +0200)] 
fixup! rrl: allow changing configuration on reload

20 months agofixup! fixup! rrl: configurable limits in yaml, deinit docs-develop-rrl-8r8r8r/deployments/3658
Lukáš Ondráček [Tue, 2 Apr 2024 15:27:24 +0000 (17:27 +0200)] 
fixup! fixup! rrl: configurable limits in yaml, deinit

20 months agofixup! rrl: configurable limits in yaml, deinit docs-develop-rrl-8r8r8r/deployments/3657
Lukáš Ondráček [Tue, 2 Apr 2024 15:14:06 +0000 (17:14 +0200)] 
fixup! rrl: configurable limits in yaml, deinit

20 months agorrl: allow changing configuration on reload docs-develop-rrl-8r8r8r/deployments/3656
Lukáš Ondráček [Tue, 2 Apr 2024 14:17:05 +0000 (16:17 +0200)] 
rrl: allow changing configuration on reload

20 months agoMerge !1525: distro/pkg/rpm: use noreplace for config.yaml docs-develop-6-0-mvwoqi/deployments/3655
Vladimír Čunát [Tue, 2 Apr 2024 10:34:55 +0000 (12:34 +0200)] 
Merge !1525: distro/pkg/rpm: use noreplace for config.yaml

20 months agodistro/pkg/arch: put config.yaml into backup docs-develop-rpm-fi1h16/deployments/3654
Oto Šťáva [Tue, 2 Apr 2024 09:47:37 +0000 (11:47 +0200)] 
distro/pkg/arch: put config.yaml into backup

Same as previous commit, but for Arch Linux.

20 months agodistro/pkg/rpm: use noreplace for config.yaml
Oto Šťáva [Tue, 2 Apr 2024 09:29:29 +0000 (11:29 +0200)] 
distro/pkg/rpm: use noreplace for config.yaml

Adds `%config(noreplace)` to `config.yaml`. This prevents the package
from overwriting the user's edited configuration upon update, and
instead adds the new default configuration as a `.rpmnew` file for the
user to potentially consider.

20 months agoMerge branch 'upstream-version' into '6.0'
Oto Šťáva [Tue, 2 Apr 2024 10:33:55 +0000 (12:33 +0200)] 
Merge branch 'upstream-version' into '6.0'

distro: auto-detect latest Knot Resolver version

See merge request knot/knot-resolver!1524

21 months agodistro: auto-detect latest Knot Resolver version docs-develop-upst-wgs6un/deployments/3632
Jakub Ružička [Thu, 28 Mar 2024 17:03:16 +0000 (18:03 +0100)] 
distro: auto-detect latest Knot Resolver version

New scripts/upstream-version.sh returns latest Knot Resolver version
based on upstream repo tags.

It's set as upstream.version_script in apkg config which enables:

    $ apkg info upstream-version
    upstream version: 6.0.7

and later `apkg build --upstream` when tarballs are available.

21 months agorrl: configurable limits in yaml, deinit docs-develop-rrl-8r8r8r/deployments/3624
Lukáš Ondráček [Wed, 27 Mar 2024 10:45:30 +0000 (11:45 +0100)] 
rrl: configurable limits in yaml, deinit

21 months agoMerge branch 'release-6.0.7' into '6.0' docs-develop-6-0-mvwoqi/deployments/3616 docs-release-v6-0-xh302i/deployments/3621 v6.0.7
Aleš Mrázek [Wed, 27 Mar 2024 16:38:36 +0000 (17:38 +0100)] 
Merge branch 'release-6.0.7' into '6.0'

release 6.0.7

See merge request knot/knot-resolver!1523

21 months agoMerge branch 'release-5.7.2' into 'master' docs-develop-mast-tzgd0f/deployments/3615 docs-develop-mast-tzgd0f/deployments/3625 docs-develop-mast-tzgd0f/deployments/3628 docs-develop-mast-tzgd0f/deployments/3633 docs-develop-mast-tzgd0f/deployments/3636 docs-develop-mast-tzgd0f/deployments/3637 docs-develop-mast-tzgd0f/deployments/3640 docs-develop-mast-tzgd0f/deployments/3641 docs-develop-mast-tzgd0f/deployments/3643 docs-develop-mast-tzgd0f/deployments/3646 docs-develop-mast-tzgd0f/deployments/3647 docs-develop-mast-tzgd0f/deployments/3650 docs-develop-mast-tzgd0f/deployments/3664 docs-develop-mast-tzgd0f/deployments/3667 docs-develop-mast-tzgd0f/deployments/3676 docs-develop-mast-tzgd0f/deployments/3679 docs-develop-mast-tzgd0f/deployments/3684 docs-develop-mast-tzgd0f/deployments/3687 docs-develop-nigh-589znp/deployments/3626 docs-develop-nigh-589znp/deployments/3634 docs-develop-nigh-589znp/deployments/3638 docs-develop-nigh-589znp/deployments/3642 docs-develop-nigh-589znp/deployments/3644 docs-develop-nigh-589znp/deployments/3648 docs-develop-nigh-589znp/deployments/3665 docs-develop-nigh-589znp/deployments/3677 docs-develop-nigh-589znp/deployments/3685 docs-develop-stab-lrl9qw/deployments/3983 docs-release-stab-12mrv9/deployments/3981 docs-release-v5-7-c2cdq1/deployments/3618 obs-knot-resolver-8xyvhu/deployments/3619 obs-knot-resolver-es11k1/deployments/3627 obs-knot-resolver-es11k1/deployments/3635 obs-knot-resolver-es11k1/deployments/3639 obs-knot-resolver-es11k1/deployments/3645 obs-knot-resolver-es11k1/deployments/3649 obs-knot-resolver-es11k1/deployments/3666 obs-knot-resolver-es11k1/deployments/3678 obs-knot-resolver-es11k1/deployments/3686 obs-knot-resolver-kv62s6/deployments/3617 v5.7.2
Aleš Mrázek [Wed, 27 Mar 2024 16:38:30 +0000 (17:38 +0100)] 
Merge branch 'release-5.7.2' into 'master'

Release 5.7.2

See merge request knot/knot-resolver!1522

21 months agorelease 6.0.7 docs-develop-rele-bexqno/deployments/3614
Aleš Mrázek [Wed, 27 Mar 2024 16:06:35 +0000 (17:06 +0100)] 
release 6.0.7

21 months agoci: obs: create venv and install apkg docs-develop-rele-m8rr9k/deployments/3611 docs-develop-rele-m8rr9k/deployments/3613 obs-knot-resolver-bs4hbr/deployments/3612
Aleš Mrázek [Wed, 27 Mar 2024 15:04:37 +0000 (16:04 +0100)] 
ci: obs: create venv and install apkg

21 months agoscripts/update-authors: explicit '--no-show-signature' docs-develop-rele-m8rr9k/deployments/3608 docs-develop-rele-m8rr9k/deployments/3610
Oto Šťáva [Wed, 27 Mar 2024 13:11:40 +0000 (14:11 +0100)] 
scripts/update-authors: explicit '--no-show-signature'

Fixes the script for users who have `log.showSignature` set to `true` in
their git config.

21 months agoRelease 5.7.2 docs-develop-rele-m8rr9k/deployments/3607
Oto Šťáva [Wed, 27 Mar 2024 12:52:57 +0000 (13:52 +0100)] 
Release 5.7.2

21 months agoDockerfile: fix typo 'update' -> 'upgrade' docs-develop-6-0-mvwoqi/deployments/3606
Oto Šťáva [Wed, 27 Mar 2024 12:41:40 +0000 (13:41 +0100)] 
Dockerfile: fix typo 'update' -> 'upgrade'

21 months agoMerge branch '6.0.7-news' into '6.0' docs-develop-6-0-mvwoqi/deployments/3605
Oto Šťáva [Wed, 27 Mar 2024 11:05:18 +0000 (12:05 +0100)] 
Merge branch '6.0.7-news' into '6.0'

NEWS: add missing entries for 6.0.7

See merge request knot/knot-resolver!1519

21 months agoNEWS, README: "canonicalize" the link to Upgrading docs docs-develop-6-0-2biabg/deployments/3602
Oto Šťáva [Wed, 27 Mar 2024 10:10:47 +0000 (11:10 +0100)] 
NEWS, README: "canonicalize" the link to Upgrading docs

21 months agoNEWS: add missing entries for 6.0.7 docs-develop-6-0-2biabg/deployments/3601
Oto Šťáva [Tue, 26 Mar 2024 09:53:59 +0000 (10:53 +0100)] 
NEWS: add missing entries for 6.0.7

21 months agoMerge branch 'rpz-soa' into '6.0' docs-develop-6-0-mvwoqi/deployments/3600
Oto Šťáva [Wed, 27 Mar 2024 10:03:01 +0000 (11:03 +0100)] 
Merge branch 'rpz-soa' into '6.0'

lib/rules: fix RPZ if SOA is repated, as usual in AXFR output

See merge request knot/knot-resolver!1521

21 months agolib/rules: avoid RPZ overriding the root SOA docs-develop-rpz-sgpa4i/deployments/3599
Vladimír Čunát [Mon, 25 Mar 2024 13:49:36 +0000 (14:49 +0100)] 
lib/rules: avoid RPZ overriding the root SOA

21 months agolib/rules: fix RPZ if SOA is repated, as usual in AXFR output
Vladimír Čunát [Mon, 25 Mar 2024 12:28:23 +0000 (13:28 +0100)] 
lib/rules: fix RPZ if SOA is repated, as usual in AXFR output

The check for name equality didn't cover the case of repeated SOA.

21 months agorrl: check and log chosen impl. (generic vs AVX2) docs-develop-rrl-8r8r8r/deployments/3594
Lukáš Ondráček [Tue, 26 Mar 2024 15:25:52 +0000 (16:25 +0100)] 
rrl: check and log chosen impl. (generic vs AVX2)

21 months agorrl: incorporate KRU changes from Knot DNS docs-develop-rrl-8r8r8r/deployments/3593
Lukáš Ondráček [Tue, 26 Mar 2024 15:10:40 +0000 (16:10 +0100)] 
rrl: incorporate KRU changes from Knot DNS

21 months agorrl: sharing memory between processes, basic limiting docs-develop-rrl-8r8r8r/deployments/3592
Lukáš Ondráček [Tue, 26 Mar 2024 11:38:18 +0000 (12:38 +0100)] 
rrl: sharing memory between processes, basic limiting

21 months agoMerge branch 'improve-limits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3591
Oto Šťáva [Tue, 26 Mar 2024 11:34:16 +0000 (12:34 +0100)] 
Merge branch 'improve-limits' into '6.0'

manager: increase startup timeout for manager (again)

See merge request knot/knot-resolver!1520

21 months agomanager, systemd: increase startup timeout for manager (again) docs-develop-impr-ktrcol/deployments/3578
Vladimír Čunát [Mon, 25 Mar 2024 10:23:37 +0000 (11:23 +0100)] 
manager, systemd: increase startup timeout for manager (again)

During the previous increase I didn't realize the comment added now.

21 months agoMerge branch 'improve-limits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3563
Oto Šťáva [Fri, 22 Mar 2024 13:40:56 +0000 (14:40 +0100)] 
Merge branch 'improve-limits' into '6.0'

minor improvements of limits

See merge request knot/knot-resolver!1518

21 months agolib/rules: increase default DB size to 2G on 64-bit platforms docs-develop-impr-ktrcol/deployments/3562
Vladimír Čunát [Fri, 22 Mar 2024 10:56:30 +0000 (11:56 +0100)] 
lib/rules: increase default DB size to 2G on 64-bit platforms

The file is sparse, which really is supported by all sane filesystems
nowadays I think.  But for 32-bit systems I'm a bit afraid for the
ability to reliably get such a large contiguous mapping in process memory,
so there we take the 500M limit tested in knot-dns:
https://gitlab.nic.cz/knot/knot-dns/-/blob/v3.3.5/src/knot/conf/schema.c#L39

21 months agomanager: increase startup timeout for processes
Vladimír Čunát [Fri, 22 Mar 2024 10:45:51 +0000 (11:45 +0100)] 
manager: increase startup timeout for processes

In production I believe we can assume that process continuing to work
without bailing out is probably doing something useful, e.g.
in case of kresd it might be preparing a very large rule-set.

21 months agoMerge branch 'runtime-lib-paths' into '6.0' docs-develop-6-0-mvwoqi/deployments/3561
Oto Šťáva [Fri, 22 Mar 2024 13:15:26 +0000 (14:15 +0100)] 
Merge branch 'runtime-lib-paths' into '6.0'

meson.build: fix paths to knot-dns libs if exec_prefix != prefix

See merge request knot/knot-resolver!1503

21 months agomeson.build: fix paths to knot-dns libs if exec_prefix != prefix docs-develop-runt-dnukwv/deployments/3560
Vladimír Čunát [Wed, 21 Feb 2024 08:16:45 +0000 (09:16 +0100)] 
meson.build: fix paths to knot-dns libs if exec_prefix != prefix

Man, this is complicated.  But I hope that this one will really be
reliable, with `sh` and `wc` being present in basically every POSIX env.

21 months agoMerge branch 'udp-low-ports' into '6.0' docs-develop-6-0-mvwoqi/deployments/3559
Oto Šťáva [Fri, 22 Mar 2024 12:18:06 +0000 (13:18 +0100)] 
Merge branch 'udp-low-ports' into '6.0'

daemon/io: ignore UDP requests from ports < 1024

See merge request knot/knot-resolver!1507

21 months agodaemon/io: ignore UDP requests from ports < 1024 docs-develop-udp-kg8r2s/deployments/3558
Vladimír Čunát [Thu, 29 Feb 2024 10:47:37 +0000 (11:47 +0100)] 
daemon/io: ignore UDP requests from ports < 1024

21 months agoMerge remote-tracking branch 'origin/master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3557 docs-develop-6-0-yl53px/deployments/3556
Oto Šťáva [Fri, 22 Mar 2024 11:30:31 +0000 (12:30 +0100)] 
Merge remote-tracking branch 'origin/master' into 6.0

21 months agoMerge branch 'time_t' into 'master' docs-develop-mast-tzgd0f/deployments/3555 docs-develop-mast-tzgd0f/deployments/3565 docs-develop-mast-tzgd0f/deployments/3568 docs-develop-mast-tzgd0f/deployments/3569 docs-develop-mast-tzgd0f/deployments/3572 docs-develop-mast-tzgd0f/deployments/3573 docs-develop-mast-tzgd0f/deployments/3576 docs-develop-mast-tzgd0f/deployments/3586 docs-develop-mast-tzgd0f/deployments/3589 docs-develop-mast-tzgd0f/deployments/3595 docs-develop-mast-tzgd0f/deployments/3598 docs-develop-nigh-589znp/deployments/3566 docs-develop-nigh-589znp/deployments/3570 docs-develop-nigh-589znp/deployments/3574 docs-develop-nigh-589znp/deployments/3587 docs-develop-nigh-589znp/deployments/3596
Oto Šťáva [Fri, 22 Mar 2024 11:15:23 +0000 (12:15 +0100)] 
Merge branch 'time_t' into 'master'

daemon/lua: fix on 32-bit systems with 64-bit time_t

See merge request knot/knot-resolver!1510

21 months agodaemon/lua: fix on 32-bit systems with 64-bit time_t docs-develop-time-t0zmsd/deployments/3550
Vladimír Čunát [Wed, 6 Mar 2024 11:19:28 +0000 (12:19 +0100)] 
daemon/lua: fix on 32-bit systems with 64-bit time_t

This improves the heuristics.
The problem would be detected by meson, but not when cross-compiling,
in which case things would mostly run OK, except some lua code/modules.

21 months agoMerge branch 'doc-update-oci' into '6.0' docs-develop-6-0-mvwoqi/deployments/3548
Oto Šťáva [Fri, 22 Mar 2024 10:35:59 +0000 (11:35 +0100)] 
Merge branch 'doc-update-oci' into '6.0'

doc styling fixes

See merge request knot/knot-resolver!1517

21 months agodoc/_static/css: fix anchor colors docs-develop-doc-blbbgj/deployments/3547
Oto Šťáva [Wed, 20 Mar 2024 14:12:56 +0000 (15:12 +0100)] 
doc/_static/css: fix anchor colors

The global styling made some anchors misbehave. Since we only want to
recolor the anchors in the content part of the docs, let's properly
target the CSS rules.

21 months agodoc/user: add missing sphinxcontrib.jquery
Oto Šťáva [Wed, 20 Mar 2024 13:43:29 +0000 (14:43 +0100)] 
doc/user: add missing sphinxcontrib.jquery

Accidentally omitted in `doc/user`, present in `doc/dev`.

21 months agoMerge !1516: lib/rules: fix RPZ if it contains apex NS record docs-develop-6-0-mvwoqi/deployments/3534
Vladimír Čunát [Wed, 20 Mar 2024 17:28:20 +0000 (18:28 +0100)] 
Merge !1516: lib/rules: fix RPZ if it contains apex NS record

21 months agolib/rules: fix RPZ if it contains apex NS record docs-develop-rpz-7rpq6b/deployments/3526
Vladimír Čunát [Wed, 20 Mar 2024 09:51:41 +0000 (10:51 +0100)] 
lib/rules: fix RPZ if it contains apex NS record

The spec even requires (at least one) NS record in apex
https://datatracker.ietf.org/doc/html/draft-vixie-dns-rpz-00#section-2
but until now the implementation took it as override for the root NS,
which obviously broke resolution (depending on the supplied name/s).

21 months agoREADME.md: Fix incorrect URL to build instructions docs-develop-6-0-mvwoqi/deployments/3518
Oto Šťáva [Tue, 19 Mar 2024 15:19:37 +0000 (16:19 +0100)] 
README.md: Fix incorrect URL to build instructions

21 months agoPoC: rate-limit everything for now :-) docs-develop-rrl-8r8r8r/deployments/3515
Vladimír Čunát [Tue, 19 Mar 2024 11:15:14 +0000 (12:15 +0100)] 
PoC: rate-limit everything for now :-)

21 months agoWIP: CI nits docs-develop-rrl-8r8r8r/deployments/3509
Vladimír Čunát [Mon, 18 Mar 2024 18:26:13 +0000 (19:26 +0100)] 
WIP: CI nits

21 months agoTMP: replace symlinks by contents docs-develop-rrl-8r8r8r/deployments/3508
Vladimír Čunát [Mon, 18 Mar 2024 17:54:34 +0000 (18:54 +0100)] 
TMP: replace symlinks by contents

from knot-dns commit 033e81f81f5cc41e650eae056c4c2b5f0a61a7f8

21 months agoTMP: compile the KRU into daemon
Vladimír Čunát [Tue, 27 Feb 2024 09:09:22 +0000 (10:09 +0100)] 
TMP: compile the KRU into daemon

Meant for TMP easier development - you need to symlink daemon/rrl/knot
to knot-dns source, as the KRU source files will be taken from there.

21 months agoWIP: add contrib/openbsd/siphash.*
Vladimír Čunát [Tue, 27 Feb 2024 09:06:29 +0000 (10:06 +0100)] 
WIP: add contrib/openbsd/siphash.*

The same as knot-dns, except for dropping memzero() after hashing.

21 months agoMerge branch 'kresctl-docs-nits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3500
Oto Šťáva [Mon, 18 Mar 2024 10:25:09 +0000 (11:25 +0100)] 
Merge branch 'kresctl-docs-nits' into '6.0'

doc/manager-client: adjustments

See merge request knot/knot-resolver!1513

21 months agodoc/manager-client: adjustments docs-develop-kres-zg60qy/deployments/3499
Oto Šťáva [Fri, 15 Mar 2024 09:24:36 +0000 (10:24 +0100)] 
doc/manager-client: adjustments

Some language adjustments and improved optionality signalling (optional
parameters are usually surrounded by square brackets `[]`, while angle
brackets `<>` are usually reserved for mandatory ones).

21 months agoMerge branch 'doc-move-pages' into '6.0' docs-develop-6-0-mvwoqi/deployments/3498
Oto Šťáva [Mon, 18 Mar 2024 09:56:44 +0000 (10:56 +0100)] 
Merge branch 'doc-move-pages' into '6.0'

remove `doc-dev` directory, merge into `doc/dev`

See merge request knot/knot-resolver!1515

21 months agoremove `doc-dev` directory, merge into `doc/dev` docs-develop-doc-nqguk5/deployments/3497
Oto Šťáva [Mon, 18 Mar 2024 09:38:48 +0000 (10:38 +0100)] 
remove `doc-dev` directory, merge into `doc/dev`

21 months agoMerge branch 'doc-separation' into '6.0' docs-develop-6-0-mvwoqi/deployments/3482
Oto Šťáva [Fri, 15 Mar 2024 15:11:58 +0000 (16:11 +0100)] 
Merge branch 'doc-separation' into '6.0'

Separate user and developer documentation

See merge request knot/knot-resolver!1514

21 months agodoc: better headings docs-develop-doc-nc674f/deployments/3481
Oto Šťáva [Fri, 15 Mar 2024 14:57:38 +0000 (15:57 +0100)] 
doc: better headings

21 months agoNEWS update
Oto Šťáva [Fri, 15 Mar 2024 13:55:44 +0000 (14:55 +0100)] 
NEWS update

21 months agodoc: various fixes
Oto Šťáva [Fri, 15 Mar 2024 13:24:29 +0000 (14:24 +0100)] 
doc: various fixes

Fix cross-references, heading levels, etc.

21 months agodoc/user: installation update
Aleš Mrázek [Fri, 19 Jan 2024 16:15:06 +0000 (17:15 +0100)] 
doc/user:  installation update

21 months agodoc/dev/index: add backlink to the user docs + warning
Oto Šťáva [Fri, 15 Mar 2024 10:45:46 +0000 (11:45 +0100)] 
doc/dev/index: add backlink to the user docs + warning

21 months agodoc/dev/build: add missing article
Oto Šťáva [Fri, 15 Mar 2024 10:44:54 +0000 (11:44 +0100)] 
doc/dev/build: add missing article

21 months agodoc: separate user and developer documentation
Aleš Mrázek [Mon, 15 Jan 2024 22:19:47 +0000 (23:19 +0100)] 
doc: separate user and developer documentation

This separates the documentation into a *blue* user documentation and a
*red* developer documentation, resolving problems where similar sections
collided in search queries, leading users to the advanced Lua config
documentation instead of the preferred declarative config one.

It also visually separates the two parts, so that users who do not wish
to meddle in Lua immediately see that they're somewhere wrong just by
seeing the red colour.