]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agodnsdist: Count hits in the StatNode 12626/head
Remi Gacogne [Fri, 3 Mar 2023 17:00:08 +0000 (18:00 +0100)] 
dnsdist: Count hits in the StatNode

2 years agoMerge pull request #12620 from omoerbeek/rec-prep-4.8.3
Otto Moerbeek [Tue, 7 Mar 2023 09:29:03 +0000 (10:29 +0100)] 
Merge pull request #12620 from omoerbeek/rec-prep-4.8.3

rec: Prep for rec-4.8.3

2 years agoMerge pull request #12614 from omoerbeek/rec-test-serve-stale-immservfailex
Otto Moerbeek [Mon, 6 Mar 2023 12:40:54 +0000 (13:40 +0100)] 
Merge pull request #12614 from omoerbeek/rec-test-serve-stale-immservfailex

rec: test that an ImmediateServFailException isn't hidden by the serve-stale logic

2 years agoPrep for rec-4.8.3 12620/head
Otto Moerbeek [Fri, 3 Mar 2023 13:10:54 +0000 (14:10 +0100)] 
Prep for rec-4.8.3

2 years agoRec: test that an ImmediateServFailException isn't hidden by the serve-stale logic 12614/head
Otto Moerbeek [Fri, 3 Mar 2023 14:24:58 +0000 (15:24 +0100)] 
Rec: test that an ImmediateServFailException isn't hidden by the serve-stale logic

2 years agoMerge pull request #12611 from omoerbeek/rec-negcache-serve-stale-logic
Otto Moerbeek [Fri, 3 Mar 2023 11:52:28 +0000 (12:52 +0100)] 
Merge pull request #12611 from omoerbeek/rec-negcache-serve-stale-logic

rec: Fix serve-stale logic in negcache by following the record cache case more closely

2 years agoMerge pull request #12610 from omoerbeek/rec-fix-server-stale-loop
Otto Moerbeek [Fri, 3 Mar 2023 11:52:16 +0000 (12:52 +0100)] 
Merge pull request #12610 from omoerbeek/rec-fix-server-stale-loop

rec: Fix serve-stale loop logic

2 years agoReinstate refresh && served-stale logic 12611/head
Otto Moerbeek [Fri, 3 Mar 2023 11:08:35 +0000 (12:08 +0100)] 
Reinstate refresh && served-stale logic

2 years agorec: Fix serve-stale logic in negcache by following the record cache case more closely
Otto Moerbeek [Fri, 3 Mar 2023 08:55:59 +0000 (09:55 +0100)] 
rec: Fix serve-stale logic in negcache by following the record cache case more closely

2 years agoFix serve-stale loop logic. 12610/head
Otto Moerbeek [Fri, 3 Mar 2023 08:44:06 +0000 (09:44 +0100)] 
Fix serve-stale loop logic.

There are several issues here: we do not want to retry on an exception
ever as an exception indicates a final failure. e.g. a resolution
timeout for the whole query. Recursing in that state will generate
an exception storm. Individual timeouts of contacting a nameserver
do not generate an exception.  Also, we do not want to recurse if
the cache lookup for stale records did not produce anything in the
second iteration, we know it's probably going to be fatal and it
requires (portentially) a lot of work to find out.

This solves CPU pegging seen.

2 years agoMerge pull request #12598 from rgacogne/rec-update-validation-state-missing-negative...
Remi Gacogne [Wed, 1 Mar 2023 09:17:29 +0000 (10:17 +0100)] 
Merge pull request #12598 from rgacogne/rec-update-validation-state-missing-negative-indication

rec: Update validation state after a missing negative indication

2 years agoMerge pull request #12595 from omoerbeek/rec-serve-stale-wipe
Otto Moerbeek [Tue, 28 Feb 2023 10:41:40 +0000 (11:41 +0100)] 
Merge pull request #12595 from omoerbeek/rec-serve-stale-wipe

rec: Call the right wipe function for negcache in the serve-stale case

2 years agoCall the right wipe function for negcache in the serve-stale case 12595/head
Otto Moerbeek [Tue, 28 Feb 2023 09:50:50 +0000 (10:50 +0100)] 
Call the right wipe function for negcache in the serve-stale case

