]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoUse the boost.m4 boost::context detection 8172/head
Pieter Lexis [Wed, 17 Jul 2019 15:03:15 +0000 (17:03 +0200)] 
Use the boost.m4 boost::context detection

(cherry picked from commit 4c75f0296b691362cc8e706a83a21460269e0ef7)

4 years agoUpdate boost.m4 to serial 30
Pieter Lexis [Wed, 17 Jul 2019 14:50:46 +0000 (16:50 +0200)] 
Update boost.m4 to serial 30

(cherry picked from commit 1b88fc23226902839a58f7627a02134e48b53622)

4 years agoUpdate boost.m4
Pieter Lexis [Wed, 19 Jun 2019 11:35:49 +0000 (13:35 +0200)] 
Update boost.m4

(cherry picked from commit d7a2a52fbf76361a33d73ce1b0e394882ee4a17f)

4 years agoMerge pull request #8166 from Habbie/backport-8164-to-auth-4.2.x
Peter van Dijk [Wed, 7 Aug 2019 08:14:29 +0000 (10:14 +0200)] 
Merge pull request #8166 from Habbie/backport-8164-to-auth-4.2.x

auth 4.2.x: pdnsutil increase-serial: set right ordername

4 years agopdnsutil increase-serial: set right ordername 8166/head
Peter van Dijk [Tue, 6 Aug 2019 09:12:05 +0000 (11:12 +0200)] 
pdnsutil increase-serial: set right ordername

(cherry picked from commit 970badd2b07b50e6103570f0ed91a834ac40cb15)

4 years agoMerge pull request #8163 from Habbie/backport-8149-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:47:40 +0000 (16:47 +0200)] 
Merge pull request #8163 from Habbie/backport-8149-to-auth-4.2.x

auth 4.2.x: stop using select() in places where FDs can be >1023

4 years agoMerge pull request #8138 from Habbie/backport-8135-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:34:13 +0000 (16:34 +0200)] 
Merge pull request #8138 from Habbie/backport-8135-to-auth-4.2.x

auth-4.2.x: ext/ipcrypt: Ship LICENSE in tarballs

4 years agoMerge pull request #8165 from Habbie/backport-8129-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:32:43 +0000 (16:32 +0200)] 
Merge pull request #8165 from Habbie/backport-8129-to-auth-4.2.x

auth 4.2.x lmdb: add schema versioning

4 years agoauth lmdb: add schema versioning 8165/head
Peter van Dijk [Fri, 26 Jul 2019 17:10:49 +0000 (19:10 +0200)] 
auth lmdb: add schema versioning

(cherry picked from commit 370ae1cd4cd8869e2ba6d6525ac2dd6da5127b78)

4 years agoremotebackend pipeconnector: stop using select() 8163/head
Peter van Dijk [Wed, 31 Jul 2019 14:57:03 +0000 (16:57 +0200)] 
remotebackend pipeconnector: stop using select()

(cherry picked from commit 24cc241457124f986e6ab35f2530c8b633408c9c)

4 years agopipebackend coprocess: stop using select()
Peter van Dijk [Wed, 31 Jul 2019 13:59:54 +0000 (15:59 +0200)] 
pipebackend coprocess: stop using select()

(cherry picked from commit 445ec75038e068e5bb1afc8ebe43f7ea1e104a54)

4 years agoext/ipcrypt: Ship LICENSE in tarballs 8138/head
Chris Hofstaedtler [Sun, 28 Jul 2019 20:38:41 +0000 (22:38 +0200)] 
ext/ipcrypt: Ship LICENSE in tarballs

(cherry picked from commit ca80aa424b89b43cbc3ce11e6f5be5a901c3e2d7)

4 years agoMerge pull request #8085 from Habbie/backport-8075-to-auth-4.2.x
Peter van Dijk [Sun, 28 Jul 2019 21:39:35 +0000 (23:39 +0200)] 
Merge pull request #8085 from Habbie/backport-8075-to-auth-4.2.x

builder: add raspbian-buster target

