]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Thu, 3 Feb 2022 12:45:40 +0000 (13:45 +0100)]
knsupdate: don't crash if missing prereq parameters
Daniel Salzman [Thu, 3 Feb 2022 12:26:46 +0000 (13:26 +0100)]
knsupdate: log error if unsupported command
Daniel Salzman [Thu, 3 Feb 2022 12:03:29 +0000 (13:03 +0100)]
man: update kzonesign
Daniel Salzman [Thu, 3 Feb 2022 12:02:40 +0000 (13:02 +0100)]
knsupdate: previous parsing error no longer affects next commands
Daniel Salzman [Thu, 3 Feb 2022 11:44:36 +0000 (12:44 +0100)]
man/knsupdate: add description of the interactive mode
Daniel Salzman [Thu, 3 Feb 2022 11:39:56 +0000 (12:39 +0100)]
knsupdate: don't print two similar errors
Jan Hák [Thu, 3 Feb 2022 10:14:47 +0000 (11:14 +0100)]
knsupdate: adds the 'exit' command as a synonym to the existing 'quit'
Jan Hák [Wed, 2 Feb 2022 11:55:54 +0000 (12:55 +0100)]
knsupdate: use of libedit in interactive mode with history and completion
Daniel Salzman [Wed, 2 Feb 2022 16:05:49 +0000 (17:05 +0100)]
man/kzonesign: extend utility description
Daniel Salzman [Wed, 2 Feb 2022 15:54:25 +0000 (16:54 +0100)]
doc/mod-probe: add link to simple python client
Daniel Salzman [Wed, 2 Feb 2022 15:33:38 +0000 (16:33 +0100)]
Merge branch 'fix_test_dnsproxy' into 'master'
modules/dnsproxy -- test well even in case of conflicting zones
See merge request knot/knot-dns!1422
David Vašek [Fri, 21 Jan 2022 16:36:28 +0000 (17:36 +0100)]
tests-extra: modules/dnsproxy -- test well even in case of conflicting zones
This change handles the situation when the remote zone is a subzone of the local zone
David Vašek [Tue, 1 Feb 2022 17:41:02 +0000 (18:41 +0100)]
knotc: in zone-purge, support tab-completion of multiple zones
David Vašek [Tue, 1 Feb 2022 16:56:10 +0000 (17:56 +0100)]
doc/knotd: document the use of a SIGUSR1 signal (reload all zones)
David Vašek [Tue, 1 Feb 2022 16:54:02 +0000 (17:54 +0100)]
doc/knotc: update zone-status and zone-purge wrt all-zones operations
David Vašek [Mon, 31 Jan 2022 13:42:20 +0000 (14:42 +0100)]
samples: dbus_client.sh -- allow event specific processing
David Vašek [Mon, 31 Jan 2022 12:34:04 +0000 (13:34 +0100)]
samples: improve the portability of dbus_client.sh
It works with the original (BWK) awk (BSD's, iOS, Android, illumos)
and with most Bourne shells (/bin/sh). However, (Debian's) dash isn't
supported yet when run as /bin/sh.
Libor Peltan [Mon, 31 Jan 2022 15:26:17 +0000 (16:26 +0100)]
Merge branch 'dbus-keyid' into 'master'
Add key id parameter to zone_ksk_submission dbus signal
See merge request knot/knot-dns!1425
Jan Hák [Thu, 27 Jan 2022 08:36:43 +0000 (09:36 +0100)]
tests-extra: endless run
Jan Hák [Wed, 26 Jan 2022 14:43:36 +0000 (15:43 +0100)]
tests-extra: stop testing execution on first error occured
Daniel Salzman [Sat, 29 Jan 2022 20:30:28 +0000 (21:30 +0100)]
dbus: add key id parameter to zone_ksk_submission signal
Libor Peltan [Mon, 31 Jan 2022 12:42:50 +0000 (13:42 +0100)]
Merge branch 'xfr_freeze' into 'master'
implemented outgoing XFR freeze/thaw
See merge request knot/knot-dns!1168
Libor Peltan [Mon, 17 Aug 2020 15:43:39 +0000 (17:43 +0200)]
Implemented outgoing XFR freeze/thaw
Daniel Salzman [Wed, 26 Jan 2022 18:24:54 +0000 (19:24 +0100)]
Merge branch 'deb-kdig-test' into 'master'
deb/tests/kdig: make the test more stable
See merge request knot/knot-dns!1424
Jakub Ružička [Wed, 26 Jan 2022 17:59:46 +0000 (18:59 +0100)]
deb/tests/kdig: make the test more stable
Daniel Salzman [Wed, 26 Jan 2022 17:42:33 +0000 (18:42 +0100)]
Merge branch 'debhelper11' into 'master'
deb: switch to debhelper 11, sync from downstream
See merge request knot/knot-dns!1423
Daniel Salzman [Wed, 26 Jan 2022 09:16:32 +0000 (10:16 +0100)]
distro/rpm: unify home_dir for user knot to /var/lib/knot
Daniel Salzman [Wed, 26 Jan 2022 08:21:39 +0000 (09:21 +0100)]
Dockerfile: facilitate the use of unprivileged container
Based on work by Pierre-Olivier Mercier <nemunaire@nemunai.re>
closes #783
Jakub Ružička [Mon, 24 Jan 2022 14:15:00 +0000 (15:15 +0100)]
deb: sync autopkgtests from Debian downstream
Jakub Ružička [Mon, 24 Jan 2022 14:10:36 +0000 (15:10 +0100)]
deb: split .manpages from .install
Jakub Ružička [Mon, 17 Jan 2022 13:09:12 +0000 (14:09 +0100)]
deb: use debhelper >= 11
Daniel Salzman [Mon, 24 Jan 2022 16:07:39 +0000 (17:07 +0100)]
distro/rpm: fix source path to cz.nic.knotd.conf
Daniel Salzman [Thu, 20 Jan 2022 13:00:17 +0000 (14:00 +0100)]
Merge branch 'key_roll_dup_log' into 'master'
key-rollover: dont duplicate final routines in case of recursion
See merge request knot/knot-dns!1421
Libor Peltan [Thu, 20 Jan 2022 10:51:04 +0000 (11:51 +0100)]
key-rollover: dont duplicate final routines in case of recursion
Libor Peltan [Thu, 20 Jan 2022 08:52:26 +0000 (09:52 +0100)]
Merge branch 'txt_dname_max' into 'master'
Fixed KNOT_DNAME_TXT_MAXLEN
Closes #781
See merge request knot/knot-dns!1420
Daniel Salzman [Wed, 19 Jan 2022 18:05:26 +0000 (19:05 +0100)]
Fix incorrect use of KNOT_DNAME_TXT_MAXLEN
Daniel Salzman [Wed, 19 Jan 2022 18:01:43 +0000 (19:01 +0100)]
dname: fix KNOT_DNAME_TXT_MAXLEN constant
Libor Peltan [Tue, 18 Jan 2022 18:15:26 +0000 (19:15 +0100)]
Merge branch 'dbus' into 'master'
D-Bus notifications
See merge request knot/knot-dns!1419
Daniel Salzman [Mon, 17 Jan 2022 20:34:09 +0000 (21:34 +0100)]
distro: install dbus config file for deb and rpm
Jan Hák [Tue, 11 Jan 2022 13:20:01 +0000 (14:20 +0100)]
samples: add client for python, perl, and bash
Daniel Salzman [Mon, 17 Jan 2022 11:26:59 +0000 (12:26 +0100)]
dbus: simplify config file
Jan Hák [Fri, 7 Jan 2022 13:47:49 +0000 (14:47 +0100)]
dbus: add config file
Daniel Salzman [Mon, 17 Jan 2022 08:36:35 +0000 (09:36 +0100)]
knotd: finaliza D-Bus events
Jan Hák [Fri, 7 Jan 2022 13:13:43 +0000 (14:13 +0100)]
knotd: D-Bus based on systemd's sd_bus
Daniel Salzman [Tue, 18 Jan 2022 13:52:43 +0000 (14:52 +0100)]
tests: mute compile warning on CentOS 7
Libor Peltan [Mon, 10 Jan 2022 16:30:59 +0000 (17:30 +0100)]
Merge branch 'log_pooled_remote' into 'master'
Log if the remote was taken from the pool
See merge request knot/knot-dns!1416
Daniel Salzman [Sat, 8 Jan 2022 20:32:56 +0000 (21:32 +0100)]
knot: log if the remote was taken from the pool, refactoring
Libor Peltan [Mon, 10 Jan 2022 14:08:11 +0000 (15:08 +0100)]
Merge branch 'orig-qname' into 'master'
Preserve QNAME case in knot_pkt_t 'wire' field
Closes #780
See merge request knot/knot-dns!1414
Daniel Salzman [Fri, 7 Jan 2022 08:12:16 +0000 (09:12 +0100)]
pkt: use knot_dname_copy_lower() where appropriate
Daniel Salzman [Fri, 7 Jan 2022 08:11:00 +0000 (09:11 +0100)]
dname: add knot_dname_copy_lower()
Daniel Salzman [Fri, 7 Jan 2022 07:54:55 +0000 (08:54 +0100)]
pkt: copy lowercased QNAME instead of canonicalization in knot_pkt_init_response()
Daniel Salzman [Thu, 6 Jan 2022 19:38:09 +0000 (20:38 +0100)]
pkt: replace 'knot_dname_t *lower_qname' with 'knot_dname_storage_t lower_qname'
Robert Edmonds [Wed, 5 Jan 2022 23:05:00 +0000 (18:05 -0500)]
kdig: compare wire format QNAMEs
This commit updates kdig's check_reply_question() function so that it
compares the original wire format QNAME of the query against the
original wire format QNAME of the response. Using knot_pkt_qname()
instead of knot_pkt_wire_qname() only compares the downcased QNAMEs.
RFC 5452:
4.2. Matching the Question Section
DNS packets, both queries and responses, contain a question section.
Incoming responses should be verified to have a question section that
is equivalent to that of the outgoing query.
I think "equivalent" here means that the case of the QNAMEs should be
compared too.
Robert Edmonds [Wed, 5 Jan 2022 23:02:43 +0000 (18:02 -0500)]
kdig: print QNAME using wire format case
Robert Edmonds [Wed, 5 Jan 2022 22:31:16 +0000 (17:31 -0500)]
pkt: new function to return original wire format QNAME
This commit adds a new function knot_pkt_wire_qname() that returns the
QNAME in the wire format buffer. This is implemented the same as the
original knot_pkt_qname() function before this branch, but now that we
no longer modify the QNAME in the wire format buffer in-place, this
should now be the "original" QNAME as seen off the wire (if the packet
was parsed from a socket buffer).
Robert Edmonds [Wed, 5 Jan 2022 22:07:09 +0000 (17:07 -0500)]
pkt: make knot_pkt_qname() return const*
This commit makes knot_pkt_qname() return a const pointer to indicate to
callers that the contents (the QNAME in the wire format buffer) should
not be modified.
Robert Edmonds [Wed, 5 Jan 2022 22:22:12 +0000 (17:22 -0500)]
nameserver: remove 'orig_qname' field from knotd_qdata_extra
Robert Edmonds [Wed, 5 Jan 2022 22:18:23 +0000 (17:18 -0500)]
Revert "mod-dnstap: Restore the original query QNAME case"
This reverts commit
4a3eb76be83b99b100a8289253205d6e7559821f .
Robert Edmonds [Wed, 5 Jan 2022 22:18:17 +0000 (17:18 -0500)]
Revert "mod-dnstap: Fix corner case in "Restore the original query QNAME case""
This reverts commit
55663f09360c34c5daac5f317bf8e186e581fc29 .
Robert Edmonds [Wed, 5 Jan 2022 22:16:20 +0000 (17:16 -0500)]
Revert "dnsproxy: keep original qname letter case"
This reverts commit
7f3aa3f6a36b26bbb01f291684d6067077c62fa1 .
Robert Edmonds [Wed, 5 Jan 2022 22:06:47 +0000 (17:06 -0500)]
zone-update: remove store_original_qname()
Robert Edmonds [Wed, 5 Jan 2022 22:02:35 +0000 (17:02 -0500)]
nameserver: remove process_query_qname_case_lower(), process_query_qname_case_restore()
Robert Edmonds [Wed, 5 Jan 2022 21:46:04 +0000 (16:46 -0500)]
pkt: initialize 'lower_qname' in knot_pkt_put_question()
Robert Edmonds [Wed, 5 Jan 2022 21:46:04 +0000 (16:46 -0500)]
pkt: initialize 'lower_qname' in knot_pkt_init_response()
Robert Edmonds [Wed, 5 Jan 2022 21:46:04 +0000 (16:46 -0500)]
pkt: free 'lower_qname' in payload_clear()
Robert Edmonds [Wed, 5 Jan 2022 21:46:04 +0000 (16:46 -0500)]
pkt: return pkt->lower_qname from knot_pkt_qname()
Robert Edmonds [Wed, 5 Jan 2022 21:45:40 +0000 (16:45 -0500)]
pkt: initialize 'lower_qname' in knot_pkt_parse_question()
Robert Edmonds [Wed, 5 Jan 2022 21:45:40 +0000 (16:45 -0500)]
pkt: add 'lower_qname' field to knot_pkt
Daniel Salzman [Mon, 10 Jan 2022 07:32:57 +0000 (08:32 +0100)]
distro/deb: update symbols
Daniel Salzman [Fri, 7 Jan 2022 11:57:23 +0000 (12:57 +0100)]
Merge branch 'knsec3hash_params' into 'master'
knsec3hash: alternative params synopsis...
See merge request knot/knot-dns!1415
Libor Peltan [Fri, 7 Jan 2022 11:11:02 +0000 (12:11 +0100)]
knsec3hash: alternative params synopsis...
...better matching NSEC3 presentation format
Daniel Salzman [Fri, 7 Jan 2022 11:09:56 +0000 (12:09 +0100)]
Merge branch 'compr_double_reference' into 'master'
namserver/compression: avoid pointing directly at pointer
Closes #765
See merge request knot/knot-dns!1388
Libor Peltan [Fri, 5 Nov 2021 08:52:16 +0000 (09:52 +0100)]
namserver/compression: avoid pointing directly at pointer
Libor Peltan [Thu, 4 Nov 2021 17:06:26 +0000 (18:06 +0100)]
Revert "nameserver/compression: avoid pointers on pointers"
This reverts commit
4e3858788d2ebe25fb6fbefb07adee53c1653c63 .
Libor Peltan [Thu, 4 Nov 2021 16:52:47 +0000 (17:52 +0100)]
nameserver/compression: avoid pointers on pointers
Daniel Salzman [Fri, 7 Jan 2022 10:44:13 +0000 (11:44 +0100)]
Merge branch 'nsec3_resalt_refactor' into 'master'
Nsec3 resalt refactor
See merge request knot/knot-dns!1413
Libor Peltan [Thu, 6 Jan 2022 16:49:06 +0000 (17:49 +0100)]
nsec3resalt: remove useless event
Libor Peltan [Thu, 6 Jan 2022 11:12:11 +0000 (12:12 +0100)]
timers: remove unneeded last nsec3 resalt
Daniel Salzman [Thu, 6 Jan 2022 18:43:25 +0000 (19:43 +0100)]
Merge branch 'no_changeset1' into 'master'
journal: compute serialized changeset directly from bi-nodes...
See merge request knot/knot-dns!1412
Libor Peltan [Tue, 4 Jan 2022 16:34:03 +0000 (17:34 +0100)]
zone-diff: bugfix: don't store to journal if configured not to
Libor Peltan [Tue, 4 Jan 2022 09:18:41 +0000 (10:18 +0100)]
zone-diff: optimization: don't compare identical rdata
Libor Peltan [Mon, 3 Jan 2022 17:31:37 +0000 (18:31 +0100)]
zone-update: don't populate changeset for DDNS, DNSSEC and IXFR
Libor Peltan [Mon, 3 Jan 2022 16:44:03 +0000 (17:44 +0100)]
catalog: enable catalog update from zone diff
Libor Peltan [Wed, 29 Dec 2021 18:31:09 +0000 (19:31 +0100)]
journal: compute serialized changeset directly from bi-nodes...
...for DDNS, DNSSEC and IXFR
Libor Peltan [Wed, 29 Dec 2021 17:59:44 +0000 (18:59 +0100)]
zone-tree: bugfix: iterating two trees when first empty
Libor Peltan [Tue, 28 Dec 2021 09:01:24 +0000 (10:01 +0100)]
DDNS: tiny refactoring
Daniel Salzman [Thu, 6 Jan 2022 11:59:20 +0000 (12:59 +0100)]
tests-extra: extend test for mod-cookies
Libor Peltan [Thu, 6 Jan 2022 08:31:45 +0000 (09:31 +0100)]
Merge branch 'exponential_retry_backoff' into 'master'
refresh: use exponential retry backoff with base 2 rather than 3
See merge request knot/knot-dns!1411
David Vašek [Mon, 3 Jan 2022 23:20:45 +0000 (00:20 +0100)]
refresh: code cleanup
David Vašek [Fri, 31 Dec 2021 15:50:26 +0000 (16:50 +0100)]
refresh: use exponential retry backoff with base 2 rather than 3
By using the cumulative time since the zone expiration (instead of the last
time interval) we achieve an approximation of exponential retry backoff with
base 2 (rather than with base 3, as it was until now). Now, with every retry attempt,
the interval between refreshes only doubles (with up to 30 second jitter).
This change helps avoid excessive waiting for a refresh when a few early attempts
fail.
Libor Peltan [Thu, 6 Jan 2022 08:06:02 +0000 (09:06 +0100)]
Merge branch 'knotd-cookies' into 'master'
Knot DNS cookies for TCP
See merge request knot/knot-dns!1410
Libor Peltan [Tue, 4 Jan 2022 16:59:02 +0000 (17:59 +0100)]
Merge branch 'kdig_improvements' into 'master'
kdig: allow trailing data in XFR and preserve dname letter case in XFR
See merge request knot/knot-dns!1409
Daniel Salzman [Tue, 4 Jan 2022 13:19:44 +0000 (14:19 +0100)]
doc: document remote/no-edns option
Daniel Salzman [Sun, 2 Jan 2022 16:04:02 +0000 (17:04 +0100)]
kdig: add SOA owner checks to XFR processing
Daniel Salzman [Sun, 2 Jan 2022 15:27:18 +0000 (16:27 +0100)]
knsupdate: preserve dname letter case in response
Daniel Salzman [Sun, 2 Jan 2022 15:24:24 +0000 (16:24 +0100)]
kdig: allow trailing data in reply packet with warning
Daniel Salzman [Sun, 2 Jan 2022 14:54:49 +0000 (15:54 +0100)]
doc: update year in the copyright
Daniel Salzman [Sun, 2 Jan 2022 14:50:51 +0000 (15:50 +0100)]
doc/kdig: mark DNS Cookie argument optional
Daniel Salzman [Sun, 2 Jan 2022 14:46:41 +0000 (15:46 +0100)]
kdig: preserve dname letter case in XFR and Dnstap outputs
Jan Hák [Mon, 3 Jan 2022 15:08:07 +0000 (16:08 +0100)]
knotd: EDNS cookies - extra tests for TCP cookies