This is a reason serve-stale is causing an intermittent high CPU
load: the wipe function actually called was deleting a (potentially
large) subtree of the negcache on all shards.

2 years agoMerge pull request #12593 from rgacogne/clean-up-m4
Remi Gacogne [Mon, 27 Feb 2023 14:37:36 +0000 (15:37 +0100)] 
Merge pull request #12593 from rgacogne/clean-up-m4

m4: Clean up the fortify and LTO m4 by not directly editing flags

2 years agoMerge pull request #12592 from rgacogne/ddist-servfail-metric
Remi Gacogne [Mon, 27 Feb 2023 12:58:34 +0000 (13:58 +0100)] 
Merge pull request #12592 from rgacogne/ddist-servfail-metric

dnsdist: Only increment the 'servfail-responses' metric on backend responses

2 years agom4: Clean up the fortify and LTO m4 by not directly editing flags 12593/head
Remi Gacogne [Mon, 27 Feb 2023 11:21:48 +0000 (12:21 +0100)] 
m4: Clean up the fortify and LTO m4 by not directly editing flags

2 years agoMerge pull request #12586 from rgacogne/ddist-harvest-dest-addr
Remi Gacogne [Mon, 27 Feb 2023 10:39:02 +0000 (11:39 +0100)] 
Merge pull request #12586 from rgacogne/ddist-harvest-dest-addr

dnsdist: Fix the harvesting of destination addresses

2 years agodnsdist: Only increment the 'servfail-responses' metric on backend responses 12592/head
Remi Gacogne [Mon, 27 Feb 2023 09:58:38 +0000 (10:58 +0100)] 
dnsdist: Only increment the 'servfail-responses' metric on backend responses

Reported by phonedph1 (many thanks!).

2 years agoMerge pull request #12589 from rgacogne/yahttp-cxx11-detection
Remi Gacogne [Mon, 27 Feb 2023 09:23:06 +0000 (10:23 +0100)] 
Merge pull request #12589 from rgacogne/yahttp-cxx11-detection

YaHTTP: Better detection of whether C++11 features are available

2 years agoMerge pull request #12588 from AdamMajer/doh_compilation_fix
Remi Gacogne [Fri, 24 Feb 2023 16:44:34 +0000 (17:44 +0100)] 
Merge pull request #12588 from AdamMajer/doh_compilation_fix

dnsdist-protobuf: fix compilation with DoH disabled

2 years agoyahttp: Better detection of whether C++11 features are available 12589/head
Remi Gacogne [Fri, 24 Feb 2023 16:35:53 +0000 (17:35 +0100)] 
yahttp: Better detection of whether C++11 features are available

The previous version relied on having `HAVE_CXX11` defined, which
is not true when you are compiling with C++17, for example, even
though the C++11 features are available (`HAVE_CXX17` is defined
but that does not help).

2 years agodnsdist-protobuf: fix compilation with DoH disabled 12588/head
Adam Majer [Fri, 24 Feb 2023 15:46:23 +0000 (16:46 +0100)] 
dnsdist-protobuf: fix compilation with DoH disabled

2 years agoMerge pull request #12585 from romeroalx/repo-odbc-cleanup
Remi Gacogne [Fri, 24 Feb 2023 14:28:52 +0000 (15:28 +0100)] 
Merge pull request #12585 from romeroalx/repo-odbc-cleanup

Avoid Microsoft repo for ODBC packages. Step 3 of 3: cleanup manual installation of ODBC packages

2 years agodnsdist: Only fall back origDest, not hopLocal, to the frontend's address 12586/head
Remi Gacogne [Fri, 24 Feb 2023 14:25:01 +0000 (15:25 +0100)] 
dnsdist: Only fall back origDest, not hopLocal, to the frontend's address

2 years agoMerge pull request #12587 from rgacogne/ddist-no-tsan-signal-warning
Remi Gacogne [Fri, 24 Feb 2023 14:14:43 +0000 (15:14 +0100)] 
Merge pull request #12587 from rgacogne/ddist-no-tsan-signal-warning

dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN

2 years agodnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN 12587/head
Remi Gacogne [Fri, 24 Feb 2023 11:08:27 +0000 (12:08 +0100)] 
dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN

TSAN is rightfully unhappy about this:
```
WARNING: ThreadSanitizer: signal-unsafe call inside of a signal
```

