]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
8 years agodoc: update migration
Daniel Salzman [Sun, 12 Aug 2018 20:47:02 +0000 (22:47 +0200)] 
doc: update migration

8 years agodistro/deb: add libjemalloc, upgrade libidn, remove libjansson
Daniel Salzman [Sun, 12 Aug 2018 20:40:10 +0000 (22:40 +0200)] 
distro/deb: add libjemalloc, upgrade libidn, remove libjansson

8 years agonameserver: use KNOT_PF_ORIGTTL where necessary
Daniel Salzman [Sun, 12 Aug 2018 20:25:25 +0000 (22:25 +0200)] 
nameserver: use KNOT_PF_ORIGTTL where necessary

8 years agorrset-wire: add KNOT_PF_ORIGTTL to configure how to set RRSIG's TTL
Vladimír Čunát [Tue, 7 Aug 2018 08:46:40 +0000 (10:46 +0200)] 
rrset-wire: add KNOT_PF_ORIGTTL to configure how to set RRSIG's TTL

8 years agoMerge branch 'sample_config' into 'master'
Daniel Salzman [Fri, 10 Aug 2018 13:27:29 +0000 (13:27 +0000)] 
Merge branch 'sample_config' into 'master'

packaging updates

See merge request knot/knot-dns!918

8 years agoMerge branch 'fix_ttl_rrsig' into 'master'
Daniel Salzman [Fri, 10 Aug 2018 13:07:21 +0000 (13:07 +0000)] 
Merge branch 'fix_ttl_rrsig' into 'master'

rrsig ttl - fix updating from orig_ttl for all output and diff, see below

See merge request knot/knot-dns!917

8 years agorrsig ttl - fix updating from orig_ttl for all output and diff, see below
Libor Peltan [Thu, 9 Aug 2018 13:31:59 +0000 (15:31 +0200)] 
rrsig ttl - fix updating from orig_ttl for all output and diff, see below

RFC requires that unlike other rrset types, RRSIG must store different TTL for each rdata, to keep them equal to signed rrset's TTL.
But Knot only stores one TTL per rrset, fixing this by using orig_ttl from RRSIG and updating TTL while answer.

This commit also fixes this for knotc zone-read and knotc zone-diff commands.

Moreover, zone update from differences ignores changed TTL-only for RRSIGS. Changed orig_ttl is still diffed as it's part of rdata.

8 years agodistro/tests: add test for openSUSE Leap 15
Tomas Krizek [Thu, 9 Aug 2018 13:21:46 +0000 (15:21 +0200)] 
distro/tests: add test for openSUSE Leap 15

8 years agodistro/tests: add knot-dns-testing repo
Tomas Krizek [Fri, 10 Aug 2018 11:30:20 +0000 (13:30 +0200)] 
distro/tests: add knot-dns-testing repo

8 years agodistro/arch: use upstream packaging files
Tomas Krizek [Fri, 10 Aug 2018 11:16:42 +0000 (13:16 +0200)] 
distro/arch: use upstream packaging files

8 years agodistro/rpm: use upstream files in spec
Tomas Krizek [Fri, 10 Aug 2018 09:45:06 +0000 (11:45 +0200)] 
distro/rpm: use upstream files in spec

8 years agoload: log also zone size
Daniel Salzman [Thu, 9 Aug 2018 16:17:34 +0000 (18:17 +0200)] 
load: log also zone size

8 years agodistro/rpm: use common knot.sample.conf
Daniel Salzman [Thu, 9 Aug 2018 13:03:37 +0000 (15:03 +0200)] 
distro/rpm: use common knot.sample.conf

8 years agosamples: simplify knot.sample.conf, enable user: knot:knot
Daniel Salzman [Thu, 9 Aug 2018 13:03:02 +0000 (15:03 +0200)] 
samples: simplify knot.sample.conf, enable user: knot:knot

8 years agodoc: removed obsolete note that is no longer true
Libor Peltan [Thu, 9 Aug 2018 08:11:20 +0000 (10:11 +0200)] 
doc: removed obsolete note that is no longer true