4 years agoMerge pull request #8126 from Habbie/backport-8125-to-auth-4.2.x
Peter van Dijk [Sun, 28 Jul 2019 19:06:00 +0000 (21:06 +0200)] 
Merge pull request #8126 from Habbie/backport-8125-to-auth-4.2.x

backport: auth: add metric for open TCP connections

4 years agoMerge pull request #8058 from Habbie/backport-8054-to-auth-4.2.x
Peter van Dijk [Sat, 27 Jul 2019 21:48:01 +0000 (23:48 +0200)] 
Merge pull request #8058 from Habbie/backport-8054-to-auth-4.2.x

auth 4.2: Fix SERVFAIL when backend returns empty DNSName

4 years agoMerge pull request #8128 from Habbie/backport-8097-to-auth-4.2.x
Peter van Dijk [Fri, 26 Jul 2019 17:33:29 +0000 (19:33 +0200)] 
Merge pull request #8128 from Habbie/backport-8097-to-auth-4.2.x

auth 4.2: use BIGINT for notified_serial in pg schema

4 years agomake test-schema exit(1) on failure; catch setNotified exception 8128/head
Peter van Dijk [Thu, 18 Jul 2019 18:36:10 +0000 (20:36 +0200)] 
make test-schema exit(1) on failure; catch setNotified exception

(cherry picked from commit 2b172ef99afcb661978b589ddc2ebaa930aae71d)

4 years agoadd notified_serial range test to pdnsutil test-schema
Peter van Dijk [Thu, 18 Jul 2019 15:35:35 +0000 (17:35 +0200)] 
add notified_serial range test to pdnsutil test-schema

(cherry picked from commit afdeeff28bfdcbed5ce6fb19190e94ba4b10ccbd)

4 years agouse BIGINT for notified_serial in pg schema; fixes #6815
Peter van Dijk [Wed, 17 Jul 2019 19:06:01 +0000 (21:06 +0200)] 
use BIGINT for notified_serial in pg schema; fixes #6815

(cherry picked from commit 1953ba21c91a8569250f72a3de0efe57eabd7482)

4 years agoMerge pull request #8092 from mind04/nochop-bp
Peter van Dijk [Thu, 25 Jul 2019 12:51:58 +0000 (14:51 +0200)] 
Merge pull request #8092 from mind04/nochop-bp

Auth: backport #8050

4 years agoauth: add metric for open TCP connections 8126/head
Peter van Dijk [Wed, 24 Jul 2019 16:48:33 +0000 (18:48 +0200)] 
auth: add metric for open TCP connections

(cherry picked from commit d322f9312dda0603b0c3bddaa4e2e124990f524e)

4 years agoMerge pull request #8099 from Habbie/backport-8093-to-auth-4.2.x
Peter van Dijk [Thu, 18 Jul 2019 22:48:54 +0000 (00:48 +0200)] 
Merge pull request #8099 from Habbie/backport-8093-to-auth-4.2.x

add whatis description to nproxy man page

4 years agoadd whatis description to nproxy man page 8099/head
Peter van Dijk [Wed, 17 Jul 2019 16:59:13 +0000 (18:59 +0200)] 
add whatis description to nproxy man page

(cherry picked from commit bc91fbab1a599671a9f05e332dd78afe6fe53851)

4 years agoauth: improve the handling of duplicate id's in bindbackend 8092/head
Kees Monshouwer [Mon, 15 Jul 2019 08:55:28 +0000 (10:55 +0200)] 
auth: improve the handling of duplicate id's in bindbackend
duplicate id's are not allowed in powerdns and will still result in undefined behavior

4 years agoauth: bind-backend, improve the domain_id check in lookup()
Kees Monshouwer [Mon, 16 Jan 2017 09:19:47 +0000 (10:19 +0100)] 
auth: bind-backend, improve the domain_id check in lookup()
zone_id was not checked for a root zone and finding the right zone for a specific zone_id was super slow
With this commit, the uncached output of bind backen will increase by approximately 10%

4 years agoauth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized...
Kees Monshouwer [Wed, 10 Jul 2019 10:16:31 +0000 (12:16 +0200)] 
auth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized in this function' warning
id was set in getOne()