This is not a real problem for us, as the worst case is that
we crash trying to exit, but let's try to avoid the warnings
in our tests.

2 years agodnsdist: Fix the harvesting of destination addresses
Remi Gacogne [Fri, 24 Feb 2023 10:30:44 +0000 (11:30 +0100)] 
dnsdist: Fix the harvesting of destination addresses

The original destination was not properly updated: 'hopLocal' contains
the destination address of the packet we received, and matches 'origDest'
unless the proxy protocol is used, in which case 'origDest' will be
updated by the 'real' destination address as seen by the client and
the first hop.
Reported by phonedph1 (many thanks!).

2 years agoAvoid Microsoft repo for ODBC. Step 3: unixodbc install cleanup 12585/head
Alexis Romero [Fri, 24 Feb 2023 10:24:26 +0000 (11:24 +0100)] 
Avoid Microsoft repo for ODBC. Step 3: unixodbc install cleanup

2 years agoMerge pull request #12584 from omoerbeek/auth-include-crypto
Otto Moerbeek [Fri, 24 Feb 2023 10:15:55 +0000 (11:15 +0100)] 
Merge pull request #12584 from omoerbeek/auth-include-crypto

auth: Add flags to find libssl includes to two modules needing them

2 years agoAdd flags to find libssl includes to two modules needing them 12584/head
Otto Moerbeek [Fri, 24 Feb 2023 09:08:31 +0000 (10:08 +0100)] 
Add flags to find libssl includes to two modules needing them

2 years agoMerge pull request #12582 from hlindqvist/dnsdist-svcb-dohpath-key7
Remi Gacogne [Fri, 24 Feb 2023 08:57:44 +0000 (09:57 +0100)] 
Merge pull request #12582 from hlindqvist/dnsdist-svcb-dohpath-key7

Use key7 for dohpath in SVCB examples in dnsdist

2 years agoUse key7 for dohpath in SVCB examples in dnsdist 12582/head
Håkan Lindqvist [Thu, 23 Feb 2023 20:58:48 +0000 (21:58 +0100)] 
Use key7 for dohpath in SVCB examples in dnsdist

As per the IANA registry, 7 is the id assigned for the dohpath SVCB
parameter: https://www.iana.org/assignments/dns-svcb/dns-svcb.xhtml

2 years agoMerge pull request #12577 from romeroalx/repo-odbc-codeql-allow-downgrades
Remi Gacogne [Thu, 23 Feb 2023 15:40:12 +0000 (16:40 +0100)] 
Merge pull request #12577 from romeroalx/repo-odbc-codeql-allow-downgrades

Avoid Microsoft repo for ODBC packages. Step 1b: codeql - allow apt downgrades

2 years agoMerge pull request #12578 from aerique/feature/add-dnsdist-18-to-repo-script
Remi Gacogne [Thu, 23 Feb 2023 15:39:10 +0000 (16:39 +0100)] 
Merge pull request #12578 from aerique/feature/add-dnsdist-18-to-repo-script

Add dnsdist-18 to repo test script.

2 years agoMerge pull request #12576 from rgacogne/ddist-180-rc1-secpoll-2
Remi Gacogne [Thu, 23 Feb 2023 10:21:21 +0000 (11:21 +0100)] 
Merge pull request #12576 from rgacogne/ddist-180-rc1-secpoll-2

dnsdist: The security status for 1.8.0-rc1 should be 1, not 3

2 years agoAdd dnsdist-18 to repo test script. 12578/head
Erik Winkels [Thu, 23 Feb 2023 10:08:06 +0000 (11:08 +0100)] 
Add dnsdist-18 to repo test script.

2 years agoAvoid Microsoft repo for ODBC. Step 1: codeql allow apt downgrades 12577/head
Alexis Romero [Thu, 23 Feb 2023 10:03:30 +0000 (11:03 +0100)] 
Avoid Microsoft repo for ODBC. Step 1: codeql allow apt downgrades

2 years agodnsdist: Actually, 1 is even better than 2 for pre-releases 12576/head
Remi Gacogne [Thu, 23 Feb 2023 09:57:49 +0000 (10:57 +0100)] 
dnsdist: Actually, 1 is even better than 2 for pre-releases