8 years agoconfigure: improve description of --with-memory-allocator
Daniel Salzman [Wed, 8 Aug 2018 20:39:56 +0000 (22:39 +0200)] 
configure: improve description of --with-memory-allocator

8 years agoconfigure: fix default prefix setting
Daniel Salzman [Wed, 8 Aug 2018 20:23:42 +0000 (22:23 +0200)] 
configure: fix default prefix setting

8 years agoconfigure: add the distro directory to dist tarball
Daniel Salzman [Mon, 6 Aug 2018 12:00:34 +0000 (14:00 +0200)] 
configure: add the distro directory to dist tarball

8 years agodistro: add libmaxminddb dependency
Daniel Salzman [Sun, 5 Aug 2018 19:14:59 +0000 (21:14 +0200)] 
distro: add libmaxminddb dependency

8 years agoNEWS: fix formatting
Daniel Salzman [Fri, 3 Aug 2018 21:54:48 +0000 (23:54 +0200)] 
NEWS: fix formatting

8 years agoBump version 2.8.dev
Daniel Salzman [Fri, 3 Aug 2018 21:34:05 +0000 (23:34 +0200)] 
Bump version 2.8.dev

8 years agoUpdate NEWS for 2.7.0
Daniel Salzman [Fri, 3 Aug 2018 21:21:59 +0000 (23:21 +0200)] 
Update NEWS for 2.7.0

8 years agoMerge branch 'lib-symbols' into 'master'
Daniel Salzman [Thu, 2 Aug 2018 12:23:55 +0000 (12:23 +0000)] 
Merge branch 'lib-symbols' into 'master'

Bump library version to libknot8, libdnssec6, libzscanner2, and knotd module

See merge request knot/knot-dns!914

8 years agoci: check debian symbols in CI
Tomas Krizek [Tue, 31 Jul 2018 10:05:14 +0000 (12:05 +0200)] 
ci: check debian symbols in CI

8 years agobump library version to libknot8, libdnssec6
Tomas Krizek [Tue, 31 Jul 2018 11:07:02 +0000 (13:07 +0200)] 
bump library version to libknot8, libdnssec6

8 years agoconfigure: add --with-memory-allocator option to support alternative malloc implement...
Daniel Salzman [Wed, 1 Aug 2018 21:15:03 +0000 (23:15 +0200)] 
configure: add --with-memory-allocator option to support alternative malloc implementations

8 years agoMerge branch 'dname-api' into 'master'
Daniel Salzman [Wed, 1 Aug 2018 19:04:03 +0000 (19:04 +0000)] 
Merge branch 'dname-api' into 'master'

knot_dname_* API rework

See merge request knot/knot-dns!915

8 years agoknot_dname_in(): remove
Vladimír Čunát [Wed, 1 Aug 2018 17:11:49 +0000 (19:11 +0200)] 
knot_dname_in(): remove

8 years agoknot_dname_is_sub(): remove
Vladimír Čunát [Wed, 1 Aug 2018 17:02:15 +0000 (19:02 +0200)] 
knot_dname_is_sub(): remove

Two of the call points might be slightly more readable with _is_sub(),
but I'm not convinced that justifies keeping the function.

8 years agotest_dname: test knot_dname_in_bailiwick()
Vladimír Čunát [Wed, 1 Aug 2018 16:56:26 +0000 (18:56 +0200)] 
test_dname: test knot_dname_in_bailiwick()

... instead of knot_dname_is_sub()

8 years agonitpick in NSEC3 proofs: simplify an assertion
Vladimír Čunát [Wed, 1 Aug 2018 16:36:55 +0000 (18:36 +0200)] 
nitpick in NSEC3 proofs: simplify an assertion

8 years agoknot_dname_in_bailiwick(): new API
Vladimír Čunát [Wed, 1 Aug 2018 16:06:17 +0000 (18:06 +0200)] 
knot_dname_in_bailiwick(): new API

And reimplement knot_dname_is_sub() and knot_dname_in() via the new API.

