]> granicus.if.org Git - pdns/log
pdns
5 years agoMerge pull request #7922 from Habbie/auth-4.1.x-backport-superslave auth-4.1.9
Peter van Dijk [Mon, 17 Jun 2019 09:35:50 +0000 (11:35 +0200)]
Merge pull request #7922 from Habbie/auth-4.1.x-backport-superslave

backport superslave setting to 4.1.x, but default to yes

5 years agoMerge pull request #7921 from Habbie/backport-7706
Peter van Dijk [Wed, 12 Jun 2019 20:25:26 +0000 (22:25 +0200)]
Merge pull request #7921 from Habbie/backport-7706

backport: No longer filter DNSSEC metadata when DNSSEC is enabled in gsql

5 years agoMerge pull request #7913 from Habbie/backport-7899
Peter van Dijk [Wed, 12 Jun 2019 19:28:37 +0000 (21:28 +0200)]
Merge pull request #7913 from Habbie/backport-7899

backport #7899: switch circleci mssql image

5 years agobackport superslave setting to 4.1.x, but default to yes
Peter van Dijk [Wed, 12 Jun 2019 18:10:37 +0000 (20:10 +0200)]
backport superslave setting to 4.1.x, but default to yes

5 years agoNo longer filter DNSSEC metadata when DNSSEC is enabled in gsql
bert hubert [Wed, 10 Apr 2019 16:59:23 +0000 (18:59 +0200)]
No longer filter DNSSEC metadata when DNSSEC is enabled in gsql

As noted in #7705, gsql getAllDomainMetadata() did not return all domain
metadata.  This function would always filter DNSSEC related metadata, even
if a backend was configured to support DNSSEC.

(cherry picked from commit d97e1ae1430a1e66893e8156bdf1c7232d3d0331)

5 years agobackport #7899: switch circleci mssql image
Peter van Dijk [Wed, 12 Jun 2019 09:46:27 +0000 (11:46 +0200)]
backport #7899: switch circleci mssql image

5 years agoMerge pull request #7663 from omoerbeek/backport-7662
Peter van Dijk [Tue, 11 Jun 2019 08:17:49 +0000 (10:17 +0200)]
Merge pull request #7663 from omoerbeek/backport-7662

auth 4.1.x: backport 7662 Do not exit on exception resolving addresses to notify

5 years agoMerge pull request #7829 from omoerbeek/backport-7790
Otto Moerbeek [Tue, 28 May 2019 14:39:08 +0000 (16:39 +0200)]
Merge pull request #7829 from omoerbeek/backport-7790

auth backport 7790 to 4.1.x: Minimal fix to avoid busy looping on lots of notifies.

5 years agoFix fatal exception on unparseable slave addresses.
Otto Moerbeek [Wed, 3 Apr 2019 12:10:22 +0000 (14:10 +0200)]
Fix fatal exception on unparseable slave addresses.
Backport of https://github.com/PowerDNS/pdns/pull/7662

5 years agoMinimal fix to avoid busy looping. The condition_variable varant showed
Otto Moerbeek [Fri, 10 May 2019 11:45:00 +0000 (13:45 +0200)]
Minimal fix to avoid busy looping. The condition_variable varant showed
spurious failures on travis so go for the minimial fix.

5 years agoMerge pull request #7613 from Habbie/circleci-auth-4.1.x auth-4.1.8
aerique [Fri, 22 Mar 2019 08:43:15 +0000 (09:43 +0100)]
Merge pull request #7613 from Habbie/circleci-auth-4.1.x

auth-4.1.x: set up circleCI testing for auth+godbc+mssql

5 years agoset up circleCI testing for auth+godbc+mssql
Peter van Dijk [Fri, 15 Mar 2019 13:24:58 +0000 (14:24 +0100)]
set up circleCI testing for auth+godbc+mssql

(cherry picked from commit fbd89850013536ecad8da2368d136f092d355388)