2 years agodnsdist: The security status for 1.8.0-rc1 should be 2, not 3
Remi Gacogne [Thu, 23 Feb 2023 09:52:41 +0000 (10:52 +0100)] 
dnsdist: The security status for 1.8.0-rc1 should be 2, not 3

Which means Update recommended instead of mandatory. Neither are nice,
so perhaps we need a different level for pre-releases?

2 years agoMerge pull request #12550 from fredmorcos/openssl3-pkcs11-signers
Fred Morcos [Thu, 23 Feb 2023 09:43:49 +0000 (10:43 +0100)] 
Merge pull request #12550 from fredmorcos/openssl3-pkcs11-signers

OpenSSL 3.0: PKCS11 signers

2 years agoMerge pull request #12575 from rgacogne/ddist-180-rc1
Remi Gacogne [Thu, 23 Feb 2023 09:09:38 +0000 (10:09 +0100)] 
Merge pull request #12575 from rgacogne/ddist-180-rc1

dnsdist: ChangeLog and secpoll update for 1.8.0-rc1

2 years agospell-check: Allow new names and technical terms 12575/head
Remi Gacogne [Wed, 15 Feb 2023 14:22:01 +0000 (15:22 +0100)] 
spell-check: Allow new names and technical terms

2 years agodnsdist: ChangeLog and secpoll update for 1.8.0-rc1
Remi Gacogne [Wed, 15 Feb 2023 13:57:37 +0000 (14:57 +0100)] 
dnsdist: ChangeLog and secpoll update for 1.8.0-rc1

2 years agoMerge pull request #12573 from romeroalx/repo-odbc-apt-allow-downgrades dnsdist-1.8.0-rc1
romeroalx [Wed, 22 Feb 2023 12:58:13 +0000 (13:58 +0100)] 
Merge pull request #12573 from romeroalx/repo-odbc-apt-allow-downgrades

Avoid Microsoft repo for ODBC packages. Step 1 of 3: allow apt downgrades

2 years agoOpenSSL 3.0: PKCS11 signer 12550/head
Fred Morcos [Wed, 15 Feb 2023 10:18:22 +0000 (11:18 +0100)] 
OpenSSL 3.0: PKCS11 signer

2 years agoPKCS11 Signer: Fix buffer overflow
Fred Morcos [Wed, 22 Feb 2023 11:49:27 +0000 (12:49 +0100)] 
PKCS11 Signer: Fix buffer overflow

2 years agoAvoid Microsoft repo for ODBC. Step 1: allow apt downgrades 12573/head
Alexis Romero [Wed, 22 Feb 2023 10:48:28 +0000 (11:48 +0100)] 
Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades

2 years agopkcs11signers cleanup
Fred Morcos [Wed, 15 Feb 2023 09:42:49 +0000 (10:42 +0100)] 
pkcs11signers cleanup

2 years agoMerge pull request #12555 from romeroalx/gh-auth-ldap-geoip
Peter van Dijk [Wed, 22 Feb 2023 09:30:02 +0000 (10:30 +0100)] 
Merge pull request #12555 from romeroalx/gh-auth-ldap-geoip

GH Actions: added ldap and geoip-mmdb tests. Removed from CircleCI.

2 years agorec: Update validation state after a missing negative indication 12598/head
Remi Gacogne [Wed, 22 Feb 2023 09:26:53 +0000 (10:26 +0100)] 
rec: Update validation state after a missing negative indication

2 years agoMerge pull request #12561 from rgacogne/ddist-test-protobuf-doh-tags-all-protocols
Remi Gacogne [Wed, 22 Feb 2023 08:37:27 +0000 (09:37 +0100)] 
Merge pull request #12561 from rgacogne/ddist-test-protobuf-doh-tags-all-protocols

dnsdist: Ensure we have at least one protobuf MetaValue

2 years agoMerge pull request #12549 from fredmorcos/unused-args-cleanup
Remi Gacogne [Wed, 22 Feb 2023 08:30:29 +0000 (09:30 +0100)] 
Merge pull request #12549 from fredmorcos/unused-args-cleanup

Auth: Cleanup unused argument warnings, and other things

