]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Fri, 9 Jun 2023 17:12:39 +0000 (19:12 +0200)]
Create branch 6.0 by merging master and manager
Aleš Mrázek [Fri, 9 Jun 2023 12:26:57 +0000 (14:26 +0200)]
Merge branch 'manager-datamodel-improvements' into 'manager'
manager: datamodel improvements
See merge request knot/knot-resolver!1313
Aleš Mrázek [Fri, 2 Jun 2023 13:31:33 +0000 (15:31 +0200)]
manager: forward config example
Aleš Mrázek [Fri, 2 Jun 2023 13:30:35 +0000 (15:30 +0200)]
manager: datamodel: forward: allow list for pin_sha256
Aleš Mrázek [Thu, 1 Jun 2023 13:02:40 +0000 (15:02 +0200)]
manager: poetry: setuptools added to build requirements
Aleš Mrázek [Wed, 31 May 2023 13:32:22 +0000 (15:32 +0200)]
manager: code formatting
Aleš Mrázek [Fri, 26 May 2023 09:46:15 +0000 (11:46 +0200)]
manager: datamodel: forward render to Lua
Aleš Mrázek [Fri, 5 May 2023 14:19:46 +0000 (16:19 +0200)]
manager: datamodel: local-data/rpz: schema and template
Aleš Mrázek [Wed, 3 May 2023 12:53:36 +0000 (14:53 +0200)]
manager: datamodel: local-data template and macros
Aleš Mrázek [Wed, 3 May 2023 10:30:45 +0000 (12:30 +0200)]
manager: datamodel: use 'boolean' macro in datamodel
Aleš Mrázek [Wed, 3 May 2023 09:12:37 +0000 (11:12 +0200)]
manager: datamodel: templates: macro for boolean values
Aleš Mrázek [Fri, 28 Apr 2023 15:18:59 +0000 (17:18 +0200)]
manager: datamodel: ListOrItem custom generic type
Aleš Mrázek [Fri, 28 Apr 2023 15:17:23 +0000 (17:17 +0200)]
manager: utils: modeling: support for custom generic types
Aleš Mrázek [Wed, 19 Apr 2023 13:47:12 +0000 (15:47 +0200)]
manager: datamodel: all Union[List[T], T] removed
Aleš Mrázek [Wed, 12 Apr 2023 10:26:01 +0000 (12:26 +0200)]
manager: datamodel: local_data render to Lua
Aleš Mrázek [Tue, 11 Apr 2023 14:26:25 +0000 (16:26 +0200)]
manager: datamodel: views render to Lua
Aleš Mrázek [Tue, 11 Apr 2023 13:31:26 +0000 (15:31 +0200)]
manager: poetry: cmd for running manager with 'new-policy' kresd
Aleš Mrázek [Thu, 6 Apr 2023 13:28:50 +0000 (15:28 +0200)]
manager: datamodel: template/macros for local_data_schema
Aleš Mrázek [Wed, 5 Apr 2023 11:21:11 +0000 (13:21 +0200)]
manager: datamodel: template: macro for get_tagset
Aleš Mrázek [Fri, 31 Mar 2023 13:05:15 +0000 (15:05 +0200)]
manager: datamodel: template: view macros
Aleš Mrázek [Fri, 31 Mar 2023 12:56:46 +0000 (14:56 +0200)]
manager: datamodel: template: macro for TAGS_ASSIGN
Aleš Mrázek [Fri, 31 Mar 2023 11:13:52 +0000 (13:13 +0200)]
manager: datamodel: tsig removed from view_schema
Aleš Mrázek [Fri, 31 Mar 2023 09:25:56 +0000 (11:25 +0200)]
manager: datamodel: current valid config added to design notes
Aleš Mrázek [Thu, 30 Mar 2023 21:16:09 +0000 (23:16 +0200)]
manager: datamodel: view_schema update
Aleš Mrázek [Fri, 24 Mar 2023 14:37:01 +0000 (15:37 +0100)]
manager: datamodel: options: 'qname_minimisation' renamed to 'minimize'
Aleš Mrázek [Fri, 24 Mar 2023 14:35:12 +0000 (15:35 +0100)]
manager: datamodel: minor repairs/changes
Aleš Mrázek [Wed, 1 Mar 2023 13:11:07 +0000 (14:11 +0100)]
manager: datamodel: forward: options added
Aleš Mrázek [Wed, 1 Mar 2023 13:07:14 +0000 (14:07 +0100)]
manager: datamodel: stub-zones removed from configuration
Aleš Mrázek [Tue, 21 Feb 2023 16:15:17 +0000 (17:15 +0100)]
manager: configurable cache garbage collector
Aleš Mrázek [Mon, 20 Feb 2023 18:55:47 +0000 (19:55 +0100)]
manager: datamodel: local-data schema added
Aleš Mrázek [Thu, 16 Feb 2023 12:50:30 +0000 (13:50 +0100)]
manager: datamodel: forward schema update
Aleš Mrázek [Thu, 16 Feb 2023 09:22:12 +0000 (10:22 +0100)]
manager: datamodel: types: alias for union of list and single element
Aleš Mrázek [Thu, 16 Feb 2023 09:10:48 +0000 (10:10 +0100)]
manager: datamodel: tags added to views
Vladimír Čunát [Wed, 22 Jun 2022 14:34:41 +0000 (16:34 +0200)]
manager: datamodel: add notes from my brainstorming (WIP)
Aleš Mrázek [Wed, 22 Jun 2022 14:09:25 +0000 (16:09 +0200)]
manager: datamodel: changes in stub and forward zone schemas
Vladimír Čunát [Thu, 8 Jun 2023 06:09:15 +0000 (08:09 +0200)]
Merge !1404: tests/dnstap: let Go handle its transitive dependencies
Oto Šťáva [Wed, 7 Jun 2023 13:04:10 +0000 (15:04 +0200)]
tests/dnstap: let Go handle its transitive dependencies
Dependabot reported that we have some vulnerable dependencies. The
problem is that the ones it wants to bump to do not support older Go
versions, which we need to use due to some distros not having the most
recent Go packages available.
The `go.sum` file contains the outdated ones (because I tried with an
older Go), but as far as I can tell, from Go docs and other places, it
is actually not a lockfile, so newer Go should update the packages
regardless of what is in `go.sum`.
Vladimír Čunát [Wed, 7 Jun 2023 11:36:57 +0000 (13:36 +0200)]
Merge !1403: tests, ci: fix and reintroduce dnstap tests + nits
Oto Šťáva [Wed, 7 Jun 2023 06:15:41 +0000 (08:15 +0200)]
tests/pytests: adapt to new pylint
New version of pylint removed the disabled `bad-continuation` check. It
also added a parens check that we were violating in
`test_random_close.py`, which is now fixed as well.
Oto Šťáva [Wed, 7 Jun 2023 06:09:56 +0000 (08:09 +0200)]
ci/images/README: add KNOT_BRANCH explanation
Oto Šťáva [Tue, 6 Jun 2023 12:50:20 +0000 (14:50 +0200)]
ci: reintroduce Go tests into the CI
Aleš Mrázek [Tue, 6 Jun 2023 14:42:01 +0000 (16:42 +0200)]
Merge branch 'manager-docs' into 'manager'
manager: some parts of documentation for version 6
See merge request knot/knot-resolver!1377
Oto Šťáva [Tue, 6 Jun 2023 08:10:53 +0000 (10:10 +0200)]
tests/dnstap: fix for Go 1.19 (and possibly others)
Aleš Mrázek [Mon, 5 Jun 2023 13:33:21 +0000 (15:33 +0200)]
manager: ignore false positive pylint errors
Vasek Sraier [Mon, 6 Mar 2023 19:00:44 +0000 (20:00 +0100)]
doc: deployment
Vasek Sraier [Mon, 6 Mar 2023 10:56:55 +0000 (11:56 +0100)]
doc: deployment: manual and fixes
Vasek Sraier [Sun, 5 Mar 2023 22:35:00 +0000 (23:35 +0100)]
doc: deployment systemd and general structuring
Vasek Sraier [Fri, 3 Mar 2023 15:05:26 +0000 (16:05 +0100)]
doc: docker deployment
Aleš Mrázek [Wed, 1 Mar 2023 15:19:52 +0000 (16:19 +0100)]
Delete gettingstarted-intro.rst
Aleš Mrázek [Wed, 1 Mar 2023 15:16:04 +0000 (16:16 +0100)]
doc/README.md: update about requirements and building
Vladimír Čunát [Mon, 27 Feb 2023 12:23:44 +0000 (13:23 +0100)]
doc/architecture-gc.rst: describe how GC operates
The current code is really simple, so a whole summary fits easily.
Aleš Mrázek [Tue, 14 Feb 2023 23:40:24 +0000 (00:40 +0100)]
doc: gettingstarted-config: config examples added
Aleš Mrázek [Tue, 14 Feb 2023 01:11:03 +0000 (02:11 +0100)]
doc: gettingstarted: minor modifications
- startup: link to Usage without the manager
- config: json-schema mention moved to config-overview
Vasek Sraier [Mon, 13 Feb 2023 22:04:47 +0000 (23:04 +0100)]
doc: initial drafts of internal architecture explainers
Vasek Sraier [Mon, 13 Feb 2023 13:11:02 +0000 (14:11 +0100)]
docs: attempt at improving overall structure of the documentation (reorg, no new text)
Aleš Mrázek [Sun, 12 Feb 2023 19:30:02 +0000 (20:30 +0100)]
doc: legacy chapter removed
- legacy approach moved to Use Cases chapter
- legacy approach renamed to Usage without the manager
Aleš Mrázek [Fri, 10 Feb 2023 22:05:05 +0000 (23:05 +0100)]
doc: gettingstarted: some updates and changes
Aleš Mrázek [Fri, 10 Feb 2023 21:59:40 +0000 (22:59 +0100)]
doc: main page intro update
Aleš Mrázek [Tue, 31 Jan 2023 14:04:54 +0000 (15:04 +0100)]
doc: legacy chapter created
Aleš Mrázek [Wed, 25 Jan 2023 13:07:54 +0000 (14:07 +0100)]
doc: gettingstarted: some updates
- installation: link to build from source
- startup: link to run without systemd
Aleš Mrázek [Wed, 25 Jan 2023 12:23:28 +0000 (13:23 +0100)]
doc: gettingstarted: config section update
Added example of network interfaces configuration.
Aleš Mrázek [Mon, 23 Jan 2023 19:05:49 +0000 (20:05 +0100)]
doc: upgrading-to-6 moved to developers chapter
Vasek Sraier [Sun, 22 Jan 2023 08:53:34 +0000 (09:53 +0100)]
DROP: automatic installation to gitlab pages instead of manual
Aleš Mrázek [Tue, 30 May 2023 13:58:41 +0000 (15:58 +0200)]
Merge branch 'manager-python3.11' into 'manager'
manager: python and poetry upgrade
See merge request knot/knot-resolver!1400
Aleš Mrázek [Fri, 19 May 2023 14:12:58 +0000 (16:12 +0200)]
manager: lint: satisfy newer pylint
Aleš Mrázek [Fri, 19 May 2023 14:07:38 +0000 (16:07 +0200)]
ci/images/manager: upgrade to fedora38 with python3.11
Aleš Mrázek [Thu, 18 May 2023 23:56:12 +0000 (01:56 +0200)]
manager: ci: unit tests for python3.11
Aleš Mrázek [Thu, 18 May 2023 23:53:45 +0000 (01:53 +0200)]
manager: poetry: python3.11
Vladimír Čunát [Tue, 30 May 2023 07:19:19 +0000 (09:19 +0200)]
Merge !1401: lib/cache pkt_renew(): fix an edge-case bug
Vladimír Čunát [Mon, 29 May 2023 11:59:00 +0000 (13:59 +0200)]
lib/cache pkt_renew(): fix an edge-case bug
It could happen that this condition didn't get triggered,
but the structures weren't completely clear. In particular,
the current section could be past KNOT_ANSWER already.
Let's be more conservative here; pkt_recycle() shouldn't be expensive.
I'm not sure why I only ran into this on the new-policy branch,
but it really seems like bug here on master already.
Vladimír Čunát [Mon, 29 May 2023 08:02:15 +0000 (10:02 +0200)]
Merge !1395: systemd/knot-resolver.service.in tweaks
Vladimír Čunát [Thu, 30 Mar 2023 12:25:43 +0000 (14:25 +0200)]
systemd/knot-resolver.service.in: generalize paths
I can't see why not. Also avoid unnecessary /usr/bin/env
kresd doesn't work well without `ninja install` anyway.
bindir: maybe we should install the python binaries into sbin instead.
We're also being slightly inconsistent - allowing to override some
directories by meson but not respecting it for the python stuff.
Vasek Sraier [Mon, 6 Mar 2023 18:23:57 +0000 (19:23 +0100)]
manager: update systemd service file with knot-resolver script and kresctl reload
Vasek Sraier [Mon, 6 Mar 2023 10:20:58 +0000 (11:20 +0100)]
manager: knot-resolver command
Vladimír Čunát [Mon, 22 May 2023 12:35:37 +0000 (14:35 +0200)]
Merge !1399: Initial v6 alpha release 6.0.0a1
Jakub Ružička [Thu, 18 May 2023 11:12:47 +0000 (13:12 +0200)]
Initial v6 alpha release 6.0.0a1
6.0.x versions are dedicated to v6 alpha cycle.
Jakub Ružička [Thu, 18 May 2023 11:25:23 +0000 (13:25 +0200)]
NEWS: add 6.0.0 alpha entry
Also sync NEWS with latest release 5.6.0 for consistency.
Vladimír Čunát [Wed, 10 May 2023 09:54:21 +0000 (11:54 +0200)]
Merge !1397: hints docs: explain root hints better
Vladimír Čunát [Wed, 26 Apr 2023 09:16:34 +0000 (11:16 +0200)]
hints docs: explain root hints better
The removed tip seemed especially misleading;
I don't think our root hints could've ever been used that way.
And latency to root servers has practically no impact on latency
of replies to reasonable answers (just like... once per day and TLD).
Vladimír Čunát [Wed, 10 May 2023 07:39:48 +0000 (09:39 +0200)]
Merge !1398: ci: drop debian 9
Vladimír Čunát [Mon, 8 May 2023 08:39:41 +0000 (10:39 +0200)]
ci: drop debian 9
It looks like downloads won't work anymore:
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/890201
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/890312
which is probably because long-term support ended last summer.
Vladimír Čunát [Mon, 3 Apr 2023 12:35:25 +0000 (14:35 +0200)]
Merge !1396: tests/integration/deckard: update
Vladimír Čunát [Mon, 3 Apr 2023 12:02:21 +0000 (14:02 +0200)]
tests/integration/deckard: update
Adds just https://gitlab.nic.cz/knot/deckard/-/merge_requests/220
Aleš Mrázek [Wed, 29 Mar 2023 11:39:50 +0000 (13:39 +0200)]
Merge branch 'manager-json-only-api' into 'manager'
manager: only JSON format for API
See merge request knot/knot-resolver!1394
Aleš Mrázek [Wed, 29 Mar 2023 10:55:10 +0000 (12:55 +0200)]
manager: api: allow JSON only as MIME type
Vaclav Sraier [Wed, 29 Mar 2023 09:49:29 +0000 (11:49 +0200)]
Merge branch 'manager-better-paths-in-model' into 'manager'
manager: datamodel: better representation of paths and better error messages
See merge request knot/knot-resolver!1391
Vasek Sraier [Tue, 28 Mar 2023 13:20:11 +0000 (15:20 +0200)]
manager: modelling: remove redundant code
Vasek Sraier [Mon, 20 Mar 2023 10:32:02 +0000 (11:32 +0100)]
manager: explicit file resolving context instead of cwd
Vasek Sraier [Sun, 19 Mar 2023 22:30:57 +0000 (23:30 +0100)]
ci: manager: create required directories when unit testing
Vasek Sraier [Sun, 19 Mar 2023 22:23:31 +0000 (23:23 +0100)]
manager: changed the way rundir is loaded and got rid of absolute path restriction
Vasek Sraier [Fri, 10 Mar 2023 18:36:15 +0000 (19:36 +0100)]
manager: modeling: refactoring
Vasek Sraier [Wed, 8 Mar 2023 21:44:30 +0000 (22:44 +0100)]
manager: modelling tools: base schema split into base schema and mapper class
Vasek Sraier [Wed, 8 Mar 2023 15:51:28 +0000 (16:51 +0100)]
manager: modeling: refactoring of modelling tools
Vasek Sraier [Wed, 8 Mar 2023 14:51:35 +0000 (15:51 +0100)]
manager: datamodel: extract custom file types to a separate module
Vasek Sraier [Wed, 8 Mar 2023 12:34:56 +0000 (13:34 +0100)]
manager: datamodel: better representation of paths and better error messages
Vladimír Čunát [Wed, 22 Mar 2023 15:59:49 +0000 (16:59 +0100)]
Merge !1392: forwarding mode: tweak dealing with failures from forwarders
Aleš Mrázek [Wed, 22 Mar 2023 10:45:23 +0000 (11:45 +0100)]
Merge branch 'manager-kresctl-format-conversion' into 'manager'
kresctl: better configuration reformatting
See merge request knot/knot-resolver!1393
Vladimír Čunát [Fri, 10 Mar 2023 17:29:42 +0000 (18:29 +0100)]
NEWS: entry describing the previous three commits
The changes are potentially too significant to do in a patch update.
Vladimír Čunát [Wed, 8 Mar 2023 16:18:16 +0000 (17:18 +0100)]
improve handling of SERVFAIL from forwarders
- selection: utilize address_state::broken also when forwarding
- selection: drop fallbacks that don't make sense when forwarding
- iterate: copy EDE codes on DNSSEC SERVFAILs
Vladimír Čunát [Wed, 8 Mar 2023 13:25:39 +0000 (14:25 +0100)]
lib/resolve: when forwarding, prefer to send CD=0 upstream