5 years agoMerge pull request #7604 from rgacogne/auth41-backport-7494
Pieter Lexis [Thu, 21 Mar 2019 16:14:52 +0000 (17:14 +0100)]
Merge pull request #7604 from rgacogne/auth41-backport-7494

[backport to auth-4.1.x] Correctly interpret an empty AXFR response to an IXFR query

5 years agoMerge pull request #7610 from aerique/backport/7341-ipv4-any-check
aerique [Thu, 21 Mar 2019 14:02:46 +0000 (15:02 +0100)]
Merge pull request #7610 from aerique/backport/7341-ipv4-any-check

[backport to auth-4.1.x] Fix replying from ANY address for non-standard port

5 years agoMerge pull request #7609 from aerique/backport/7580-narrow-rectify
Remi Gacogne [Thu, 21 Mar 2019 13:28:55 +0000 (14:28 +0100)]
Merge pull request #7609 from aerique/backport/7580-narrow-rectify

[backport to auth-4.1.x] Rectify for ent records in narrow zones was slightly wrong

5 years agoMerge pull request #7607 from aerique/backport/7472-do-not-compress-root
Remi Gacogne [Thu, 21 Mar 2019 12:54:41 +0000 (13:54 +0100)]
Merge pull request #7607 from aerique/backport/7472-do-not-compress-root

[backport to auth-4.1.x] Do not compress the root

5 years agoMerge pull request #7608 from aerique/backport/7459-fix-dot-strip-setcontent
Remi Gacogne [Thu, 21 Mar 2019 12:54:32 +0000 (13:54 +0100)]
Merge pull request #7608 from aerique/backport/7459-fix-dot-strip-setcontent

[backport to auth-4.1.x] fix dot stripping in setContent()

5 years agoFix replying from ANY address for non-standard port
bert hubert [Mon, 7 Jan 2019 14:28:37 +0000 (15:28 +0100)]
Fix replying from ANY address for non-standard port
Previously, we would not recognize 0.0.0.0:5300 or even 0.0.0.0:53 as the 'any' address, leading us to answer from the wrong address.

(cherry picked from commit 36025a51ed16e31e5d186b2c126ef1178a39a569)

5 years agoauth: small optimization in the rectify code for optout narrow zones
Kees Monshouwer [Fri, 15 Mar 2019 11:14:57 +0000 (12:14 +0100)]
auth: small optimization in the rectify code for optout narrow zones

(cherry picked from commit 2885750af64e945ba475fd02f7f3cd5194052202)

5 years agoauth: Rectify for ent records in narrow zones was slightly wrong.
Kees Monshouwer [Thu, 14 Mar 2019 22:51:23 +0000 (23:51 +0100)]
auth: Rectify for ent records in narrow zones was slightly wrong.

(cherry picked from commit 666c721173d00d55953b86941099874867bae2c3)

5 years agoMerge pull request #7605 from rgacogne/auth41-backport-7496
Remi Gacogne [Thu, 21 Mar 2019 11:39:58 +0000 (12:39 +0100)]
Merge pull request #7605 from rgacogne/auth41-backport-7496

[backport to auth-4.1.x] Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()

5 years agoauth: fix dot stripping in setContent()
Kees Monshouwer [Thu, 7 Feb 2019 13:25:14 +0000 (14:25 +0100)]
auth: fix dot stripping in setContent()

(cherry picked from commit 0583946ff70d73b5da579db1d81c9c374adf2cc3)

5 years agoDo not compress the root
Kees Monshouwer [Sun, 10 Feb 2019 22:25:49 +0000 (23:25 +0100)]
Do not compress the root

(cherry picked from commit 2d6c4fcb18ec7ae1ef689656ce6d52b399cc26a9)

5 years agoMerge pull request #7603 from aerique/backport/7294-patch-tcp-close-fd
Remi Gacogne [Wed, 20 Mar 2019 14:34:22 +0000 (15:34 +0100)]
Merge pull request #7603 from aerique/backport/7294-patch-tcp-close-fd