2 years agoMerge pull request #12570 from jsoref/docs-an-experimental-feature
Peter van Dijk [Tue, 21 Feb 2023 15:30:18 +0000 (16:30 +0100)] 
Merge pull request #12570 from jsoref/docs-an-experimental-feature

docs: harmonize `an experimental feature`

2 years agoMerge pull request #12536 from PowerDNS/dependabot/github_actions/actions/cache-3.2.5
Peter van Dijk [Tue, 21 Feb 2023 15:18:05 +0000 (16:18 +0100)] 
Merge pull request #12536 from PowerDNS/dependabot/github_actions/actions/cache-3.2.5

build(deps): bump actions/cache from 3.2.4 to 3.2.5

2 years agoMerge pull request #12525 from jpmens/patch-12
Peter van Dijk [Tue, 21 Feb 2023 15:15:15 +0000 (16:15 +0100)] 
Merge pull request #12525 from jpmens/patch-12

Small typo in ALSO-NOTIFY

2 years agoremoved ldap and geoip-mmdb tests from circleci 12555/head
Alexis Romero [Thu, 16 Feb 2023 05:55:48 +0000 (06:55 +0100)] 
removed ldap and geoip-mmdb tests from circleci

2 years agogh actions: simplified collector job in build-and-test-all.yml
Alexis Romero [Thu, 16 Feb 2023 05:54:23 +0000 (06:54 +0100)] 
gh actions: simplified collector job in build-and-test-all.yml

2 years agogh actions: added ldap and geoip-mmdb tests
Alexis Romero [Thu, 16 Feb 2023 05:52:49 +0000 (06:52 +0100)] 
gh actions: added ldap and geoip-mmdb tests

2 years agodocs: harmonize `an experimental feature` 12570/head
Josh Soref [Mon, 20 Feb 2023 21:17:48 +0000 (16:17 -0500)] 
docs: harmonize `an experimental feature`

2 years agoMerge pull request #12569 from tjikkun/gcc13
Remi Gacogne [Mon, 20 Feb 2023 18:01:51 +0000 (19:01 +0100)] 
Merge pull request #12569 from tjikkun/gcc13

dnsdist-protocols.hh: include <cstdint>

2 years agodnsdist-protocols.hh: include <cstdint> 12569/head
Sander Hoentjen [Mon, 20 Feb 2023 15:51:07 +0000 (16:51 +0100)] 
dnsdist-protocols.hh: include <cstdint>

This fixes building dnsdist with gcc13:
```
In file included from dnsdist-protocols.cc:26:
dnsdist-protocols.hh:32:8: error: use of enum 'typeenum' without previous declaration
   32 |   enum typeenum : uint8_t
      |        ^~~~~~~~
dnsdist-protocols.hh:32:19: error: 'uint8_t' was not declared in this scope
   32 |   enum typeenum : uint8_t
      |                   ^~~~~~~
dnsdist-protocols.hh:25:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   24 | #include <vector>
  +++ |+#include <cstdint>
   25 | #include <string>
```

2 years agoRemove -Wno-unused-parameter from default C(XX)FLAGS 12549/head
Fred Morcos [Fri, 17 Feb 2023 08:22:34 +0000 (09:22 +0100)] 
Remove -Wno-unused-parameter from default C(XX)FLAGS

2 years agoRevert LMDB backend cleanups
Fred Morcos [Fri, 17 Feb 2023 08:26:18 +0000 (09:26 +0100)] 
Revert LMDB backend cleanups

2 years agoRevert "LMDB: Fix unused argument warnings"
Fred Morcos [Fri, 17 Feb 2023 08:26:12 +0000 (09:26 +0100)] 
Revert "LMDB: Fix unused argument warnings"

This reverts commit 95e730e65c5bac46cfc9df0dae8ac6c6d667d0b4.

2 years agoCleanup lwres.cc
Fred Morcos [Wed, 15 Feb 2023 16:56:36 +0000 (17:56 +0100)] 
Cleanup lwres.cc

2 years agoCleanup handleIXFR
Fred Morcos [Wed, 15 Feb 2023 15:28:01 +0000 (16:28 +0100)] 
Cleanup handleIXFR

2 years agoCleanup the UnixRemote constructor
Fred Morcos [Wed, 15 Feb 2023 15:27:09 +0000 (16:27 +0100)] 
Cleanup the UnixRemote constructor