8 years agodoc: update man pages
Mark Karpilovskij [Wed, 1 Aug 2018 15:41:31 +0000 (17:41 +0200)] 
doc: update man pages

8 years agodoc: clarify zonefile-load and other nitpicks
Mark Karpilovskij [Wed, 1 Aug 2018 14:53:06 +0000 (16:53 +0200)] 
doc: clarify zonefile-load and other nitpicks

8 years agozone-update: Coverity fixes
Mark Karpilovskij [Wed, 1 Aug 2018 08:58:55 +0000 (10:58 +0200)] 
zone-update: Coverity fixes

8 years agodoc nitpick: stress that _is_sub() means *strict* subdomain
Vladimír Čunát [Wed, 1 Aug 2018 08:23:46 +0000 (10:23 +0200)] 
doc nitpick: stress that _is_sub() means *strict* subdomain

8 years agoMerge branch 'load_diff_no_serial' into 'master'
Daniel Salzman [Tue, 31 Jul 2018 19:38:34 +0000 (19:38 +0000)] 
Merge branch 'load_diff_no_serial' into 'master'

Load diff no serial

See merge request knot/knot-dns!907

8 years agoload: save zonefile info before potentially incrementing its serial
Mark Karpilovskij [Tue, 31 Jul 2018 12:40:15 +0000 (14:40 +0200)] 
load: save zonefile info before potentially incrementing its serial

8 years agodoc: handling zf, journal, serials with examples
Libor Peltan [Fri, 22 Jun 2018 09:53:28 +0000 (11:53 +0200)] 
doc: handling zf, journal, serials with examples

8 years agoload: ignore dnssec-related records if load difference and signing enabled
Libor Peltan [Fri, 22 Jun 2018 15:03:56 +0000 (17:03 +0200)] 
load: ignore dnssec-related records if load difference and signing enabled

The difference ignores RRSIGs, NSECs, and NSEC3s. This is motivated by users
willing to have zonefile w/o DNSSEC, but signed zone.

If the final update consists only from changed SOA serial and RRSIG-SOA, clear it.
This happens after automatic serial icrement, we avoid increment on simple reload.

8 years agoload: implemented option loading diff from ZF ignoring serial
Libor Peltan [Fri, 22 Jun 2018 09:52:53 +0000 (11:52 +0200)] 
load: implemented option loading diff from ZF ignoring serial

8 years agogeoip: fixed memory leak
Mark Karpilovskij [Fri, 27 Jul 2018 14:07:02 +0000 (16:07 +0200)] 
geoip: fixed memory leak

8 years agomodules: update year in static_modules.h
Mark Karpilovskij [Fri, 27 Jul 2018 13:25:19 +0000 (15:25 +0200)] 
modules: update year in static_modules.h

8 years agoonlinesign: do not let the keyset leak
Mark Karpilovskij [Fri, 27 Jul 2018 11:44:08 +0000 (13:44 +0200)] 
onlinesign: do not let the keyset leak

8 years agotests-extra: add sleep to ensure zone is flushed in zone/flush_immediate
Daniel Salzman [Fri, 27 Jul 2018 11:12:36 +0000 (13:12 +0200)] 
tests-extra: add sleep to ensure zone is flushed in zone/flush_immediate

8 years agodnssec: disable strict changeset application when fixing NSEC chains
Mark Karpilovskij [Thu, 26 Jul 2018 14:47:21 +0000 (16:47 +0200)] 
dnssec: disable strict changeset application when fixing NSEC chains

8 years agodoc: update links to proper Git repository
Daniel Salzman [Fri, 27 Jul 2018 08:38:31 +0000 (10:38 +0200)] 
doc: update links to proper Git repository

8 years agoctl: allow empty zone transaction commit doing nothing
Daniel Salzman [Thu, 26 Jul 2018 14:28:47 +0000 (16:28 +0200)] 
ctl: allow empty zone transaction commit doing nothing

8 years agozone-events: fix return value when signing updates
Mark Karpilovskij [Wed, 25 Jul 2018 11:49:13 +0000 (13:49 +0200)] 
zone-events: fix return value when signing updates