[backport to auth-4.1.x] prevent leak of file descriptor if running out of ports for incoming AXFR

5 years agoMerge pull request #7602 from aerique/backport/7546-fix-search-query
Remi Gacogne [Wed, 20 Mar 2019 14:34:14 +0000 (15:34 +0100)]
Merge pull request #7602 from aerique/backport/7546-fix-search-query

[backport to auth-4.1.x] gsqlbackend: Reset correct query in searchComments

5 years agoauth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()
Remi Gacogne [Mon, 18 Feb 2019 15:16:04 +0000 (16:16 +0100)]
auth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()

(cherry picked from commit a6037f784da39d9cd784226fcc1a278383eb99a1)

5 years agoCorrectly interpret an empty AXFR response to an IXFR query
Remi Gacogne [Mon, 18 Feb 2019 12:07:14 +0000 (13:07 +0100)]
Correctly interpret an empty AXFR response to an IXFR query

(cherry picked from commit 98b3317609b2783d1bfd5da99edc81af28f4e1d6)

5 years agoprevent leak of file descriptor if running out of ports for incoming AXFR
bert hubert [Wed, 19 Dec 2018 09:08:39 +0000 (10:08 +0100)]
prevent leak of file descriptor if running out of ports for incoming AXFR

(cherry picked from commit f852aff670c19b7dac9a0cef2c3912ebd8946201)

5 years agogsqlbackend: Reset correct query in searchComments
Aki Tuomi [Thu, 7 Mar 2019 11:19:04 +0000 (13:19 +0200)]
gsqlbackend: Reset correct query in searchComments

(cherry picked from commit b7309408d65edc2365392bb4c24f7a39696a880b)

5 years agoMerge pull request #7509 from Habbie/4.1.x-mysqlthreadcloser
Pieter Lexis [Tue, 19 Mar 2019 12:09:13 +0000 (13:09 +0100)]
Merge pull request #7509 from Habbie/4.1.x-mysqlthreadcloser

plug mysql_thread_init memory leak, fixes #6231

5 years agoMerge pull request #7567 from pieterlexis/41-el6-compiler-optimizations
Pieter Lexis [Tue, 19 Mar 2019 12:07:44 +0000 (13:07 +0100)]
Merge pull request #7567 from pieterlexis/41-el6-compiler-optimizations

EL6: fix CXXFLAGS to build with compiler optimizations

5 years agoMerge pull request #7577 from rgacogne/auth41-remotebackend auth-4.1.7
Remi Gacogne [Mon, 18 Mar 2019 08:21:15 +0000 (09:21 +0100)]
Merge pull request #7577 from rgacogne/auth41-remotebackend

auth-4.1.x: remotebackend: http connector - Properly escape parameters

5 years agoauth: Parse the HTTP URL when the remote backend is initialized
Remi Gacogne [Wed, 13 Mar 2019 16:46:27 +0000 (17:46 +0100)]
auth: Parse the HTTP URL when the remote backend is initialized

(cherry picked from commit a11a87c8eacb146b2c4a036f9a0817d704c8e925)

5 years agoremotebackend: http connector - Properly escape parameters
Aki Tuomi [Wed, 13 Mar 2019 18:06:09 +0000 (20:06 +0200)]
remotebackend: http connector - Properly escape parameters

(cherry picked from commit 6de3be832cbab7805ab5215dce503d11d8769414)

5 years agoEL6: fix CXXFLAGS to build with compiler optimizations
Pieter Lexis [Mon, 11 Mar 2019 16:30:31 +0000 (17:30 +0100)]
EL6: fix CXXFLAGS to build with compiler optimizations

5 years agoplug mysql_thread_init memory leak
Peter van Dijk [Fri, 1 Mar 2019 12:03:02 +0000 (13:03 +0100)]
plug mysql_thread_init memory leak