4 years agoauth: pdnsutil show zone, make sure the DNSKEY is from the right zone
Kees Monshouwer [Tue, 9 Jul 2019 20:28:45 +0000 (22:28 +0200)] 
auth: pdnsutil show zone, make sure the DNSKEY is from the right zone

4 years agoauth: prevent new database connections while sending notifies
Kees Monshouwer [Tue, 9 Jul 2019 19:53:05 +0000 (21:53 +0200)] 
auth: prevent new database connections while sending notifies

4 years agoauth: send notifies only to the nameservers in the zone
Kees Monshouwer [Tue, 9 Jul 2019 18:36:48 +0000 (20:36 +0200)] 
auth: send notifies only to the nameservers in the zone

4 years agoauth: make sure the RRSIG freshness check is using the right zone
Kees Monshouwer [Tue, 9 Jul 2019 16:07:25 +0000 (18:07 +0200)] 
auth: make sure the RRSIG freshness check is using the right zone

4 years agoauth: api, look for pre-existing RRsets in the right zone
Kees Monshouwer [Tue, 9 Jul 2019 14:59:42 +0000 (16:59 +0200)] 
auth: api, look for pre-existing RRsets in the right zone

4 years agoauth: prevent the chopOff() loop in lookup(), for SOA queries
Kees Monshouwer [Sat, 6 Jul 2019 20:58:41 +0000 (22:58 +0200)] 
auth: prevent the chopOff() loop in lookup(), for SOA queries
without an id, in bind and lmdb backend.

4 years agoMerge pull request #8068 from Habbie/backport-8053-to-auth-4.2.x
Peter van Dijk [Wed, 17 Jul 2019 13:11:02 +0000 (15:11 +0200)] 
Merge pull request #8068 from Habbie/backport-8053-to-auth-4.2.x

pdnsutil: remove unused humanTime function

4 years agobuilder: add raspbian-buster target 8085/head
Peter van Dijk [Fri, 12 Jul 2019 12:52:22 +0000 (14:52 +0200)] 
builder: add raspbian-buster target

(cherry picked from commit cc1a371a2422cac77a90d6a0debbcfe6cadea84a)

4 years agoMerge pull request #8072 from Habbie/auth-4.2.x-lgtm
Peter van Dijk [Sat, 13 Jul 2019 18:39:50 +0000 (20:39 +0200)] 
Merge pull request #8072 from Habbie/auth-4.2.x-lgtm

only LGTM auth on this branch

4 years agoonly LGTM auth on this branch 8072/head
Peter van Dijk [Fri, 12 Jul 2019 11:04:42 +0000 (13:04 +0200)] 
only LGTM auth on this branch

4 years agopdnsutil: remove unused humanTime function 8068/head
Peter van Dijk [Wed, 10 Jul 2019 10:36:56 +0000 (12:36 +0200)] 
pdnsutil: remove unused humanTime function

(cherry picked from commit 85cc3e43d48ac08e23402c46938d3ee92cef3bca)

4 years agoMerge pull request #8056 from Habbie/backport-7999-to-auth-4.2.x
Peter van Dijk [Thu, 11 Jul 2019 23:20:20 +0000 (01:20 +0200)] 
Merge pull request #8056 from Habbie/backport-7999-to-auth-4.2.x

auth 4.2.x: Fix the accounting of servfail-queries in the distributor

4 years agoMerge pull request #8057 from Habbie/auth-4.2-circleci-ixfrdist
Peter van Dijk [Thu, 11 Jul 2019 22:23:10 +0000 (00:23 +0200)] 
Merge pull request #8057 from Habbie/auth-4.2-circleci-ixfrdist

auth 4.2.x: ixfrdist: test in CircleCI; remove useless error

4 years agoMerge pull request #8064 from miesi/rel/auth-4.2.x
Peter van Dijk [Thu, 11 Jul 2019 09:22:42 +0000 (11:22 +0200)] 
Merge pull request #8064 from miesi/rel/auth-4.2.x

pdns/devpollmplexer: remove unused syncres.hh include

4 years agopdns/devpollmplexer: remove unused syncres.hh include 8064/head
Thomas Mieslinger [Thu, 11 Jul 2019 09:16:13 +0000 (02:16 -0700)] 
pdns/devpollmplexer: remove unused syncres.hh include