8 years agoflush: perform flush even when re-signed upon load keeping SOA serial
Daniel Salzman [Tue, 24 Jul 2018 10:16:03 +0000 (12:16 +0200)] 
flush: perform flush even when re-signed upon load keeping SOA serial

fixes #594

8 years agodoc: add maxmindb dependency and some tiny improvements
Daniel Salzman [Tue, 24 Jul 2018 08:01:23 +0000 (10:01 +0200)] 
doc: add maxmindb dependency and some tiny improvements

8 years agoknot/common: shut up MacOS compiler warning
Mark Karpilovskij [Mon, 23 Jul 2018 11:55:25 +0000 (13:55 +0200)] 
knot/common: shut up MacOS compiler warning

8 years agomodule: Coverity fixes
Mark Karpilovskij [Mon, 23 Jul 2018 11:16:35 +0000 (13:16 +0200)] 
module: Coverity fixes

8 years agogeoip: replace strchrnul by strchr for compatibility
Mark Karpilovskij [Mon, 23 Jul 2018 11:08:02 +0000 (13:08 +0200)] 
geoip: replace strchrnul by strchr for compatibility

8 years agoMerge branch 'new_geo_module' into 'master'
Daniel Salzman [Mon, 23 Jul 2018 09:10:12 +0000 (09:10 +0000)] 
Merge branch 'new_geo_module' into 'master'

Module for response tailoring according to client's subnet or geographic location

Closes #563 and #413

See merge request knot/knot-dns!910

8 years agogeoip: multiple improvements
Mark Karpilovskij [Fri, 20 Jul 2018 10:06:17 +0000 (12:06 +0200)] 
geoip: multiple improvements

- DNSSEC RRs forbidden in geo config
- exit processing if query answered by previous module
- use lookup format of dnames in trie
- check the correct "geo" or "net" key in config
- unify log messages
- set AA bit if the query is processed succesfuly
- add geodb avilability check

8 years agogeoip: documentation
Mark Karpilovskij [Thu, 19 Jul 2018 13:41:30 +0000 (15:41 +0200)] 
geoip: documentation

8 years agogeoip: switch to module DNSSEC API
Daniel Salzman [Fri, 20 Jul 2018 07:18:15 +0000 (09:18 +0200)] 
geoip: switch to module DNSSEC API

8 years agogeoip: remove void pointers & other cleanup
Daniel Salzman [Tue, 17 Jul 2018 10:53:53 +0000 (12:53 +0200)] 
geoip: remove void pointers & other cleanup

8 years agogeoip: refactored parsing function & a subnet fix
Mark Karpilovskij [Mon, 16 Jul 2018 12:36:32 +0000 (14:36 +0200)] 
geoip: refactored parsing function & a subnet fix

8 years agogeoip: fixed ECS
Mark Karpilovskij [Mon, 16 Jul 2018 09:00:06 +0000 (11:00 +0200)] 
geoip: fixed ECS

8 years agogeoip: finalize config format, support for geoname_id
Mark Karpilovskij [Thu, 12 Jul 2018 16:11:16 +0000 (18:11 +0200)] 
geoip: finalize config format, support for geoname_id

8 years agogeoip: answer with CNAME if queried RR unavailable
Mark Karpilovskij [Wed, 11 Jul 2018 10:57:04 +0000 (12:57 +0200)] 
geoip: answer with CNAME if queried RR unavailable

8 years agogeoip: move mmdb logic to separate file
Mark Karpilovskij [Wed, 11 Jul 2018 08:34:09 +0000 (10:34 +0200)] 
geoip: move mmdb logic to separate file

8 years agogeoip: optimize geodb query processing
Mark Karpilovskij [Tue, 10 Jul 2018 14:37:21 +0000 (16:37 +0200)] 
geoip: optimize geodb query processing

8 years agogeoip: various bugfixes
Mark Karpilovskij [Mon, 2 Jul 2018 16:02:46 +0000 (18:02 +0200)] 
geoip: various bugfixes

