]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
2 months agotests: adapt knot/test_confio to configuration schema ms312
Daniel Salzman [Thu, 9 Oct 2025 12:22:54 +0000 (14:22 +0200)] 
tests: adapt knot/test_confio to configuration schema

2 months agoconfigure: disable custom modules (workaround)
Daniel Salzman [Thu, 9 Oct 2025 12:15:02 +0000 (14:15 +0200)] 
configure: disable custom modules (workaround)

2 months agoprocess-query: hide custom EDNS (workaround)
Daniel Salzman [Thu, 9 Oct 2025 11:41:45 +0000 (13:41 +0200)] 
process-query: hide custom EDNS (workaround)

2 months agoconfigure: don't use new incompatible libbpf (workaround)
Daniel Salzman [Thu, 9 Oct 2025 09:35:50 +0000 (11:35 +0200)] 
configure: don't use new incompatible libbpf (workaround)

2 months agoinit
Daniel Salzman [Mon, 6 Oct 2025 13:18:12 +0000 (15:18 +0200)] 
init

4 years agoBump version 3.1.2 v3.1.2
Daniel Salzman [Wed, 8 Sep 2021 11:53:40 +0000 (13:53 +0200)] 
Bump version 3.1.2

4 years agoNEWS: add version 3.1.2
Daniel Salzman [Wed, 8 Sep 2021 10:17:46 +0000 (12:17 +0200)] 
NEWS: add version 3.1.2

4 years agoconf: log warning instead of returning error if database.storage or explicit database...
Daniel Salzman [Wed, 8 Sep 2021 11:38:23 +0000 (13:38 +0200)] 
conf: log warning instead of returning error if database.storage or explicit database destination invalid

4 years agodnssec: avoid planning signing event just to delete deleted keys
Libor Peltan [Fri, 3 Sep 2021 11:59:35 +0000 (13:59 +0200)] 
dnssec: avoid planning signing event just to delete deleted keys

4 years agodnssec: configurable period before deleting deleted keys
Libor Peltan [Fri, 3 Sep 2021 09:30:05 +0000 (11:30 +0200)] 
dnssec: configurable period before deleting deleted keys

4 years agodnssec: preserve deleted keys for one more lifetime
Libor Peltan [Thu, 12 Aug 2021 09:50:50 +0000 (11:50 +0200)] 
dnssec: preserve deleted keys for one more lifetime