4 years agoFix SERVFAIL when backend returns empty DNSName 8058/head
Mark Zealey [Wed, 10 Jul 2019 11:17:32 +0000 (14:17 +0300)] 
Fix SERVFAIL when backend returns empty DNSName

According to the documentation on UeberBackend::getAuth(), a backend
returning an empty DNSName should signal that no matching parent zone
exists in this backend. However commit ae14c1f36a raises an exception if
isPartOf() is called on an empty DNSName so we need to switch the order
of the logic to prevent a SERVFAIL as a result.

(cherry picked from commit 41147d678b30612d2431b59a898879368f1c4b06)

4 years agobackport #8049: ixfrdist: test in CircleCI; remove useless error 8057/head
Peter van Dijk [Wed, 10 Jul 2019 19:26:18 +0000 (21:26 +0200)] 
backport #8049: ixfrdist: test in CircleCI; remove useless error

4 years agoauth: Fix the accounting of servfail-queries in the distributor 8056/head
Remi Gacogne [Fri, 28 Jun 2019 14:08:18 +0000 (16:08 +0200)] 
auth: Fix the accounting of servfail-queries in the distributor

This was broken since eb029b8efe0217b39c5cf34235b565b4c8d6e95e
which introduced a specific type of DNSName,qtype ring.

(cherry picked from commit 5c293d1139b0a730c7193ff956b59eb3fc109fb7)

4 years agoMerge pull request #7975 from Habbie/auth-4.2.x-backports
Peter van Dijk [Wed, 10 Jul 2019 14:39:23 +0000 (16:39 +0200)] 
Merge pull request #7975 from Habbie/auth-4.2.x-backports

Auth 4.2.x backports

4 years agoBackport #8051 7975/head
Peter van Dijk [Wed, 10 Jul 2019 11:33:38 +0000 (13:33 +0200)] 
Backport #8051

4 years agoixfrdist: limit XFR chunk size to 16k
Peter van Dijk [Wed, 10 Jul 2019 08:01:25 +0000 (10:01 +0200)] 
ixfrdist: limit XFR chunk size to 16k

(cherry picked from commit a66a8f7171092733b7491b14c09d0e4fc5965006)

4 years agoBackport #8028
Peter van Dijk [Wed, 10 Jul 2019 08:07:25 +0000 (10:07 +0200)] 
Backport #8028

4 years agocentralise constant
Peter van Dijk [Tue, 9 Jul 2019 09:27:18 +0000 (11:27 +0200)] 
centralise constant

(cherry picked from commit 43f038d7d1931bf499d8b03435b99feecea4d170)

4 years agoactually honour the startRecord compress parameter
Peter van Dijk [Mon, 8 Jul 2019 15:39:35 +0000 (17:39 +0200)] 
actually honour the startRecord compress parameter

(cherry picked from commit 02e7763f2c7f4d2c9d7bab3a3319df1724065ef2)

4 years agolimit compression pointers to 14 bits
Peter van Dijk [Fri, 5 Jul 2019 09:46:25 +0000 (11:46 +0200)] 
limit compression pointers to 14 bits

(cherry picked from commit d26fa3154031ee9ece21f1d1b47faa5d177e34ef)

4 years agoBackport #8037
Peter van Dijk [Tue, 9 Jul 2019 09:10:07 +0000 (11:10 +0200)] 
Backport #8037

4 years agocatch name & IP parse errors during outgoing notify preparations
Peter van Dijk [Thu, 20 Jun 2019 11:04:30 +0000 (13:04 +0200)] 
catch name & IP parse errors during outgoing notify preparations

(cherry picked from commit a53928cb568844a07fc83e1d090fdd1e21ee524d)

(L renamed to g_log)

(cherry picked from commit 410f8bd398245ed12c5620f6eed62262729ac257)

4 years agoRevert "A way to fix https://github.com/PowerDNS/pdns/issues/7646. It might"
Peter van Dijk [Mon, 8 Jul 2019 09:16:30 +0000 (11:16 +0200)] 
Revert "A way to fix https://github.com/PowerDNS/pdns/issues/7646. It might"

