]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Tomas Krizek [Mon, 17 Feb 2020 11:38:03 +0000 (12:38 +0100)]
Merge branch 'ci-docker-job' into 'master'
ci: run docker job only for our repos
See merge request knot/knot-resolver!940
Tomas Krizek [Mon, 17 Feb 2020 11:31:24 +0000 (12:31 +0100)]
ci: run docker job only for our repos
Tomas Krizek [Mon, 17 Feb 2020 10:33:04 +0000 (11:33 +0100)]
Merge branch 'fixup_mr_937' into 'master'
fixup! use js scheme detection
See merge request knot/knot-resolver!939
Tomas Krizek [Mon, 17 Feb 2020 09:30:05 +0000 (10:30 +0100)]
ci: fix job conditions for build:darwin
Tomas Krizek [Mon, 17 Feb 2020 09:03:17 +0000 (10:03 +0100)]
ci: run tests on contributor master branches
Petr Špaček [Fri, 14 Feb 2020 16:44:18 +0000 (17:44 +0100)]
fixup! use js scheme detection
Tomas Krizek [Mon, 10 Feb 2020 11:38:27 +0000 (12:38 +0100)]
Merge branch 'master' into 'master'
use js scheme detection at webmanagement page
Closes #546
See merge request knot/knot-resolver!937
Tomas Krizek [Mon, 10 Feb 2020 10:53:01 +0000 (11:53 +0100)]
Merge branch 'base64-namespace' into 'master'
base64_* -> kr_base64_*
See merge request knot/knot-resolver!938
Vladimír Čunát [Mon, 10 Feb 2020 08:54:48 +0000 (09:54 +0100)]
base64_* -> kr_base64_*
GnuTLS 3.3 contained these as public symbols. This doesn't seem
important, but why not use more collision-resistant names anyway?
Details/discussion: https://github.com/CZ-NIC/knot/pull/14
Basically noone should notice, so I didn't include any NEWS entry.
SH [Thu, 6 Feb 2020 15:24:38 +0000 (16:24 +0100)]
use js scheme detection
Tomas Krizek [Wed, 5 Feb 2020 15:33:05 +0000 (16:33 +0100)]
Merge branch 'release-5-0-1' into 'master'
release 5.0.1
See merge request knot/knot-resolver!936
Tomas Krizek [Wed, 5 Feb 2020 15:16:19 +0000 (16:16 +0100)]
release 5.0.1
Tomas Krizek [Mon, 3 Feb 2020 18:19:00 +0000 (19:19 +0100)]
Merge branch 'deb-restart-kres-gc' into 'master'
packaging: ensure GC is restarted on pkg update
See merge request knot/knot-resolver!935
Tomas Krizek [Mon, 3 Feb 2020 12:54:53 +0000 (13:54 +0100)]
distro/rpm: remove useless %systemd_post
%system_post creates a preset, which we don't use (but could perhaps
replace the symlink for kresd.target).
rickhg12hs [Sun, 2 Feb 2020 18:37:14 +0000 (19:37 +0100)]
distro/rpm: fix typo in description
Tomas Krizek [Fri, 31 Jan 2020 10:40:12 +0000 (11:40 +0100)]
distro/rpm: ensure GC is restarted on upgrade
Tomas Krizek [Fri, 31 Jan 2020 09:21:34 +0000 (10:21 +0100)]
distro/deb: ensure GC is restarted on pkg configure
Tomas Krizek [Thu, 30 Jan 2020 11:28:53 +0000 (12:28 +0100)]
Merge branch 'nitpicks' into 'master'
modules/prefill docs: fix dependencies
See merge request knot/knot-resolver!934
Vladimír Čunát [Thu, 30 Jan 2020 10:42:51 +0000 (11:42 +0100)]
modules/prefill docs: fix dependencies
LFS isn't used since !912 (
6d209ef99 ).
Vladimír Čunát [Wed, 29 Jan 2020 16:07:41 +0000 (17:07 +0100)]
Merge !932: add cache.fssize()
Closes #524.
Tomas Krizek [Tue, 28 Jan 2020 14:39:29 +0000 (15:39 +0100)]
doc/cache: remove SIGBUS note, since cache is preallocated
Tomas Krizek [Tue, 28 Jan 2020 14:38:37 +0000 (15:38 +0100)]
doc/cache: add note explaining cache size choice
Vladimír Čunát [Wed, 8 Jan 2020 16:39:53 +0000 (17:39 +0100)]
cache: Add cache.fssize() - filesystem size where the cache resides
Vladimír Čunát [Wed, 29 Jan 2020 10:29:37 +0000 (11:29 +0100)]
Merge !931: systemd/kres-cache-gc: use correct cache directory
Fixes #543.
Tomas Krizek [Tue, 28 Jan 2020 10:36:32 +0000 (11:36 +0100)]
systemd/kres-cache-gc: use correct cache directory
In 5.0.0, the cache directory has been moved and the previous path is
incorrect.
Fixes #543
Tomas Krizek [Tue, 28 Jan 2020 11:02:12 +0000 (12:02 +0100)]
Merge branch 'ci-minor-fixes' into 'master'
ci: minor fixes
See merge request knot/knot-resolver!929
Tomas Krizek [Mon, 27 Jan 2020 16:28:54 +0000 (17:28 +0100)]
ci: remove uneeded dependencies from deploytests
Tomas Krizek [Mon, 27 Jan 2020 16:28:29 +0000 (17:28 +0100)]
ci: increase doc artifacts expiration time
Vladimír Čunát [Mon, 27 Jan 2020 17:39:49 +0000 (18:39 +0100)]
Merge !930: systemd: explicitly add kresd@ to system-kresd.slice
Vladimír Čunát [Mon, 27 Jan 2020 16:42:18 +0000 (17:42 +0100)]
systemd: explicitly add kresd@ to system-kresd.slice
By some magic (unknown so far) the service was ending up in the slice
anyway, but it seems much better to put it there explicitly.
Closely related to !925.
Tomas Krizek [Mon, 27 Jan 2020 12:37:09 +0000 (13:37 +0100)]
Merge branch 'release-5-0-0' into 'master'
release 5.0.0
See merge request knot/knot-resolver!928
Tomas Krizek [Mon, 27 Jan 2020 11:18:01 +0000 (12:18 +0100)]
release 5.0.0
Tomas Krizek [Mon, 27 Jan 2020 11:07:53 +0000 (12:07 +0100)]
Merge branch '5.0-upgrade' into 'master'
upgrade script for 5.0
See merge request knot/knot-resolver!927
Tomas Krizek [Thu, 23 Jan 2020 11:13:19 +0000 (12:13 +0100)]
daemon/engine: prevent re-definition of the_args
Tomas Krizek [Thu, 23 Jan 2020 11:08:25 +0000 (12:08 +0100)]
distro/deb: ensure tmpfiles.d is created before service restart
Tomas Krizek [Wed, 22 Jan 2020 12:55:48 +0000 (13:55 +0100)]
daemon/ffimodule: add missing extern to kr_layer_t_static
This also fixes a build error with GCC 10 on fedora.
Tomas Krizek [Wed, 22 Jan 2020 12:28:32 +0000 (13:28 +0100)]
distro/rpm: correctly package and create tmpfiles dirs
Tomas Krizek [Wed, 22 Jan 2020 11:24:53 +0000 (12:24 +0100)]
distro/rpm: make sure the rundir is writable by knot-resolver
Tomas Krizek [Wed, 22 Jan 2020 11:23:39 +0000 (12:23 +0100)]
distro/rpm: don't disable non-existent kresd@* on uninstall
The macro calls systemctl disable, which doesn't accept wildcards.
Disabling kresd.target should be sufficient
Tomas Krizek [Wed, 22 Jan 2020 11:23:30 +0000 (12:23 +0100)]
distro/deb: save systemd socket conf before http module uninstall
Tomas Krizek [Wed, 22 Jan 2020 09:20:11 +0000 (10:20 +0100)]
distro/deb: use daemon-reload to update units before restart
Tomas Krizek [Tue, 21 Jan 2020 16:11:43 +0000 (17:11 +0100)]
doc/upgrading: mention path to generated config with network interfaces
Tomas Krizek [Tue, 21 Jan 2020 14:22:15 +0000 (15:22 +0100)]
utils/upgrade: minor changes to upgrade script
Tomas Krizek [Tue, 21 Jan 2020 14:00:01 +0000 (15:00 +0100)]
upgrade: use /var/lib path for config instead of /etc
Tomas Krizek [Tue, 21 Jan 2020 13:58:32 +0000 (14:58 +0100)]
doc: add net.listen() example with multiple IPs
Tomas Krizek [Mon, 20 Jan 2020 16:49:28 +0000 (17:49 +0100)]
daemon/main: set non-buffering stdout/stderr early
Tomas Krizek [Tue, 21 Jan 2020 12:45:30 +0000 (13:45 +0100)]
distro: generate separate config from upgrade script
Tomas Krizek [Mon, 20 Jan 2020 16:49:28 +0000 (17:49 +0100)]
daemon/main: set non-buffering stdout/stderr early
Journald was missing some error messages when kresd failed to start.
Tomas Krizek [Mon, 20 Jan 2020 14:48:04 +0000 (15:48 +0100)]
luacheck: allow globals for upgrade script
Tomas Krizek [Tue, 26 Nov 2019 13:56:31 +0000 (14:56 +0100)]
distro/*: silence kresd during upgrade
Tomas Krizek [Tue, 26 Nov 2019 12:04:41 +0000 (13:04 +0100)]
distro/rpm: add manual update for opensuse
Tomas Krizek [Fri, 22 Nov 2019 09:46:29 +0000 (10:46 +0100)]
distro/*: run upgrade-4-to-5 scripts for rpm/deb packages
Tomas Krizek [Mon, 25 Nov 2019 15:49:01 +0000 (16:49 +0100)]
utils/upgrade-4-to-5: socket->net_listen conversion script
Tomas Krizek [Fri, 24 Jan 2020 12:16:11 +0000 (13:16 +0100)]
Merge branch 'policy-reroute' into 'master'
policy and daf modules: fix reroute rules
See merge request knot/knot-resolver!901
Vladimír Čunát [Thu, 23 Jan 2020 16:30:33 +0000 (17:30 +0100)]
lua: be stricter around nonsense returned from modules
Well, the part about giving semantics to nil actually
decreases strictness.
Vladimír Čunát [Thu, 23 Jan 2020 14:25:16 +0000 (15:25 +0100)]
modules/policy: make postrules useful
In finish() phase DONE is (almost?) always set, so it didn't make sense.
The mistake came from
c16728f5 !678.
Vladimír Čunát [Thu, 23 Jan 2020 14:19:58 +0000 (15:19 +0100)]
modules/renumber: don't accidentally zero-out .state
It was possible for some failures to disappear that way.
Tomas Krizek [Thu, 23 Jan 2020 12:58:28 +0000 (13:58 +0100)]
modules/daf: test rewrite module applies to hints
Credit goes to https://github.com/hasnat/knot-resolver-issue-66
Vladimír Čunát [Tue, 3 Dec 2019 13:19:41 +0000 (14:19 +0100)]
modules/renumber: rename a module-global variable
... to avoid shadowing which broke lint:other in CI.
And add NEWS entry.
Hasnat [Sat, 30 Nov 2019 12:22:59 +0000 (12:22 +0000)]
Fix prefixes passed in via daf or policy
Vladimír Čunát [Tue, 21 Jan 2020 18:46:48 +0000 (19:46 +0100)]
Merge !925: Remove systemd socket activation
Vladimír Čunát [Tue, 21 Jan 2020 14:51:47 +0000 (15:51 +0100)]
doc: remove parts exclusive for systemd socket activation
Well, the `view` note applies to any sockets passed from a supervisor,
but together that seems a very exotic combination.
Tomas Krizek [Tue, 21 Jan 2020 16:52:13 +0000 (17:52 +0100)]
doc/upgrading: use backticks to make examples copy-pasteable
Tomas Krizek [Tue, 21 Jan 2020 16:19:53 +0000 (17:19 +0100)]
daemon/lua: rename config to postconfig
Tomas Krizek [Mon, 20 Jan 2020 13:28:24 +0000 (14:28 +0100)]
doc/upgrading: add network interface upgrade info
Tomas Krizek [Mon, 20 Jan 2020 12:19:45 +0000 (13:19 +0100)]
modules/http: silence -Wunused-result for debug_openssl
Tomas Krizek [Mon, 20 Jan 2020 11:30:35 +0000 (12:30 +0100)]
distro/arch: point users to upgrading guide during upgrade
Tomas Krizek [Mon, 20 Jan 2020 09:46:00 +0000 (10:46 +0100)]
doc: update man kresd.8
Tomas Krizek [Mon, 20 Jan 2020 09:33:43 +0000 (10:33 +0100)]
systemd: update man kresd.systemd
Tomas Krizek [Thu, 16 Jan 2020 13:14:57 +0000 (14:14 +0100)]
distro/rpm: one does not simply build doc package for CentOS 7
Tomas Krizek [Thu, 16 Jan 2020 15:59:44 +0000 (16:59 +0100)]
systemd: use tmpfiles to create cache dir
Tomas Krizek [Thu, 16 Jan 2020 14:25:33 +0000 (15:25 +0100)]
doc/build: update systemd instructions
Tomas Krizek [Thu, 16 Jan 2020 13:47:36 +0000 (14:47 +0100)]
distro/tests: fix DoH test
Tomas Krizek [Thu, 16 Jan 2020 13:45:04 +0000 (14:45 +0100)]
etc/config: add freebind=true to IPv6 in default config
In some environments, e.g. VMs, even the IPv6 loopback may
not be available. Using freebind allows the service to start up with
default configuration without requiring the user to change interfaces.
Tomas Krizek [Thu, 16 Jan 2020 13:34:51 +0000 (14:34 +0100)]
distro/rpm: make daemon-reload more robust
Tomas Krizek [Thu, 16 Jan 2020 10:57:51 +0000 (11:57 +0100)]
distro/rpm: try to fix opensuse missing systemctl
Tomas Krizek [Wed, 15 Jan 2020 16:59:20 +0000 (17:59 +0100)]
distro/rpm: remove systemd socket activation
Tomas Krizek [Wed, 15 Jan 2020 16:46:04 +0000 (17:46 +0100)]
distro/rpm: remove misleading comment
The services appear to be restarted on CentOS 7.
Tomas Krizek [Wed, 15 Jan 2020 16:30:40 +0000 (17:30 +0100)]
distro/deb: update systemd packaging
Tomas Krizek [Wed, 15 Jan 2020 16:21:33 +0000 (17:21 +0100)]
daemon/lua: warn instead of error on failed control socket binds
Tomas Krizek [Wed, 15 Jan 2020 16:20:25 +0000 (17:20 +0100)]
doc/net_server: rename example control socket
Tomas Krizek [Wed, 15 Jan 2020 15:33:35 +0000 (16:33 +0100)]
lua: add distro-preconfig
The preconfig is used to set distro-specific values to avoid messing
with user config, in partciular:
- binding to control sockets under systemd
- setting default cache location
Tomas Krizek [Wed, 15 Jan 2020 13:16:56 +0000 (14:16 +0100)]
daemon: remove systemd socket activation support
Tomas Krizek [Wed, 15 Jan 2020 09:51:23 +0000 (10:51 +0100)]
systemd: remove files for socket-activation
Tomas Krizek [Tue, 14 Jan 2020 13:45:15 +0000 (14:45 +0100)]
etc/config: changing cache.storage is not recommended
Tomas Krizek [Tue, 14 Jan 2020 13:26:12 +0000 (14:26 +0100)]
etc/config: remove snippet for disabling dnssec
Tomas Krizek [Tue, 14 Jan 2020 13:08:11 +0000 (14:08 +0100)]
etc/config: use net.listen() syntax for configs
- meson templating no longer needed
- commented out DoH/webmgmt configuration removed
- added explicit port 53 and kind=dns
Vladimír Čunát [Tue, 21 Jan 2020 14:09:33 +0000 (15:09 +0100)]
Merge !926: doc nitpicks
Vladimír Čunát [Tue, 21 Jan 2020 14:01:35 +0000 (15:01 +0100)]
doc modules/policy: kill old ODVR addresses in example
These addresses have been deprecated for quite some time,
and this month they were even shut down.
Vladimír Čunát [Mon, 11 Nov 2019 11:34:26 +0000 (12:34 +0100)]
NEWS: fix a typo (old, 4.0.0)
Tomas Krizek [Fri, 17 Jan 2020 14:48:54 +0000 (15:48 +0100)]
Merge branch 'deprecate-forking' into 'master'
Deprecate forking
Closes #529
See merge request knot/knot-resolver!919
Vladimír Čunát [Fri, 17 Jan 2020 13:43:18 +0000 (14:43 +0100)]
NEWS, upgrading: document deprecation of --forks
Vladimír Čunát [Thu, 9 Jan 2020 14:53:10 +0000 (15:53 +0100)]
deprecate --forks and map()
- reduce visibility in docs
- add deprecation warnings (docs and stderr)
Vladimír Čunát [Thu, 9 Jan 2020 14:04:16 +0000 (15:04 +0100)]
treewide: use --noninteractive instead of --forks
Vladimír Čunát [Thu, 9 Jan 2020 13:51:44 +0000 (14:51 +0100)]
main: tidy up getopt
- consistent order of the options on the three places in parse_args()
- drop remains of -m -k -K
It didn't seem to cause any problems except confusion in
$ kresd -k
kresd: option requires an argument -- 'k'
Vladimír Čunát [Thu, 9 Jan 2020 13:47:04 +0000 (14:47 +0100)]
main: add --noninteractive command-line option
Vladimír Čunát [Fri, 17 Jan 2020 13:58:21 +0000 (14:58 +0100)]
Merge !922: unify control sockets handling
Vladimír Čunát [Fri, 17 Jan 2020 12:41:36 +0000 (13:41 +0100)]
daemon/network endpoint_close(): don't leak "control"
Tomas Krizek [Fri, 17 Jan 2020 11:35:04 +0000 (12:35 +0100)]
daemon/io: code style
Vladimír Čunát [Fri, 17 Jan 2020 10:09:22 +0000 (11:09 +0100)]
CI lint:scan-build: correct the number of errors
https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/922#note_138260