2 years agoCleanup emitRecord in zone2json.cc
Fred Morcos [Wed, 15 Feb 2023 15:25:15 +0000 (16:25 +0100)] 
Cleanup emitRecord in zone2json.cc

2 years agoCleanup gatherRecords in ws-auth.cc
Fred Morcos [Wed, 15 Feb 2023 15:23:31 +0000 (16:23 +0100)] 
Cleanup gatherRecords in ws-auth.cc

2 years agoCleanup TCPIOHandler constructor
Fred Morcos [Wed, 15 Feb 2023 15:15:18 +0000 (16:15 +0100)] 
Cleanup TCPIOHandler constructor

2 years agoCleanup Socker::recvFromAsync
Fred Morcos [Wed, 15 Feb 2023 15:13:44 +0000 (16:13 +0100)] 
Cleanup Socker::recvFromAsync

2 years agoCleanup CommunicatorClass
Fred Morcos [Wed, 15 Feb 2023 15:11:35 +0000 (16:11 +0100)] 
Cleanup CommunicatorClass

2 years agoRemove operator< from PKCS11DNSCryptoKeyEngine
Fred Morcos [Wed, 15 Feb 2023 15:07:58 +0000 (16:07 +0100)] 
Remove operator< from PKCS11DNSCryptoKeyEngine

2 years agoCleanup pdnsutil.cc
Fred Morcos [Wed, 15 Feb 2023 15:05:12 +0000 (16:05 +0100)] 
Cleanup pdnsutil.cc

2 years agoRemove makeOpt from dnsrecords
Fred Morcos [Wed, 15 Feb 2023 15:03:43 +0000 (16:03 +0100)] 
Remove makeOpt from dnsrecords

2 years agoCleanup dbdnsseckeeper
Fred Morcos [Wed, 15 Feb 2023 14:59:49 +0000 (15:59 +0100)] 
Cleanup dbdnsseckeeper

2 years agoCleanup cachecleaner.hh
Fred Morcos [Wed, 15 Feb 2023 14:54:57 +0000 (15:54 +0100)] 
Cleanup cachecleaner.hh

2 years agodnsbackend.hh: Lint fixes
Fred Morcos [Tue, 14 Feb 2023 09:01:18 +0000 (10:01 +0100)] 
dnsbackend.hh: Lint fixes

2 years agoFix unused argument warnings
Fred Morcos [Tue, 14 Feb 2023 08:53:58 +0000 (09:53 +0100)] 
Fix unused argument warnings

2 years agoLMDB: Fix unused argument warnings
Fred Morcos [Tue, 14 Feb 2023 08:46:17 +0000 (09:46 +0100)] 
LMDB: Fix unused argument warnings

2 years agoJSON11: Fix unqualified calls to std::move
Fred Morcos [Tue, 14 Feb 2023 08:45:49 +0000 (09:45 +0100)] 
JSON11: Fix unqualified calls to std::move

2 years agoJSON11: Fix unnamed arguments
Fred Morcos [Tue, 14 Feb 2023 08:45:24 +0000 (09:45 +0100)] 
JSON11: Fix unnamed arguments

2 years agoWhitespace
Fred Morcos [Tue, 14 Feb 2023 08:46:08 +0000 (09:46 +0100)] 
Whitespace

2 years agoMerge pull request #12567 from PowerDNS/rgacogne-patch-1
Remi Gacogne [Mon, 20 Feb 2023 07:56:36 +0000 (08:56 +0100)] 
Merge pull request #12567 from PowerDNS/rgacogne-patch-1

Security policy: Our bug bounty program moved from HackerOne to YesWeHack

2 years agoSecurity policy: Our bug bounty program moved from HackerOne to YesWeHack 12567/head
Remi Gacogne [Sun, 19 Feb 2023 21:25:45 +0000 (22:25 +0100)] 
Security policy: Our bug bounty program moved from HackerOne to YesWeHack

2 years agoMerge pull request #12566 from jpmens/patch-13
Peter van Dijk [Sat, 18 Feb 2023 22:24:38 +0000 (23:24 +0100)] 
Merge pull request #12566 from jpmens/patch-13

replace address of primary

2 years agoreplace address of primary 12566/head
Jan-Piet Mens [Sat, 18 Feb 2023 21:44:13 +0000 (22:44 +0100)] 
replace address of primary