8 years agogeoip: more general geodb key configuration
Mark Karpilovskij [Fri, 29 Jun 2018 15:26:12 +0000 (17:26 +0200)] 
geoip: more general geodb key configuration

8 years agogeoip: support both IPv4 and IPv6 subnets
Mark Karpilovskij [Thu, 21 Jun 2018 15:48:58 +0000 (17:48 +0200)] 
geoip: support both IPv4 and IPv6 subnets

8 years agogeoip: use the hack in the module
Mark Karpilovskij [Wed, 4 Jul 2018 12:16:56 +0000 (14:16 +0200)] 
geoip: use the hack in the module

8 years agointernet: a processing stage hack for geoip
Mark Karpilovskij [Thu, 29 Mar 2018 14:59:53 +0000 (16:59 +0200)] 
internet: a processing stage hack for geoip

8 years agogeoip: initial commit
Mark Karpilovskij [Fri, 16 Mar 2018 15:09:00 +0000 (16:09 +0100)] 
geoip: initial commit

8 years agodistro: add Standards-Version to control
Daniel Salzman [Fri, 20 Jul 2018 12:49:57 +0000 (14:49 +0200)] 
distro: add Standards-Version to control

8 years agodistro: simplify deb sources hierarchy
Daniel Salzman [Fri, 20 Jul 2018 12:28:16 +0000 (14:28 +0200)] 
distro: simplify deb sources hierarchy

8 years agoscripts: add generation of the .dsc file for Debian packaging
Daniel Salzman [Fri, 20 Jul 2018 12:03:22 +0000 (14:03 +0200)] 
scripts: add generation of the .dsc file for Debian packaging

8 years agomodule: add DNSSEC signing API + adapt module onlinesign
Daniel Salzman [Fri, 20 Jul 2018 07:17:51 +0000 (09:17 +0200)] 
module: add DNSSEC signing API + adapt module onlinesign

8 years agolibknot/pkt: make knot_pkt_parse_question public (for Knot Resolver)
Daniel Salzman [Fri, 20 Jul 2018 08:33:53 +0000 (10:33 +0200)] 
libknot/pkt: make knot_pkt_parse_question public (for Knot Resolver)

8 years agodoc: update optional dependencies
Daniel Salzman [Wed, 18 Jul 2018 15:27:24 +0000 (17:27 +0200)] 
doc: update optional dependencies

8 years agoci: don't use cache when building Docker images
Tomas Krizek [Mon, 16 Jul 2018 11:12:32 +0000 (13:12 +0200)] 
ci: don't use cache when building Docker images

8 years agodocker: add libmaxminddb, upgrade libidn, cleanup
Daniel Salzman [Mon, 16 Jul 2018 10:52:38 +0000 (12:52 +0200)] 
docker: add libmaxminddb, upgrade libidn, cleanup

8 years agofix determining if we apply SOA with changeset
Libor Peltan [Fri, 13 Jul 2018 09:19:37 +0000 (11:19 +0200)] 
fix determining if we apply SOA with changeset

8 years agotests: fix warnings if NDEBUG
Daniel Salzman [Thu, 12 Jul 2018 12:03:01 +0000 (14:03 +0200)] 
tests: fix warnings if NDEBUG

8 years agoAdapt to new rrtype and rdataset API
Daniel Salzman [Wed, 11 Jul 2018 19:24:20 +0000 (21:24 +0200)] 
Adapt to new rrtype and rdataset API

8 years agolibknot/rrtype: simplify API (rdataset, index) -> (rdata)
Daniel Salzman [Sat, 7 Jul 2018 21:22:04 +0000 (23:22 +0200)] 
libknot/rrtype: simplify API (rdataset, index) -> (rdata)