This reverts commit 475fc44ee8d1fc21bb9fe0beffa5fd5b1799277f.

(cherry picked from commit c079ae340c02a16f1b0128185bb0ceef1a09bd8b)

4 years agoRevert "Rearrange; to avoid uninitialized var and bail out after exception,"
Peter van Dijk [Mon, 8 Jul 2019 09:16:29 +0000 (11:16 +0200)] 
Revert "Rearrange; to avoid uninitialized var and bail out after exception,"

This reverts commit cb22b82e6e97374e0eadcc03c56dd8e7f1328bf3.

(cherry picked from commit 73428b7a2ff4824176bdcf1edd271d9888c3dd4d)

4 years agoRevert "Better logging, so the operator knows where to look."
Peter van Dijk [Mon, 8 Jul 2019 09:16:27 +0000 (11:16 +0200)] 
Revert "Better logging, so the operator knows where to look."

This reverts commit c6e6b0559cfcff8537ee95c4f3d7c02477fd81a3.

(cherry picked from commit 35b942fe32cee111a6dec5025ff06b27a58696b5)

4 years agoBackport #7998
Peter van Dijk [Tue, 9 Jul 2019 09:08:43 +0000 (11:08 +0200)] 
Backport #7998

4 years agoauth: Fix a memory leak when sqlite3_exec() fails
Remi Gacogne [Fri, 28 Jun 2019 12:08:10 +0000 (14:08 +0200)] 
auth: Fix a memory leak when sqlite3_exec() fails

(cherry picked from commit a955a0100b081d1c6c1f5a267c790bcd0edd2252)

4 years agoBackport #7976: Make pdnsutil set-publish-cds default to SHA-256 only
Peter van Dijk [Mon, 8 Jul 2019 08:44:15 +0000 (10:44 +0200)] 
Backport #7976: Make pdnsutil set-publish-cds default to SHA-256 only

4 years agoBackport #8019
Peter van Dijk [Wed, 3 Jul 2019 20:16:13 +0000 (22:16 +0200)] 
Backport #8019

4 years agoauth: correct syntax for GLIBC detection
James Taylor [Wed, 3 Jul 2019 10:31:19 +0000 (20:31 +1000)] 
auth: correct syntax for GLIBC detection

This commit fixes invalid syntax introduced in #7980 which caused build failures on some platforms

(cherry picked from commit 331d3d27ba270d5124ee4466decc4dcbc0b406b6)

4 years agoBackport #8006
Peter van Dijk [Mon, 1 Jul 2019 20:39:48 +0000 (22:39 +0200)] 
Backport #8006

4 years agoauth: Fix a leak on 'Backend reported permanent error which prevented lookup' error
Remi Gacogne [Fri, 28 Jun 2019 13:21:12 +0000 (15:21 +0200)] 
auth: Fix a leak on 'Backend reported permanent error which prevented lookup' error

(cherry picked from commit f4ea75a9bd112419e111f867b3b868864fbd322d)

4 years agoBackport #7969
Peter van Dijk [Mon, 1 Jul 2019 20:36:48 +0000 (22:36 +0200)] 
Backport #7969

4 years agoremoved unused variables
fwsmit [Fri, 21 Jun 2019 09:33:24 +0000 (11:33 +0200)] 
removed unused variables

(cherry picked from commit 17e300d77b3f68367e8f7b76dbf629c45e8604cc)

4 years agoBackport #7996
Peter van Dijk [Mon, 1 Jul 2019 20:35:20 +0000 (22:35 +0200)] 
Backport #7996

4 years agoClear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)] 
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.

(cherry picked from commit 20b22895546a3e7fb7760940599dfb1e29a00777)

4 years agoBackport #7550
Peter van Dijk [Mon, 1 Jul 2019 20:33:01 +0000 (22:33 +0200)] 
Backport #7550

4 years agomove settings doc from rec to auth
Peter van Dijk [Mon, 24 Jun 2019 09:06:22 +0000 (11:06 +0200)] 
move settings doc from rec to auth