5 years agoMerge pull request #7325 from rgacogne/auth41-travis-rubygems-issue auth-4.1.6
Remi Gacogne [Fri, 4 Jan 2019 08:42:54 +0000 (09:42 +0100)]
Merge pull request #7325 from rgacogne/auth41-travis-rubygems-issue

auth-4.1.x: Update rubygems in travis (for bundler)

5 years agoUpdate rubygems in travis (for bundler)
Pieter Lexis [Thu, 3 Jan 2019 10:08:32 +0000 (11:08 +0100)]
Update rubygems in travis (for bundler)

(cherry picked from commit 2a5c0b379f0bc256cb92920e3be56139f5bcdc29)

6 years agoMerge pull request #7279 from rgacogne/auth41-multiple-cnames-rrset
Remi Gacogne [Thu, 13 Dec 2018 16:21:37 +0000 (17:21 +0100)]
Merge pull request #7279 from rgacogne/auth41-multiple-cnames-rrset

 auth-4.1.x: Prevent more than one CNAME/SOA record in the same RRset

6 years agoMerge pull request #7280 from rgacogne/auth41-fix-rsa-key-size-api-test
Remi Gacogne [Thu, 13 Dec 2018 14:36:42 +0000 (15:36 +0100)]
Merge pull request #7280 from rgacogne/auth41-fix-rsa-key-size-api-test

auth-4.1.x: Use a realistic RSA key size for testing rsasha256 via the API

6 years agoauth: Use a realistic RSA key size for testing rsasha256 via the API
Remi Gacogne [Thu, 13 Dec 2018 10:00:25 +0000 (11:00 +0100)]
auth: Use a realistic RSA key size for testing rsasha256 via the API

We used to request the creation of a 256-bit RSA key, which OpenSSL
refuses from 1.1.1 onward. 1.1.0 used to accept everything larger
than 16 bits (!) but in 1.1.1 512 (RSA_MIN_MODULUS_BITS) is the
minimum.

6 years agoauth: Add a whitespace before the last type and '}'
Remi Gacogne [Wed, 12 Dec 2018 15:33:21 +0000 (16:33 +0100)]
auth: Add a whitespace before the last type and '}'

(cherry picked from commit 5089d622acf70da9ca6f8877d400f05b40cc23c1)

6 years agoauth: Prevent more than one CNAME/SOA record in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 13:38:07 +0000 (14:38 +0100)]
auth: Prevent more than one CNAME/SOA record in the same RRset

(cherry picked from commit 7f20132510ca9088304004504d34a2f9db5e0336)

6 years agoauth: Add an API test for multiple CNAME records in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 13:35:32 +0000 (14:35 +0100)]
auth: Add an API test for multiple CNAME records in the same RRset

(cherry picked from commit 8b1fa85de2f5cd33ce84f78de3a700bc5d2fb512)

6 years agoMerge pull request #7213 from Habbie/backport-7212
Remi Gacogne [Tue, 20 Nov 2018 09:15:44 +0000 (10:15 +0100)]
Merge pull request #7213 from Habbie/backport-7212

upgrade to jdnssec-tools 0.14

6 years agoupgrade to jdnssec-tools 0.14
Peter van Dijk [Fri, 16 Nov 2018 16:07:42 +0000 (17:07 +0100)]
upgrade to jdnssec-tools 0.14

(cherry picked from commit 20445e6958184a6ca1e1eb7339434f6e77a8bb45)

6 years agoMerge pull request #7149 from aerique/auth41-sec-201810 auth-4.1.5
aerique [Tue, 6 Nov 2018 15:20:14 +0000 (16:20 +0100)]
Merge pull request #7149 from aerique/auth41-sec-201810

PowerDNS Authoritative Server 4.1.5