4 years agorrset-wire: fix comparison of narrow type with wide type in loop condition (lgtm...
Daniel Salzman [Tue, 7 Sep 2021 11:26:45 +0000 (13:26 +0200)] 
rrset-wire: fix comparison of narrow type with wide type in loop condition (lgtm.com)

4 years agods query: dont replan if no ready key
Libor Peltan [Tue, 7 Sep 2021 10:07:20 +0000 (12:07 +0200)] 
ds query: dont replan if no ready key

4 years agoacl: apply deny rule without tsig to queries with tsig present
Daniel Salzman [Mon, 6 Sep 2021 14:11:11 +0000 (16:11 +0200)] 
acl: apply deny rule without tsig to queries with tsig present

4 years agodistro/deb: remove obsolete knot.maintscript
Daniel Salzman [Tue, 7 Sep 2021 08:57:09 +0000 (10:57 +0200)] 
distro/deb: remove obsolete knot.maintscript

4 years agodistro/deb: update copyright
Daniel Salzman [Tue, 7 Sep 2021 08:01:32 +0000 (10:01 +0200)] 
distro/deb: update copyright

4 years agodoc: fix typo in xdp.tcp description
Daniel Salzman [Tue, 7 Sep 2021 07:35:56 +0000 (09:35 +0200)] 
doc: fix typo in xdp.tcp description

4 years agojournal: serialize to chunks usually smaller than 4 pages...
Libor Peltan [Mon, 6 Sep 2021 13:48:53 +0000 (15:48 +0200)] 
journal: serialize to chunks usually smaller than 4 pages...

...in order to mitigate LMDB free space fragmentation to some degree

4 years agoconf: reload zone if zonemd-generate or zonemd-verify changed dynamically
Libor Peltan [Thu, 2 Sep 2021 14:33:51 +0000 (16:33 +0200)] 
conf: reload zone if zonemd-generate or zonemd-verify changed dynamically

4 years agodoc: update zonemd-generate option details
Libor Peltan [Thu, 2 Sep 2021 14:33:00 +0000 (16:33 +0200)] 
doc: update zonemd-generate option details

4 years agozonemd: reflect changes in configuration when reloaded
Libor Peltan [Thu, 2 Sep 2021 14:27:48 +0000 (16:27 +0200)] 
zonemd: reflect changes in configuration when reloaded

4 years agozonemd: create hash and bump serial when turned on
Libor Peltan [Fri, 20 Aug 2021 13:17:09 +0000 (15:17 +0200)] 
zonemd: create hash and bump serial when turned on

4 years agokeymgr: new -D param instead of deprecated -d
Libor Peltan [Mon, 2 Aug 2021 16:30:21 +0000 (18:30 +0200)] 
keymgr: new -D param instead of deprecated -d

4 years agoworker: rename task_t to worker_task_t to fix redefinition issues with liburcu 0...
Daniel Salzman [Sun, 5 Sep 2021 18:07:50 +0000 (20:07 +0200)] 
worker: rename task_t to worker_task_t to fix redefinition issues with liburcu 0.13.0 on ARM/macOS

4 years agodnssec-validate: also verify that ent over non-opt-outed deleg is not opt-outed 2
Libor Peltan [Wed, 1 Sep 2021 12:12:59 +0000 (14:12 +0200)] 
dnssec-validate: also verify that ent over non-opt-outed deleg is not opt-outed 2

4 years agodnssec-validate: also check nodes affected by changes of NSEC3 chain...
Libor Peltan [Wed, 1 Sep 2021 11:12:46 +0000 (13:12 +0200)] 
dnssec-validate: also check nodes affected by changes of NSEC3 chain...

...this especially covers the case when only NSEC3 chain is changed, and thus a_ctx->node_ptrs empty

4 years agozone-load: tiny cleanup
Daniel Salzman [Wed, 1 Sep 2021 13:27:56 +0000 (15:27 +0200)] 
zone-load: tiny cleanup

4 years agozone: tell apart an empty zone and other errors
David Vašek [Tue, 31 Aug 2021 07:58:05 +0000 (09:58 +0200)] 
zone: tell apart an empty zone and other errors

4 years agolibknot/error: add a new error code -- KNOT_EEMPTYZONE
David Vašek [Tue, 31 Aug 2021 07:51:24 +0000 (09:51 +0200)] 
libknot/error: add a new error code -- KNOT_EEMPTYZONE

4 years agoxdp: don't increase RLIMIT_MEMLOCK on Linux >= 5.11, not needed
Daniel Salzman [Fri, 27 Aug 2021 06:48:44 +0000 (08:48 +0200)] 
xdp: don't increase RLIMIT_MEMLOCK on Linux >= 5.11, not needed

4 years agokxdpgun: fix error message if failed to get MAC
Daniel Salzman [Fri, 27 Aug 2021 07:28:11 +0000 (09:28 +0200)] 
kxdpgun: fix error message if failed to get MAC

4 years agokxdpgun: don't print usage if error
Daniel Salzman [Fri, 27 Aug 2021 07:21:20 +0000 (09:21 +0200)] 
kxdpgun: don't print usage if error

4 years agonsec3: simplify chain creation
Libor Peltan [Mon, 30 Aug 2021 15:27:42 +0000 (17:27 +0200)] 
nsec3: simplify chain creation

4 years agobugfix: fix answering with opt-outed NSEC3 on empty-non-terminal
Libor Peltan [Mon, 30 Aug 2021 12:15:32 +0000 (14:15 +0200)] 
bugfix: fix answering with opt-outed NSEC3 on empty-non-terminal

4 years agodistro/tests: update to leap 15.3
Tomas Krizek [Thu, 26 Aug 2021 14:40:34 +0000 (16:40 +0200)] 
distro/tests: update to leap 15.3

4 years agodistro/tests: add Debian 11
Tomas Krizek [Thu, 19 Aug 2021 11:44:08 +0000 (13:44 +0200)] 
distro/tests: add Debian 11

4 years agokdig: fix double free when query times out
Daniel Salzman [Thu, 26 Aug 2021 06:20:06 +0000 (08:20 +0200)] 
kdig: fix double free when query times out

fixes #763

4 years agokdig: add +[no]keepopen to the help
Daniel Salzman [Wed, 25 Aug 2021 12:38:10 +0000 (14:38 +0200)] 
kdig: add +[no]keepopen to the help

4 years agokdig: add +keepopen parameter
Jan Hak [Tue, 17 Aug 2021 11:33:23 +0000 (13:33 +0200)] 
kdig: add +keepopen parameter

closes #503

4 years agokxdpgun: better help
Jan Hak [Tue, 10 Aug 2021 14:26:14 +0000 (16:26 +0200)] 
kxdpgun: better help

4 years agodoc: fix xdp timeout item names
Daniel Salzman [Tue, 24 Aug 2021 15:55:55 +0000 (17:55 +0200)] 
doc: fix xdp timeout item names

4 years agodistro/deb/control: improve Multi-Arch hints
Jakub Ružička [Tue, 24 Aug 2021 15:20:02 +0000 (17:20 +0200)] 
distro/deb/control: improve Multi-Arch hints

Changes suggested by Multi-Arch hinter:

* libknot-dev conflicts on /usr/include/libknot/libknot.h on armel <-> amd64, arm64, armhf, and 5 more
* knot-module-dnstap could be marked Multi-Arch: same
* knot-module-geoip could be marked Multi-Arch: same

4 years agogitlab-ci: fix dependency on clang-9
Daniel Salzman [Tue, 24 Aug 2021 08:50:40 +0000 (10:50 +0200)] 
gitlab-ci: fix dependency on clang-9

4 years agozone-backup: silent static analyzer tools
David Vašek [Tue, 24 Aug 2021 08:10:42 +0000 (10:10 +0200)] 
zone-backup: silent static analyzer tools

Creating backups in obsolete format won't ever happen.

4 years agoxdp: tiny refactoring, mute Coverity
Daniel Salzman [Tue, 24 Aug 2021 07:17:48 +0000 (09:17 +0200)] 
xdp: tiny refactoring, mute Coverity

4 years agotests: mute Coverity
Daniel Salzman [Tue, 24 Aug 2021 06:36:03 +0000 (08:36 +0200)] 
tests: mute Coverity

4 years agohttps: fix possible out-of-bounds access (Coverity)
Daniel Salzman [Mon, 23 Aug 2021 07:21:29 +0000 (09:21 +0200)] 
https: fix possible out-of-bounds access (Coverity)

4 years agozone-diff: fix possible uninitialized pointer read (Coverity)
Daniel Salzman [Mon, 23 Aug 2021 07:13:21 +0000 (09:13 +0200)] 
zone-diff: fix possible uninitialized pointer read (Coverity)

4 years agokjournalprint: add options for turning output colorization on and off
David Vašek [Thu, 19 Aug 2021 09:21:55 +0000 (11:21 +0200)] 
kjournalprint: add options for turning output colorization on and off

4 years agokjournalprint: use color macros from contrib
Daniel Salzman [Tue, 17 Aug 2021 12:44:20 +0000 (14:44 +0200)] 
kjournalprint: use color macros from contrib

4 years agokeymgr: add an option for turning colorization off
David Vašek [Tue, 17 Aug 2021 20:41:53 +0000 (22:41 +0200)] 
keymgr: add an option for turning colorization off

4 years agokeymgr: colorize output to terminals only
David Vašek [Tue, 17 Aug 2021 20:40:07 +0000 (22:40 +0200)] 
keymgr: colorize output to terminals only

4 years agokeymgr: add colored brief mode for listing keys
Daniel Salzman [Tue, 17 Aug 2021 06:14:04 +0000 (08:14 +0200)] 
keymgr: add colored brief mode for listing keys

4 years agokeymgr: don't print OK if show-offline succeeded
Daniel Salzman [Tue, 17 Aug 2021 12:28:04 +0000 (14:28 +0200)] 
keymgr: don't print OK if show-offline succeeded

4 years agocontrib: add macros for terminal colors
Daniel Salzman [Tue, 17 Aug 2021 11:36:42 +0000 (13:36 +0200)] 
contrib: add macros for terminal colors

4 years agodoc/knotc: correct some markups
David Vašek [Thu, 19 Aug 2021 12:43:06 +0000 (14:43 +0200)] 
doc/knotc: correct some markups

4 years agodoc/knotc: mention the necessary directory permissions for zone-flush, zone-backup...
David Vašek [Fri, 13 Aug 2021 21:45:10 +0000 (23:45 +0200)] 
doc/knotc: mention the necessary directory permissions for zone-flush, zone-backup, and zone-restore

4 years agodoc/operation: in Online backup, mention the necessary access rights of the backup...
David Vašek [Fri, 13 Aug 2021 12:35:12 +0000 (14:35 +0200)] 
doc/operation: in Online backup, mention the necessary access rights of the backup directory

It is a frequently asked question from users.

4 years agoconf: improve error log message of previous check
Daniel Salzman [Thu, 19 Aug 2021 12:53:56 +0000 (14:53 +0200)] 
conf: improve error log message of previous check

4 years agoconf: check writability of storage and databases
Libor Peltan [Tue, 10 Aug 2021 15:47:10 +0000 (17:47 +0200)] 
conf: check writability of storage and databases

4 years agofix: store master serial once on-slave-signing turned on...
Libor Peltan [Wed, 18 Aug 2021 15:52:29 +0000 (17:52 +0200)] 
fix: store master serial once on-slave-signing turned on...

...in case the zone had been XFRed before, the master serial
was not stored and after local signing, it was doomed

4 years agoconfio: fix stack-use-after-scope when processing check error
Daniel Salzman [Tue, 17 Aug 2021 16:19:09 +0000 (18:19 +0200)] 
confio: fix stack-use-after-scope when processing check error

4 years agokdig: fix misaligned address load when printing EDE
Daniel Salzman [Mon, 16 Aug 2021 11:20:09 +0000 (13:20 +0200)] 
kdig: fix misaligned address load when printing EDE

4 years agoyparser: allow UTF-8 characters in item data
Daniel Salzman [Mon, 16 Aug 2021 10:25:11 +0000 (12:25 +0200)] 
yparser: allow UTF-8 characters in item data

4 years agozonemd: fix reporting error when verify fails on load
Libor Peltan [Sat, 14 Aug 2021 06:46:40 +0000 (08:46 +0200)] 
zonemd: fix reporting error when verify fails on load

4 years agocatalog: fix conf conflict detection
Libor Peltan [Fri, 13 Aug 2021 17:43:20 +0000 (19:43 +0200)] 
catalog: fix conf conflict detection

4 years agolibzscanner: add missing output buffer overflow checks to SVCB processing (oss-fuzz...
Daniel Salzman [Sat, 14 Aug 2021 13:11:21 +0000 (15:11 +0200)] 
libzscanner: add missing output buffer overflow checks to SVCB processing (oss-fuzz, asan)

4 years agoBump version 3.1.1 v3.1.1
Daniel Salzman [Tue, 10 Aug 2021 06:57:27 +0000 (08:57 +0200)] 
Bump version 3.1.1

4 years agoNEWS: add version 3.1.1
Daniel Salzman [Tue, 10 Aug 2021 06:16:56 +0000 (08:16 +0200)] 
NEWS: add version 3.1.1

4 years agodoc: remove reverted libzscanner change from migration
Daniel Salzman [Tue, 10 Aug 2021 06:16:23 +0000 (08:16 +0200)] 
doc: remove reverted libzscanner change from migration

4 years agomod-rrl: always log qname which triggered the action
Daniel Salzman [Tue, 10 Aug 2021 05:34:41 +0000 (07:34 +0200)] 
mod-rrl: always log qname which triggered the action

4 years agojournal: avoid discontinuity after manually flushing with zone-in-journal
Libor Peltan [Mon, 9 Aug 2021 14:45:44 +0000 (16:45 +0200)] 
journal: avoid discontinuity after manually flushing with zone-in-journal

4 years agodoc: add TCP option into kxdpgun doc
Jan Hak [Mon, 9 Aug 2021 12:33:56 +0000 (14:33 +0200)] 
doc: add TCP option into kxdpgun doc

4 years agosphinx: change configuration to disable convert double-dashes into single unicode...
Jan Hak [Mon, 9 Aug 2021 13:23:40 +0000 (15:23 +0200)] 
sphinx: change configuration to disable convert double-dashes into single unicode character

4 years agoRevert "doc/knotc: fix a typesetting issue"
Jan Hak [Mon, 9 Aug 2021 13:05:44 +0000 (15:05 +0200)] 
Revert "doc/knotc: fix a typesetting issue"

This reverts commit d63f136da7eab6bdb81b53de7fcb4cdecb3e7913.

4 years agodoc: unify terminology in catalog zones section
Daniel Salzman [Mon, 9 Aug 2021 14:30:22 +0000 (16:30 +0200)] 
doc: unify terminology in catalog zones section

4 years agocatalog: document that all zones are reloaded upon catz update
Libor Peltan [Mon, 9 Aug 2021 10:02:53 +0000 (12:02 +0200)] 
catalog: document that all zones are reloaded upon catz update

4 years agocatalog: bugfix: count update count correctly
Libor Peltan [Mon, 9 Aug 2021 09:56:15 +0000 (11:56 +0200)] 
catalog: bugfix: count update count correctly

4 years agocatalog: avoid opening catalogDB from worker threads...
Libor Peltan [Mon, 9 Aug 2021 09:27:03 +0000 (11:27 +0200)] 
catalog: avoid opening catalogDB from worker threads...

...in case of concurrency, it might lead to server crash on startup
this way, catalogDB is only opened from main thread in advance

4 years agoserver: add conf mapsize to log message
Daniel Salzman [Fri, 6 Aug 2021 13:36:22 +0000 (15:36 +0200)] 
server: add conf mapsize to log message

4 years agosystemd: add KNOT_CONF_MAX_SIZE env variable to ExecStart parameters
Daniel Salzman [Fri, 6 Aug 2021 13:25:28 +0000 (15:25 +0200)] 
systemd: add KNOT_CONF_MAX_SIZE env variable to ExecStart parameters

4 years agosystemd: add KNOT_ prefix to ZONE_LOAD_TIMEOUT_SEC
Daniel Salzman [Fri, 6 Aug 2021 13:18:17 +0000 (15:18 +0200)] 
systemd: add KNOT_ prefix to ZONE_LOAD_TIMEOUT_SEC

4 years agomod-rrl: add qname to log messages
Daniel Salzman [Fri, 6 Aug 2021 11:25:43 +0000 (13:25 +0200)] 
mod-rrl: add qname to log messages

4 years agoRevert "zscanner: set unspecified TTL in compliance with RFC-1035"
Daniel Salzman [Mon, 9 Aug 2021 06:05:03 +0000 (08:05 +0200)] 
Revert "zscanner: set unspecified TTL in compliance with RFC-1035"

This reverts commit 5849fad7148127e806097da69d6d54018c6c3b8e.

fixes #751

4 years agobugfix/dnssec: sign NSECs correctly
Libor Peltan [Thu, 5 Aug 2021 08:55:57 +0000 (10:55 +0200)] 
bugfix/dnssec: sign NSECs correctly

previously, adding RRSIG to the signed node confused
iteration over RRSets, leading to duplicit RRSIGs
of some NSEC(3)s

4 years agorpm: use autosetup macro to apply patches
Jakub Ružička [Wed, 4 Aug 2021 14:33:17 +0000 (16:33 +0200)] 
rpm: use autosetup macro to apply patches

%autosetup macro takes care of applying patches without the need
for redundant %patch lines and their management.

4 years agokeymgr: default timers for in case missing in bind format
Libor Peltan [Wed, 4 Aug 2021 12:21:25 +0000 (14:21 +0200)] 
keymgr: default timers for in case missing in bind format

4 years agotest/journal: enable 64k (and other weird) page size
Libor Peltan [Tue, 3 Aug 2021 20:07:19 +0000 (22:07 +0200)] 
test/journal: enable 64k (and other weird) page size

4 years agokdig: don't show section names when +noall option is set
Jan Hak [Wed, 4 Aug 2021 09:53:29 +0000 (11:53 +0200)] 
kdig: don't show section names when +noall option is set

fixes #749

4 years agorpm: enable XDP on ARM
Jakub Ružička [Mon, 2 Aug 2021 13:35:18 +0000 (15:35 +0200)] 
rpm: enable XDP on ARM

Also enable XDP by default and only disable on distros where not
supported. This should be a better default going forward as XDP
implementation matures.

closes !1335 !1337

4 years agoucw lists: fix overlapping structures causing a problems at arm architectures
Jan Hak [Fri, 30 Jul 2021 14:49:52 +0000 (16:49 +0200)] 
ucw lists: fix overlapping structures causing a problems at arm architectures

4 years agokxdpgun: use proper printf formatters to mute warnings on minor platforms
Daniel Salzman [Wed, 4 Aug 2021 08:55:53 +0000 (10:55 +0200)] 
kxdpgun: use proper printf formatters to mute warnings on minor platforms

4 years agopython: add long_description_content_type to setup.py
Daniel Salzman [Mon, 2 Aug 2021 07:51:54 +0000 (09:51 +0200)] 
python: add long_description_content_type to setup.py

4 years agoBump version 3.1.0 v3.1.0
Daniel Salzman [Sun, 1 Aug 2021 18:22:20 +0000 (20:22 +0200)] 
Bump version 3.1.0

4 years agoNEWS: add version 3.1.0
Daniel Salzman [Wed, 28 Jul 2021 06:26:46 +0000 (08:26 +0200)] 
NEWS: add version 3.1.0

4 years agopython: brief description of the Python API in README.md
Jan Hak [Tue, 27 Jul 2021 14:48:21 +0000 (16:48 +0200)] 
python: brief description of the Python API in README.md

4 years agoMerge branch 'test_ksk_rollovers' into 'master'
Daniel Salzman [Fri, 30 Jul 2021 14:30:44 +0000 (14:30 +0000)] 
Merge branch 'test_ksk_rollovers' into 'master'

tests: added more uncluttered KSK rollover test...

See merge request knot/knot-dns!1334

4 years agotests: added more uncluttered KSK rollover test...
Libor Peltan [Fri, 30 Jul 2021 14:11:39 +0000 (16:11 +0200)] 
tests: added more uncluttered KSK rollover test...

...also checking DS-TTL delay after submission

4 years agodoc: extend shared-ksk limitations
Daniel Salzman [Thu, 29 Jul 2021 20:14:41 +0000 (22:14 +0200)] 
doc: extend shared-ksk limitations

4 years agodoc: extend 'xdp.tcp' reference
Daniel Salzman [Thu, 29 Jul 2021 17:07:30 +0000 (19:07 +0200)] 
doc: extend 'xdp.tcp' reference