8 years agolibknot/rdataset: remove redundant function knot_rdataset_sort_at (rdataset is alread...
Daniel Salzman [Sun, 8 Jul 2018 21:21:34 +0000 (23:21 +0200)] 
libknot/rdataset: remove redundant function knot_rdataset_sort_at (rdataset is already sorted)

8 years agoMerge branch 'update-rpm-spec' into 'master'
Daniel Salzman [Wed, 11 Jul 2018 14:37:14 +0000 (14:37 +0000)] 
Merge branch 'update-rpm-spec' into 'master'

distro/rpm: add BuildRequires: gcc

See merge request knot/knot-dns!913

8 years agodistro/rpm: add BuildRequires: gcc
Tomas Krizek [Wed, 11 Jul 2018 13:02:07 +0000 (15:02 +0200)] 
distro/rpm: add BuildRequires: gcc

Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot

8 years agokeymgr: add import-pkcs11 function
Daniel Salzman [Mon, 9 Jul 2018 12:58:41 +0000 (14:58 +0200)] 
keymgr: add import-pkcs11 function

8 years agokeymgr: fix alignment of listed keys
Daniel Salzman [Mon, 9 Jul 2018 12:02:54 +0000 (14:02 +0200)] 
keymgr: fix alignment of listed keys

8 years agoMerge branch 'fix_serial_unixtime' into 'master'
Daniel Salzman [Fri, 6 Jul 2018 18:54:22 +0000 (20:54 +0200)] 
Merge branch 'fix_serial_unixtime' into 'master'

Fix serial unixtime

Closes #593

See merge request knot/knot-dns!911

8 years agoMerge branch 'fix_shared_policy' into 'master'
Daniel Salzman [Fri, 6 Jul 2018 18:34:23 +0000 (20:34 +0200)] 
Merge branch 'fix_shared_policy' into 'master'

dnssec shared policy: don't return a link to nonexistent key

Closes #589

See merge request knot/knot-dns!912

8 years agodnssec shared policy: don't return a link to nonexistent key
Libor Peltan [Fri, 6 Jul 2018 13:37:31 +0000 (15:37 +0200)] 
dnssec shared policy: don't return a link to nonexistent key

8 years agoserial policy: unixtime mimics bind behaviour - increment if lower
Libor Peltan [Fri, 6 Jul 2018 12:29:53 +0000 (14:29 +0200)] 
serial policy: unixtime mimics bind behaviour - increment if lower

8 years agofix: update: update SERVFAILs if serial decrements
Libor Peltan [Fri, 6 Jul 2018 12:11:43 +0000 (14:11 +0200)] 
fix: update: update SERVFAILs if serial decrements

8 years agobugfix: zone_update_clear called twice makes no harm
Libor Peltan [Fri, 6 Jul 2018 12:11:05 +0000 (14:11 +0200)] 
bugfix: zone_update_clear called twice makes no harm

8 years agobugfix: serialization sometimes looses rrset
Libor Peltan [Fri, 6 Jul 2018 09:46:25 +0000 (11:46 +0200)] 
bugfix: serialization sometimes looses rrset

the cause is that if happens that `tmp_phase == SERIALIZE_RRSET_INIT`
but at the same time `candidate > max_size`
we exit the function `serialize_prepare` with SERIALIZE_RRSET_INIT
BUT the rrset has been already loaded to rrset_buf with get_next_rrset

8 years agolibknot/rdataset: fix function name
Daniel Salzman [Wed, 4 Jul 2018 20:21:22 +0000 (22:21 +0200)] 
libknot/rdataset: fix function name

8 years agolibknot/rdataset: rename structure items
Daniel Salzman [Wed, 4 Jul 2018 18:57:27 +0000 (20:57 +0200)] 
libknot/rdataset: rename structure items

8 years agolibknot/rdataset: add knot_rdata_next function
Daniel Salzman [Wed, 4 Jul 2018 15:23:14 +0000 (17:23 +0200)] 
libknot/rdataset: add knot_rdata_next function

8 years agotests-fuzz: add tests for dname to/from string operations
Filip Široký [Mon, 2 Jul 2018 11:20:36 +0000 (13:20 +0200)] 
tests-fuzz: add tests for dname to/from string operations

8 years agokjournalprint: convert zone name on input to lowercase
Mark Karpilovskij [Mon, 2 Jul 2018 09:32:36 +0000 (11:32 +0200)] 
kjournalprint: convert zone name on input to lowercase