6 years agoMerge pull request #7121 from rgacogne/auth415-backports
Peter van Dijk [Mon, 5 Nov 2018 10:08:27 +0000 (11:08 +0100)]
Merge pull request #7121 from rgacogne/auth415-backports

Authoritative 4.1.5 backports

6 years agoMerge pull request #7118 from pieterlexis/auth-41-el6-fix
Pieter Lexis [Wed, 31 Oct 2018 22:16:17 +0000 (23:16 +0100)]
Merge pull request #7118 from pieterlexis/auth-41-el6-fix

auth 4.1 build: Switch to devtoolset 7 for el6

6 years agoBackport #6913
Remi Gacogne [Wed, 31 Oct 2018 15:15:20 +0000 (16:15 +0100)]
Backport #6913

6 years agoBackport #6948
Remi Gacogne [Wed, 31 Oct 2018 15:15:15 +0000 (16:15 +0100)]
Backport #6948

6 years agoBackport #6917
Remi Gacogne [Wed, 31 Oct 2018 15:15:09 +0000 (16:15 +0100)]
Backport #6917

6 years agoactually truncate truncated responses; fixes #6912
Peter van Dijk [Fri, 31 Aug 2018 20:41:21 +0000 (22:41 +0200)]
actually truncate truncated responses; fixes #6912

(cherry picked from commit cdc8ccd71098ee679de85bf0a8e0ada017ed45a4)

6 years agoFix compilation with LibreSSL 2.7.0+
Remi Gacogne [Sat, 8 Sep 2018 15:15:14 +0000 (17:15 +0200)]
Fix compilation with LibreSSL 2.7.0+

(cherry picked from commit 1648b8ff39c705fdee526cd73bf2652982b80087)

6 years agoRelease memory in case of error in the OpenSSL ECDSA constructor
Remi Gacogne [Mon, 3 Sep 2018 07:43:45 +0000 (09:43 +0200)]
Release memory in case of error in the OpenSSL ECDSA constructor

The current code will only fail to release the allocated memory if
called with an invalid algorithm, which won't happen, or if a
memory allocation fails in which case this might not matter much.
Still, it's cleaner to release the memory properly and might avoid
mistakes later if we look at this code while implementing a new
crypto backend.

(cherry picked from commit b141d89b27e52c3a8e76ca79ec5201d001f4fce9)

6 years agoauth 4.1 build: Switch to devtoolset 7 for el6
Pieter Lexis [Wed, 31 Oct 2018 13:51:50 +0000 (14:51 +0100)]
auth 4.1 build: Switch to devtoolset 7 for el6

Fixed on master by #7040

6 years agoauth: Add missing ednscookies.hh dependency to the Makefile
Remi Gacogne [Wed, 31 Oct 2018 13:26:47 +0000 (14:26 +0100)]
auth: Add missing ednscookies.hh dependency to the Makefile

(cherry picked from commit edb705fbe5476617b524fe05e98ee8d41485c07c)

6 years agoDo full packet comparison in the packet caches in addition to the hash
Remi Gacogne [Thu, 19 Jul 2018 13:52:40 +0000 (15:52 +0200)]
Do full packet comparison in the packet caches in addition to the hash

(cherry picked from commit aab08a02344a66e14572cf63129d157d6e7ba8c9)
(cherry picked from commit b9062eae2599aee60802d90ef91afcb9fac49fe5)

6 years agoAllocate DNSRecord objects as smart pointers right away
Remi Gacogne [Wed, 23 May 2018 08:35:17 +0000 (10:35 +0200)]
Allocate DNSRecord objects as smart pointers right away

(cherry picked from commit 1339125af5afe6d6ecfe0a500c5fdc76d790459d)
(cherry picked from commit ab553ca2c28d72e1031fae1ebac88c7fbc74a6b1)

6 years agoMerge pull request #6976 from pieterlexis/backport-6811
Peter van Dijk [Mon, 17 Sep 2018 13:33:39 +0000 (15:33 +0200)]
Merge pull request #6976 from pieterlexis/backport-6811