I think the address `127.0.0.1` makes little sense when creating a secondary zone, and I hope this is a tad less confusing.

2 years agodnsdist: Ensure we have at least one protobuf MetaValue 12561/head
Remi Gacogne [Fri, 17 Feb 2023 13:30:50 +0000 (14:30 +0100)] 
dnsdist: Ensure we have at least one protobuf MetaValue

2 years agodnsdist: Test DoH 'meta' Protocol Buffer values for all protocols
Remi Gacogne [Fri, 17 Feb 2023 09:41:17 +0000 (10:41 +0100)] 
dnsdist: Test DoH 'meta' Protocol Buffer values for all protocols

The DoH-related values should be empty non-DoH protocols, but the
protocol buffer messages should still be sent, with the expected
content.

2 years agoMerge pull request #12562 from romeroalx/workaround-fix-grub-error
Peter van Dijk [Fri, 17 Feb 2023 14:41:06 +0000 (15:41 +0100)] 
Merge pull request #12562 from romeroalx/workaround-fix-grub-error

Workaround for grub error raised after apt-get dist-upgrade

2 years agoUpdate FIXME comment in build-scripts/gh-actions-setup-inv 12562/head
romeroalx [Fri, 17 Feb 2023 13:59:34 +0000 (14:59 +0100)] 
Update FIXME comment in build-scripts/gh-actions-setup-inv

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoworkaround for grub error raised after apt-get dist-upgrade
Alexis Romero [Fri, 17 Feb 2023 10:13:01 +0000 (11:13 +0100)] 
workaround for grub error raised after apt-get dist-upgrade

2 years agoMerge pull request #12543 from rgacogne/ddist-build-lto
Remi Gacogne [Fri, 17 Feb 2023 13:36:50 +0000 (14:36 +0100)] 
Merge pull request #12543 from rgacogne/ddist-build-lto

dnsdist: Enable Link-Time Optimization for our packages

2 years agoMerge pull request #12553 from rgacogne/ddist-custom-metrics-prom-name
Remi Gacogne [Thu, 16 Feb 2023 08:42:30 +0000 (09:42 +0100)] 
Merge pull request #12553 from rgacogne/ddist-custom-metrics-prom-name

dnsdist: Add support for custom prometheus names in custom metrics

2 years agoMerge pull request #12552 from rgacogne/ddist-check-response-cache-metrics
Remi Gacogne [Thu, 16 Feb 2023 08:32:00 +0000 (09:32 +0100)] 
Merge pull request #12552 from rgacogne/ddist-check-response-cache-metrics

dnsdist: Add regression tests for responses, cache metrics

2 years agoMerge pull request #12551 from rgacogne/ddist-fix-doh-conn-counter-race
Remi Gacogne [Thu, 16 Feb 2023 08:31:34 +0000 (09:31 +0100)] 
Merge pull request #12551 from rgacogne/ddist-fix-doh-conn-counter-race

dnsdist: Fix a use-after-free in the incoming DoH path

2 years agoMerge pull request #12520 from rgacogne/ddist-protobuf-meta
Remi Gacogne [Thu, 16 Feb 2023 08:31:01 +0000 (09:31 +0100)] 
Merge pull request #12520 from rgacogne/ddist-protobuf-meta

dnsdist: Add support for metadata in protobuf messages

2 years agoMerge pull request #12554 from aj-gh/doc-recursor-servestale
Otto Moerbeek [Thu, 16 Feb 2023 07:34:59 +0000 (08:34 +0100)] 
Merge pull request #12554 from aj-gh/doc-recursor-servestale

rec doc: serve-stale-extensions works on 30s so an hour should be 120x

2 years agorec: serve-stale-extensions works on 30s so an hour should be 120x. 12554/head
Andreas Jakum [Wed, 15 Feb 2023 15:11:46 +0000 (16:11 +0100)] 
rec: serve-stale-extensions works on 30s so an hour should be 120x.

2 years agodnsdist: Add support for custom prometheus names in custom metrics 12553/head
Remi Gacogne [Wed, 15 Feb 2023 11:31:06 +0000 (12:31 +0100)] 
dnsdist: Add support for custom prometheus names in custom metrics