(cherry picked from commit ca609038ef48739ca14e0c166a621070601b2318)

4 years agowebserver-max-bodysize is new in 4.2.0
Remi Gacogne [Tue, 7 May 2019 10:45:20 +0000 (12:45 +0200)] 
webserver-max-bodysize is new in 4.2.0

Co-Authored-By: Habbie <peter.van.dijk@powerdns.com>
(cherry picked from commit ffb7aefdd7e988ae4a5cf3f2d727b6a6bc48c4bd)

4 years agobump auth api request buffer size
Peter van Dijk [Fri, 8 Mar 2019 14:20:26 +0000 (15:20 +0100)] 
bump auth api request buffer size

(cherry picked from commit bfde2d10cb0dec42b9a3661e176ce551055f0f3e)

4 years agoauth web: make max request/response body size configurable
Peter van Dijk [Fri, 8 Mar 2019 13:58:22 +0000 (14:58 +0100)] 
auth web: make max request/response body size configurable

(cherry picked from commit 214b034e99eee03ab9c364fab11921be61942b15)

4 years agoBackport #7980
Peter van Dijk [Mon, 1 Jul 2019 20:31:43 +0000 (22:31 +0200)] 
Backport #7980

4 years agoauth: make sure we really are using glibc
James Taylor [Tue, 25 Jun 2019 09:33:04 +0000 (19:33 +1000)] 
auth: make sure we really are using glibc

Make sure we're using glibc and not uclibc pretending to be glibc

(cherry picked from commit 7ac0df2a59ddd6e92ede2bca590ec0c76eb67559)

4 years agoremove recursor/dnsdist travis testing
Peter van Dijk [Mon, 1 Jul 2019 15:12:14 +0000 (17:12 +0200)] 
remove recursor/dnsdist travis testing

4 years agoremove recursor circleci testing
Peter van Dijk [Mon, 1 Jul 2019 10:42:49 +0000 (12:42 +0200)] 
remove recursor circleci testing

4 years agoBackport #7977
Peter van Dijk [Mon, 1 Jul 2019 08:34:31 +0000 (10:34 +0200)] 
Backport #7977

4 years agoAdd LMDB backend to centos-7
Pieter Lexis [Mon, 24 Jun 2019 12:16:33 +0000 (14:16 +0200)] 
Add LMDB backend to centos-7

(cherry picked from commit d0d9195b07dfefd04de778b8c69a94c8fa68f317)

4 years agoBackport #7918
Peter van Dijk [Mon, 1 Jul 2019 08:33:50 +0000 (10:33 +0200)] 
Backport #7918

4 years agodoc: add a depreation warning to the SOA autocomplete settings
Kees Monshouwer [Tue, 25 Jun 2019 14:02:42 +0000 (16:02 +0200)] 
doc: add a depreation warning to the SOA autocomplete settings

(cherry picked from commit d57f0fa60d384a8157aedd4e0aad99b64ff9ff3e)

4 years agoauth: deprecate SOA autocomplete
Kees Monshouwer [Wed, 12 Jun 2019 13:35:26 +0000 (15:35 +0200)] 
auth: deprecate SOA autocomplete

(cherry picked from commit 5018693961b51601f1123d55d1ae8ae4e9e383ec)

4 years agoBackport #7889
Peter van Dijk [Mon, 1 Jul 2019 08:27:41 +0000 (10:27 +0200)] 
Backport #7889

4 years agoauth: move /var/lib/pdns to pdns-server debian package
Pieter Lexis [Fri, 7 Jun 2019 09:46:58 +0000 (11:46 +0200)] 
auth: move /var/lib/pdns to pdns-server debian package

(cherry picked from commit 7334a7f56362d3e182a252bf82b83add285fdf20)

4 years agoBackport #7890
Peter van Dijk [Mon, 1 Jul 2019 08:26:56 +0000 (10:26 +0200)] 
Backport #7890

4 years agoauth: report libmaxminddb and libgeoip
Pieter Lexis [Fri, 7 Jun 2019 12:44:51 +0000 (14:44 +0200)] 
auth: report libmaxminddb and libgeoip