apply ALIAS scopemask after chasing

6 years agoapply ALIAS scopemask after chasing
Peter van Dijk [Thu, 26 Jul 2018 12:28:16 +0000 (14:28 +0200)]
apply ALIAS scopemask after chasing

(cherry picked from commit 0abea1ca19249f9028e85dec3cf7535d0598fede)

6 years agoMerge pull request #6972 from rgacogne/auth41-unfck-sphinx
Remi Gacogne [Fri, 14 Sep 2018 12:18:39 +0000 (14:18 +0200)]
Merge pull request #6972 from rgacogne/auth41-unfck-sphinx

auth-4.1.x: Sphinx 1.8.0 seems broken, use any other version available instead

6 years agoSphinx 1.8.0 seems broken, use any other version available instead
Remi Gacogne [Fri, 14 Sep 2018 07:48:38 +0000 (09:48 +0200)]
Sphinx 1.8.0 seems broken, use any other version available instead

(cherry picked from commit 424a5ee31cd82870da5e1df4b908735967e2912a)

6 years agoMerge pull request #6866 from pieterlexis/auth-414-backports auth-4.1.4
Pieter Lexis [Wed, 29 Aug 2018 11:59:49 +0000 (13:59 +0200)]
Merge pull request #6866 from pieterlexis/auth-414-backports

Authoritative server 4.1.4 backports

6 years agoBackport #6590
Pieter Lexis [Wed, 22 Aug 2018 11:22:57 +0000 (13:22 +0200)]
Backport #6590

6 years agoFix warnings reported by GCC 8.1.0
Remi Gacogne [Wed, 9 May 2018 15:06:40 +0000 (17:06 +0200)]
Fix warnings reported by GCC 8.1.0

- polymorphic exceptions caught by value
- ComboAddress objects manipulated via `memset()`

(cherry picked from commit d38e2ba97a78aa9dfc894fc4e13a6f3a410dd31a)

6 years agoBackport #6857
Pieter Lexis [Tue, 21 Aug 2018 13:41:35 +0000 (15:41 +0200)]
Backport #6857

6 years agoBackport #6858
Pieter Lexis [Tue, 21 Aug 2018 12:01:29 +0000 (14:01 +0200)]
Backport #6858

6 years agoDelete a zone from the list of failed slave-checks on incoming NOTIFY and fix d_lock...
Klaus Darilion [Thu, 16 Aug 2018 14:50:05 +0000 (14:50 +0000)]
Delete a zone from the list of failed slave-checks on incoming NOTIFY and fix d_lock handling

- If the master is not available, PDNS uses an incrmental backoff for SOA-checks to avoid
constant SOA checks on the failed master server. If the master server comes back to life
and sends a NOTIFY, the NOTIFY is ignored due to the backoff. This patch removes the zone
from the list of failed slave-checks to allow immediate checking.

- Debug-Log if a slave-check was skipped due to incremental backoff feature

- Fix d_lock handling according to comments on https://github.com/PowerDNS/pdns/pull/6819

- Be more verbose about the consequences of a failed SOA check

(cherry picked from commit f1a7ff7ab183fd6e92b21cff30ecddef22b666d2)

6 years agochange 0 to nullptr
Peter van Dijk [Mon, 20 Aug 2018 07:38:42 +0000 (09:38 +0200)]
change 0 to nullptr

(cherry picked from commit 3abd2f75e3af499f2c46d9af9b413196ae18a1a2)

6 years agorfc2136: do lookups in the right zone
Peter van Dijk [Thu, 16 Aug 2018 17:55:45 +0000 (19:55 +0200)]
rfc2136: do lookups in the right zone

(cherry picked from commit f1e5fdc732aca18205108e7a2d2e6c5200e3b896)

6 years agoadd test for parent/child confusion
Peter van Dijk [Thu, 16 Aug 2018 20:46:41 +0000 (22:46 +0200)]
add test for parent/child confusion

(cherry picked from commit c9ff6ee5b6c8cb1263c4fc726cfc781e3b8e0064)

6 years agoadd sub.test.dyndns zone, add occluded record to parent
Peter van Dijk [Thu, 16 Aug 2018 20:03:09 +0000 (22:03 +0200)]
add sub.test.dyndns zone, add occluded record to parent

(cherry picked from commit ebca4e78fef89de4d32fa4cde01c69395c3e2de6)

6 years agouse gsort when available, because sort -V is a GNU extension
Peter van Dijk [Thu, 16 Aug 2018 19:23:04 +0000 (21:23 +0200)]
use gsort when available, because sort -V is a GNU extension

(cherry picked from commit da25a468e4cc99af89da4730d32ea0ed3b8643a5)

6 years agoafter a db lookup, always finish the get cycle
Peter van Dijk [Thu, 16 Aug 2018 19:15:59 +0000 (21:15 +0200)]
after a db lookup, always finish the get cycle

(cherry picked from commit e2136c35b317c408434eaec8c0f9ee288d9b9f38)

6 years agoBackport #6738
Pieter Lexis [Tue, 21 Aug 2018 10:25:22 +0000 (12:25 +0200)]
Backport #6738

6 years agoBackport #6691
Pieter Lexis [Tue, 21 Aug 2018 10:25:09 +0000 (12:25 +0200)]
Backport #6691

6 years agoBackport #6686
Pieter Lexis [Tue, 21 Aug 2018 10:24:57 +0000 (12:24 +0200)]
Backport #6686

6 years agoBackport #6844
Pieter Lexis [Tue, 21 Aug 2018 10:24:43 +0000 (12:24 +0200)]
Backport #6844

6 years agoBackport #6648
Pieter Lexis [Tue, 21 Aug 2018 10:24:37 +0000 (12:24 +0200)]
Backport #6648

6 years agoauth: Reset the TSIG state between queries
Remi Gacogne [Thu, 14 Jun 2018 13:30:09 +0000 (15:30 +0200)]
auth: Reset the TSIG state between queries

(cherry picked from commit b79927213eea1989a067711c61471428e092b4c6)

6 years agopdns_control notify: make sure PDNS is either master, or slave with renotify
Klaus Darilion [Tue, 24 May 2016 13:23:56 +0000 (13:23 +0000)]
pdns_control notify: make sure PDNS is either master, or slave with renotify

(cherry picked from commit e64b1e21a4090316c06ef9b7112092db6bb4feff)
(cherry picked from commit 0c54189148e31230768b67f2338991e94927d49d)

6 years agoInitialize some missed qtypes
Chris Hofstaedtler [Mon, 28 May 2018 14:51:03 +0000 (16:51 +0200)]
Initialize some missed qtypes

(cherry picked from commit 19abacc814311193e827905466658312471af412)

6 years agoWorkaround MariaDB pretending to be MySQL
Chris Hofstaedtler [Fri, 10 Aug 2018 12:46:05 +0000 (14:46 +0200)]
Workaround MariaDB pretending to be MySQL

(cherry picked from commit 7906a5d37203a8c3c4fb130d482442c3ba151e3b)

6 years agogmysql: Use future-proof statement for transaction isolation
Chris Hofstaedtler [Tue, 22 May 2018 12:12:41 +0000 (14:12 +0200)]
gmysql: Use future-proof statement for transaction isolation

(cherry picked from commit c11d8368ddc369ff8473dbcb619b17b6a1cf7e38)

6 years agoMerge pull request #6817 from rgacogne/auth41-api-strict-ordering
Remi Gacogne [Thu, 2 Aug 2018 16:02:43 +0000 (18:02 +0200)]
Merge pull request #6817 from rgacogne/auth41-api-strict-ordering