(cherry picked from commit a8e771e56efbdcabf720cf23454ca9ad66db67b6)

4 years agoauth configure: mention more features enabled
Pieter Lexis [Fri, 7 Jun 2019 12:35:31 +0000 (14:35 +0200)] 
auth configure: mention more features enabled

(cherry picked from commit b8fa2bf249af26774bd099de832a9cda914c796a)

4 years agoBackport #7910
Peter van Dijk [Mon, 1 Jul 2019 08:26:12 +0000 (10:26 +0200)] 
Backport #7910

4 years agodoc: s/\n//
Kees Monshouwer [Wed, 12 Jun 2019 09:27:19 +0000 (11:27 +0200)] 
doc: s/\n//

(cherry picked from commit 828e5107ec539b9602cf36ad10c0be79fbe114de)

4 years agoauth: completely disable the packet when cache-ttl=0
Kees Monshouwer [Fri, 7 Jun 2019 12:46:03 +0000 (14:46 +0200)] 
auth: completely disable the packet when cache-ttl=0
This was inspired by #7802 but is more in line with the current query cache behaviour

closes #7802

(cherry picked from commit 9a037bfa9444444d5b8a6e6bc04cc2a2521fe3a4)

4 years agoBackport #7943
Peter van Dijk [Mon, 1 Jul 2019 08:25:21 +0000 (10:25 +0200)] 
Backport #7943

4 years agoclarify code with a comment
bert hubert [Mon, 17 Jun 2019 20:26:29 +0000 (22:26 +0200)] 
clarify code with a comment

(cherry picked from commit 1fbf6feac8224a53413dd8107512ae14483ac0e8)

4 years agoImprove error when notification comes in for non-slave zone
bert hubert [Mon, 17 Jun 2019 12:57:58 +0000 (14:57 +0200)] 
Improve error when notification comes in for non-slave zone

(cherry picked from commit 3729e7f856fc75bf5abd1e6570dd2d78895bae7e)

4 years agoBackport #7962
Peter van Dijk [Mon, 1 Jul 2019 08:20:50 +0000 (10:20 +0200)] 
Backport #7962

4 years agoauth: add edited_serial to Zone object
Pieter Lexis [Thu, 20 Jun 2019 12:04:23 +0000 (14:04 +0200)] 
auth: add edited_serial to Zone object

This gives API consumers the ability to see the edited SOA serial. The
API code used the same functions as the DNSSECKeeper, so this serial
will match the one send to clients in response to queries.

Closes #7961

(cherry picked from commit 1258fecde7a3c8b801c1aaf677628f73a9d3229e)

4 years agoBackport #7871
Peter van Dijk [Mon, 24 Jun 2019 08:30:06 +0000 (10:30 +0200)] 
Backport #7871

4 years agoBackport #7699
Peter van Dijk [Mon, 24 Jun 2019 08:30:02 +0000 (10:30 +0200)] 
Backport #7699

4 years agoall: DNSName avoid copying labels while converting to string
Charles-Henri Bruyand [Wed, 27 Mar 2019 17:17:01 +0000 (18:17 +0100)] 
all: DNSName avoid copying labels while converting to string

(cherry picked from commit 19164b93abc64a56140114c0416be6fa585dfab9)

4 years agoall: DNSName reserve memory before converting to string
Charles-Henri Bruyand [Wed, 27 Mar 2019 14:30:19 +0000 (15:30 +0100)] 
all: DNSName reserve memory before converting to string

(cherry picked from commit f0da87e09e98c1c9249e06cd22bb0d0451bba7ee)

4 years agoRemove unneeded AM_CONDITIONAL line.
Otto Moerbeek [Fri, 7 Jun 2019 09:37:02 +0000 (11:37 +0200)] 
Remove unneeded AM_CONDITIONAL line.

(cherry picked from commit 659e39017f06c890454997f364002d55b4684a80)

4 years agoFix error handling in poll loop.
Otto Moerbeek [Tue, 4 Jun 2019 12:35:16 +0000 (14:35 +0200)] 
Fix error handling in poll loop.

(cherry picked from commit 3252abefc2b75c19655c0be9570b1d293e948fd8)