auth-4.1.x: Backport #6816: Make sure that we use strict weak records ordering in the API

6 years agoauth: Make sure that we use strict weak records ordering in the API
Remi Gacogne [Mon, 30 Jul 2018 12:40:10 +0000 (14:40 +0200)]
auth: Make sure that we use strict weak records ordering in the API

(cherry picked from commit f2d6dcc017a05fb5e4f9ba1349c568ff43ce9bb9)

6 years agoMerge pull request #6790 from Habbie/backport-6780
Pieter Lexis [Thu, 12 Jul 2018 13:41:56 +0000 (15:41 +0200)]
Merge pull request #6790 from Habbie/backport-6780

backport: avoid concurrent records/comments iteration from running out of sync

6 years agoavoid concurrent records/comments iteration from running out of sync
Peter van Dijk [Fri, 6 Jul 2018 16:47:00 +0000 (18:47 +0200)]
avoid concurrent records/comments iteration from running out of sync

(cherry picked from commit 5481c77c8917ef3097d37e0da8a450a01b09f3de)

6 years agoMerge pull request #6678 from cmouse/geoip-4.1.3
Peter van Dijk [Mon, 28 May 2018 14:15:04 +0000 (16:15 +0200)]
Merge pull request #6678 from cmouse/geoip-4.1.3

geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

6 years agogeoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value
Aki Tuomi [Sun, 27 May 2018 07:34:22 +0000 (10:34 +0300)]
geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

The return value must be greater than 0, all other indicate lookup failure.
Fixes signal 11 crash.

6 years agoMerge pull request #6656 from pieterlexis/auth-4.1.3-backports auth-4.1.3
Pieter Lexis [Thu, 24 May 2018 12:06:42 +0000 (14:06 +0200)]
Merge pull request #6656 from pieterlexis/auth-4.1.3-backports

Auth 4.1.3 backports

6 years agoBackport #6659
Pieter Lexis [Thu, 24 May 2018 09:42:53 +0000 (11:42 +0200)]
Backport #6659

6 years agoALIAS: fix comment
Pieter Lexis [Wed, 23 May 2018 16:22:13 +0000 (18:22 +0200)]
ALIAS: fix comment

(cherry picked from commit 713010a2bb48a56f156635469626680c384106d6)

6 years agoALIAS: Ensure correct name in TCP answer
Pieter Lexis [Wed, 23 May 2018 15:47:35 +0000 (17:47 +0200)]
ALIAS: Ensure correct name in TCP answer

Fixes #6654

(cherry picked from commit 45b037b068df9a9a4dd89bf11dd8df2e526261e3)

6 years agoALIAS: Add TCP test
Pieter Lexis [Wed, 23 May 2018 15:46:20 +0000 (17:46 +0200)]
ALIAS: Add TCP test

(cherry picked from commit b789c4fb4802f5bf885890a49d9c7a7b7f1eca89)

6 years agoBackport #6559
Pieter Lexis [Wed, 23 May 2018 14:36:12 +0000 (16:36 +0200)]
Backport #6559

6 years agoBackport #6370
Pieter Lexis [Wed, 23 May 2018 10:34:25 +0000 (12:34 +0200)]
Backport #6370

6 years agoauth-api: refactor checks of RRsets types while importing them
Charles-Henri Bruyand [Thu, 17 May 2018 09:36:55 +0000 (11:36 +0200)]
auth-api: refactor checks of RRsets types while importing them

(cherry picked from commit 24ded6cc4f4d13be7ec257e20cd12829f7866890)

6 years agoauth-api: restrict creation of OPT and TSIG rrsets
Charles-Henri Bruyand [Wed, 16 May 2018 15:02:02 +0000 (17:02 +0200)]
auth-api: restrict creation of OPT and TSIG rrsets

(cherry picked from commit a53b24d006304e00d9c865629f6f0de7e30afbc2)