]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoSet TCP_NODELAY on in and outgoing TCP 11754/head
Otto Moerbeek [Mon, 4 Jul 2022 14:19:01 +0000 (16:19 +0200)] 
Set TCP_NODELAY on in and outgoing TCP

3 years agoMerge pull request #11752 from Habbie/2136-txt-hidesoadetails
Peter van Dijk [Mon, 4 Jul 2022 17:59:05 +0000 (19:59 +0200)] 
Merge pull request #11752 from Habbie/2136-txt-hidesoadetails

auth 2136: in recently added TXT tests, hide SOA details

3 years agoMerge pull request #11755 from rgacogne/auth-fix-tsig-keys-retrieval
Peter van Dijk [Mon, 4 Jul 2022 17:48:48 +0000 (19:48 +0200)] 
Merge pull request #11755 from rgacogne/auth-fix-tsig-keys-retrieval

auth: Fix getTSIGKeys() return value in GSQL and LMDB backends

3 years agoauth: Fix getTSIGKeys() return value in GSQL and LMDB backends 11755/head
Remi Gacogne [Mon, 4 Jul 2022 17:04:44 +0000 (19:04 +0200)] 
auth: Fix getTSIGKeys() return value in GSQL and LMDB backends

These Bind and remote backends return true when at least a TSIG key
is returned, as expected by the API and pdnsutil code, but the GSQL
backend returned false if at least a key was returned and true
otherwise. The LMDB backend always returned false.
This caused `pdnsutil b2b-migrate` not to migrate TSIG keys from a
GSQL or LMDB backend, amongst other things.

3 years agoalso update expected_results for the tinydns-data-check test 11752/head
Peter van Dijk [Mon, 4 Jul 2022 14:54:43 +0000 (16:54 +0200)] 
also update expected_results for the tinydns-data-check test

3 years agoauth 2136: in recently added TXT tests, hide SOA details
Peter van Dijk [Mon, 4 Jul 2022 14:07:22 +0000 (16:07 +0200)] 
auth 2136: in recently added TXT tests, hide SOA details

3 years agoMerge pull request #11726 from omoerbeek/rec-zonemd-generic
Otto Moerbeek [Mon, 4 Jul 2022 13:10:16 +0000 (15:10 +0200)] 
Merge pull request #11726 from omoerbeek/rec-zonemd-generic

Rec: allow generic format of records in zone file

3 years agoMerge pull request #11745 from aerique/feature/clean-up-repo-script
aerique [Mon, 4 Jul 2022 11:24:53 +0000 (13:24 +0200)] 
Merge pull request #11745 from aerique/feature/clean-up-repo-script

Clean up repo test script.

3 years agoMerge pull request #11738 from Habbie/2136-txt
Peter van Dijk [Mon, 4 Jul 2022 11:23:23 +0000 (13:23 +0200)] 
Merge pull request #11738 from Habbie/2136-txt

auth 2136: match autosplit TXT more usefully

3 years agoMerge pull request #11744 from omoerbeek/rec-glue-ttl-zap-5
Otto Moerbeek [Fri, 1 Jul 2022 12:15:42 +0000 (14:15 +0200)] 
Merge pull request #11744 from omoerbeek/rec-glue-ttl-zap-5

rec: remove > 5 check on ttl of glue from the cache.

3 years agoRemove EOL releases from repo test script. 11745/head
Erik Winkels [Fri, 1 Jul 2022 11:55:17 +0000 (13:55 +0200)] 
Remove EOL releases from repo test script.

Also merge code blocks spread out over identical conditional
statements.

3 years agoMerge pull request #11743 from aerique/feature/add-ubuntu-jammy-to-repo-script
Peter van Dijk [Fri, 1 Jul 2022 11:48:14 +0000 (13:48 +0200)] 
Merge pull request #11743 from aerique/feature/add-ubuntu-jammy-to-repo-script

Add Ubuntu Jammy to repo test script.

3 years agoRemove > 5 check on ttl of glue from the cache. 11744/head
Otto Moerbeek [Fri, 1 Jul 2022 11:18:58 +0000 (13:18 +0200)] 
Remove > 5 check on ttl of glue from the cache.

This makes the view of the record cache consistent with what syncres thinks.
This > 5 has been there since
https://github.com/PowerDNS/pdns/commit/7bf2638379826e89d655194bf5834bd7deda450a
I *suppose* it was to prevent access data from the cache while it could be cleaned.
But these days we copy data from the cache, so no need for that.

3 years agoauth 2136: match autosplit TXT correctly 11738/head
Peter van Dijk [Fri, 1 Jul 2022 10:24:13 +0000 (12:24 +0200)] 
auth 2136: match autosplit TXT correctly

3 years agoAdd Ubuntu Jammy to repo test script. 11743/head
Erik Winkels [Fri, 1 Jul 2022 11:13:37 +0000 (13:13 +0200)] 
Add Ubuntu Jammy to repo test script.

3 years agoauth: add a bunch of passing rfc2136 TXT tests
Peter van Dijk [Fri, 1 Jul 2022 07:44:24 +0000 (09:44 +0200)] 
auth: add a bunch of passing rfc2136 TXT tests

3 years agoMerge pull request #11735 from Habbie/builddeb-gzip
Peter van Dijk [Thu, 30 Jun 2022 17:01:22 +0000 (19:01 +0200)] 
Merge pull request #11735 from Habbie/builddeb-gzip

dh_builddeb: force gzip compression

3 years agodh_builddeb: force gzip compression, thanks Zash! 11735/head
Peter van Dijk [Thu, 30 Jun 2022 11:51:00 +0000 (13:51 +0200)] 
dh_builddeb: force gzip compression, thanks Zash!

3 years agoMerge pull request #11730 from chbruyand/dnsdist-docs-missing-stats
Peter van Dijk [Thu, 30 Jun 2022 07:29:06 +0000 (09:29 +0200)] 
Merge pull request #11730 from chbruyand/dnsdist-docs-missing-stats

dnsdist docs: add some missing statistics

3 years agoMerge pull request #11588 from rage4/upstream/r4-lua-records-new-methods
Peter van Dijk [Tue, 28 Jun 2022 18:32:50 +0000 (20:32 +0200)] 
Merge pull request #11588 from rage4/upstream/r4-lua-records-new-methods

Extend LUA records

3 years agodnsdist docs: add some missing statistics 11730/head
Charles-Henri Bruyand [Tue, 28 Jun 2022 08:42:45 +0000 (10:42 +0200)] 
dnsdist docs: add some missing statistics

3 years agoMerge pull request #11727 from omoerbeek/auth-zonemd-generic
Otto Moerbeek [Mon, 27 Jun 2022 10:44:13 +0000 (12:44 +0200)] 
Merge pull request #11727 from omoerbeek/auth-zonemd-generic

auth: Also allow generic record format in zone parsing for pdnsutil zonemd-verify-file

3 years agoauth: Also allow generic record format in zone parsing for pdnsutil zonemd-verify... 11727/head
Otto Moerbeek [Mon, 27 Jun 2022 09:52:35 +0000 (11:52 +0200)] 
auth: Also allow generic record format in zone parsing for pdnsutil zonemd-verify-file

3 years agoFormatting 11726/head
Otto Moerbeek [Mon, 27 Jun 2022 09:25:06 +0000 (11:25 +0200)] 
Formatting

3 years agoUpdate structured logging for exceptions to be in line with rest of code
Otto Moerbeek [Mon, 27 Jun 2022 09:16:44 +0000 (11:16 +0200)] 
Update structured logging for exceptions to be in line with rest of code

3 years agoConvert generic format while parsing zone files for ZoneToCache.
Otto Moerbeek [Mon, 27 Jun 2022 09:07:45 +0000 (11:07 +0200)] 
Convert generic format while parsing zone files for ZoneToCache.

Fixes #11724

3 years agoMerge pull request #11719 from omoerbeek/unsigned-char-issues
Otto Moerbeek [Mon, 27 Jun 2022 07:59:15 +0000 (09:59 +0200)] 
Merge pull request #11719 from omoerbeek/unsigned-char-issues

Fix warnings found by compiler on MacOS, where char is unsigned

3 years agoMerge pull request #11713 from rgacogne/ddist-upstream-conn-limit
Remi Gacogne [Fri, 24 Jun 2022 14:40:04 +0000 (16:40 +0200)] 
Merge pull request #11713 from rgacogne/ddist-upstream-conn-limit

dnsdist: Implement a limit of concurrent connections to a backend

3 years agodnsdist: Only put outgoing DoH conn in the idle queue if they are idle 11713/head
Remi Gacogne [Tue, 21 Jun 2022 15:49:23 +0000 (17:49 +0200)] 
dnsdist: Only put outgoing DoH conn in the idle queue if they are idle

3 years agodnsdist: Do not pretend that a connection will be reusable when it's dead
Remi Gacogne [Tue, 21 Jun 2022 15:27:05 +0000 (17:27 +0200)] 
dnsdist: Do not pretend that a connection will be reusable when it's dead

By remember that a connection is no longer usable when we notice that,
we prevent a case where we could pretend that it will be usable when
it has finished processing the current queries and responses, which
is not true.

3 years agodnsdist: Add a metric to track when the TCP conns limit is reached
Remi Gacogne [Tue, 21 Jun 2022 13:45:38 +0000 (15:45 +0200)] 
dnsdist: Add a metric to track when the TCP conns limit is reached

3 years agodnsdist: Implement a limit of concurrent connections to a backend
Remi Gacogne [Mon, 20 Jun 2022 15:52:55 +0000 (17:52 +0200)] 
dnsdist: Implement a limit of concurrent connections to a backend

3 years agoMerge pull request #11716 from rgacogne/split-metrics
Remi Gacogne [Fri, 24 Jun 2022 12:07:13 +0000 (14:07 +0200)] 
Merge pull request #11716 from rgacogne/split-metrics

dnsdist: Add more detailed metrics

3 years agoMerge pull request #11718 from rgacogne/ddist-fix-backend-concurrent-conns
Remi Gacogne [Fri, 24 Jun 2022 11:54:06 +0000 (13:54 +0200)] 
Merge pull request #11718 from rgacogne/ddist-fix-backend-concurrent-conns

dnsdist: Fix the number of concurrent queries on a backend TCP conn

3 years agoMerge pull request #11722 from Habbie/luathread-sigterm
Peter van Dijk [Fri, 24 Jun 2022 11:42:25 +0000 (13:42 +0200)] 
Merge pull request #11722 from Habbie/luathread-sigterm

dnsdist newThread(): mask SIGTERM

3 years agodnsdist newThread(): mask SIGTERM 11722/head
Peter van Dijk [Fri, 24 Jun 2022 11:02:07 +0000 (13:02 +0200)] 
dnsdist newThread(): mask SIGTERM

3 years agoFix a few warnings found by compiler on MacOS, where char is unsigned 11719/head
Otto Moerbeek [Thu, 23 Jun 2022 14:23:05 +0000 (16:23 +0200)] 
Fix a few warnings found by compiler on MacOS, where char is unsigned

3 years agodnsdist: Fix the number of concurrent queries on a backend TCP conn 11718/head
Remi Gacogne [Thu, 23 Jun 2022 10:36:17 +0000 (12:36 +0200)] 
dnsdist: Fix the number of concurrent queries on a backend TCP conn

When we are in the process of sending a query to the backend, that
query is no longer accounted in the "queued" queries nor it is in
the "queued" responses, but we need to take it into account.
Otherwise we might be sending two concurrent queries to a backend
that does not support out-of-order processing (increasing our
latency), or even worse to one that does not support pipelining.

3 years agodnsdist: Add per-protocol latency averages 11716/head
Remi Gacogne [Wed, 22 Jun 2022 16:26:34 +0000 (18:26 +0200)] 
dnsdist: Add per-protocol latency averages

3 years agodnsdist: Add a per-server metric for non-compliant responses
Remi Gacogne [Wed, 22 Jun 2022 13:44:38 +0000 (15:44 +0200)] 
dnsdist: Add a per-server metric for non-compliant responses

3 years agodnsdist: Add a per-frontend metric for non-compliant queries
Remi Gacogne [Wed, 22 Jun 2022 13:24:21 +0000 (15:24 +0200)] 
dnsdist: Add a per-frontend metric for non-compliant queries

3 years agoMerge pull request #11712 from chbruyand/dnsdist-packetcache-ringbuffer
Remi Gacogne [Thu, 23 Jun 2022 08:17:51 +0000 (10:17 +0200)] 
Merge pull request #11712 from chbruyand/dnsdist-packetcache-ringbuffer

dnsdist: fill ringbuffers with responses served from the cache

3 years agoMake sure that we do not read past our buffer in any case 11712/head
Charles-Henri Bruyand [Wed, 22 Jun 2022 12:27:01 +0000 (14:27 +0200)] 
Make sure that we do not read past our buffer in any case

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoprocess review comments
Charles-Henri Bruyand [Wed, 22 Jun 2022 09:13:01 +0000 (11:13 +0200)] 
process review comments

3 years agodnsdist: fill ringbuffers with responses served from the cache
Charles-Henri Bruyand [Tue, 21 Jun 2022 07:50:52 +0000 (09:50 +0200)] 
dnsdist: fill ringbuffers with responses served from the cache

3 years agoMerge pull request #11696 from rgacogne/ddist-fix-source-itf
Remi Gacogne [Wed, 22 Jun 2022 13:07:45 +0000 (15:07 +0200)] 
Merge pull request #11696 from rgacogne/ddist-fix-source-itf

dnsdist: Bind to the requested src interface without a src address

3 years agoMerge pull request #11689 from rgacogne/ddist-skip-allocations-policies
Remi Gacogne [Wed, 22 Jun 2022 11:59:30 +0000 (13:59 +0200)] 
Merge pull request #11689 from rgacogne/ddist-skip-allocations-policies

dnsdist: Avoid allocating memory in LB policies for small number of servers

3 years agoMerge pull request #11707 from rgacogne/ddist-latencies
Remi Gacogne [Wed, 22 Jun 2022 11:58:57 +0000 (13:58 +0200)] 
Merge pull request #11707 from rgacogne/ddist-latencies

dnsdist: Compute backend latency earlier, to avoid internal latency

3 years agoMerge pull request #11698 from rgacogne/ddist-more-name-bindings
Remi Gacogne [Wed, 22 Jun 2022 11:58:14 +0000 (13:58 +0200)] 
Merge pull request #11698 from rgacogne/ddist-more-name-bindings

Implement `SuffixMatchTree::getBestMatch()` to get the name that matched

3 years agodnsdist: Bind to the requested src interface without a src address in auto-discovery... 11696/head
Remi Gacogne [Wed, 22 Jun 2022 11:36:47 +0000 (13:36 +0200)] 
dnsdist: Bind to the requested src interface without a src address in auto-discovery as well

3 years agodnsdist: Only check if we want a specific interface if we actually support that
Remi Gacogne [Wed, 22 Jun 2022 11:36:04 +0000 (13:36 +0200)] 
dnsdist: Only check if we want a specific interface if we actually support that

3 years agodnsdist: Use IP_BIND_ADDRESS_NO_PORT when binding UDP sockets as well
Remi Gacogne [Wed, 22 Jun 2022 11:35:17 +0000 (13:35 +0200)] 
dnsdist: Use IP_BIND_ADDRESS_NO_PORT when binding UDP sockets as well

3 years agodnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType 11689/head
Remi Gacogne [Wed, 22 Jun 2022 09:32:06 +0000 (11:32 +0200)] 
dnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType

3 years agodnsdist: Fix a bound issue, improve readability (thanks, Otto!)
Remi Gacogne [Wed, 22 Jun 2022 09:18:32 +0000 (11:18 +0200)] 
dnsdist: Fix a bound issue, improve readability (thanks, Otto!)

3 years agodnsdist: Remove a forgotten debug message 11707/head
Remi Gacogne [Wed, 22 Jun 2022 08:59:12 +0000 (10:59 +0200)] 
dnsdist: Remove a forgotten debug message

3 years agoMerge pull request #11693 from omoerbeek/rec-sl-web
Otto Moerbeek [Wed, 22 Jun 2022 08:20:33 +0000 (10:20 +0200)] 
Merge pull request #11693 from omoerbeek/rec-sl-web

rec: Structured logging for webserver

3 years agoProcess review comments 11693/head
Otto Moerbeek [Tue, 21 Jun 2022 13:19:29 +0000 (15:19 +0200)] 
Process review comments

3 years agoMerge pull request #11695 from rgacogne/ddist-do-not-autoupgrade-dotdoh
Remi Gacogne [Tue, 21 Jun 2022 13:16:54 +0000 (15:16 +0200)] 
Merge pull request #11695 from rgacogne/ddist-do-not-autoupgrade-dotdoh

dnsdist: Do not try to auto-upgrade DoT and DoH backends

3 years agoMerge pull request #11710 from omoerbeek/rec-sl-3
Otto Moerbeek [Tue, 21 Jun 2022 08:32:53 +0000 (10:32 +0200)] 
Merge pull request #11710 from omoerbeek/rec-sl-3

rec: stuctured logging for various subsystems

3 years agoMerge pull request #11709 from omoerbeek/rec-sd-journal-followup
Otto Moerbeek [Tue, 21 Jun 2022 08:14:08 +0000 (10:14 +0200)] 
Merge pull request #11709 from omoerbeek/rec-sd-journal-followup

Rec: systemd-journal structured logging followup

3 years agoProcess review comments 11710/head
Otto Moerbeek [Tue, 21 Jun 2022 07:40:30 +0000 (09:40 +0200)] 
Process review comments

3 years agoProcess review comments: add comments and braces 11709/head
Otto Moerbeek [Tue, 21 Jun 2022 07:35:52 +0000 (09:35 +0200)] 
Process review comments: add comments and braces

3 years agoMerge pull request #11711 from rgacogne/ddist-startup-infos
Remi Gacogne [Tue, 21 Jun 2022 07:24:31 +0000 (09:24 +0200)] 
Merge pull request #11711 from rgacogne/ddist-startup-infos

dnsdist: Log listening addresses and version at the 'info' level

3 years agoMerge pull request #11704 from omoerbeek/rec-edns-sparse-table
Otto Moerbeek [Mon, 20 Jun 2022 15:05:44 +0000 (17:05 +0200)] 
Merge pull request #11704 from omoerbeek/rec-edns-sparse-table

Rec: make edns table a sparse table

3 years agoMove back to origial EDNSLevel logic. 11704/head
Otto Moerbeek [Mon, 20 Jun 2022 13:31:19 +0000 (15:31 +0200)] 
Move back to origial EDNSLevel logic.

The handling around ednsMANDATORY is separate form the table handling,
so do not mix these up.

3 years agoRemaining structured logging, "only" sending/receiving questions and answers, validat...
Otto Moerbeek [Wed, 15 Jun 2022 08:43:37 +0000 (10:43 +0200)] 
Remaining structured logging, "only" sending/receiving questions and answers, validation and tracing remain.

3 years agodnsdist: Log listening addresses and version at the 'info' level 11711/head
Remi Gacogne [Mon, 20 Jun 2022 13:12:20 +0000 (15:12 +0200)] 
dnsdist: Log listening addresses and version at the 'info' level

These are really informations, not warnings.

3 years agoStructured Logging: finish Lua config messages
Otto Moerbeek [Wed, 15 Jun 2022 07:24:45 +0000 (09:24 +0200)] 
Structured Logging: finish Lua config messages

3 years agoStructured logging for root refresh
Otto Moerbeek [Wed, 15 Jun 2022 06:57:52 +0000 (08:57 +0200)] 
Structured logging for root refresh

3 years agoFormat
Otto Moerbeek [Mon, 13 Jun 2022 13:37:20 +0000 (15:37 +0200)] 
Format

3 years agoStructured logging for webserver
Otto Moerbeek [Fri, 3 Jun 2022 15:00:39 +0000 (17:00 +0200)] 
Structured logging for webserver

3 years agoDocument structured-logging-backend
Otto Moerbeek [Mon, 20 Jun 2022 12:19:31 +0000 (14:19 +0200)] 
Document structured-logging-backend

3 years agoEarly priority filter for structured logging
Otto Moerbeek [Mon, 20 Jun 2022 11:42:02 +0000 (13:42 +0200)] 
Early priority filter for structured logging

3 years agoIntroduce a setting to switch to systemd-journal (default off),
Otto Moerbeek [Mon, 20 Jun 2022 09:57:19 +0000 (11:57 +0200)] 
Introduce a setting to switch to systemd-journal (default off),

It is nicely structured but not really nice for human consumption.
Also fix priority filtering.

3 years agodnsdist: Properly handle TCP latencies for DoH backends as well
Remi Gacogne [Fri, 17 Jun 2022 15:19:43 +0000 (17:19 +0200)] 
dnsdist: Properly handle TCP latencies for DoH backends as well

3 years agodnsdist: Test the TCP latency in our regression tests
Remi Gacogne [Fri, 17 Jun 2022 15:07:42 +0000 (17:07 +0200)] 
dnsdist: Test the TCP latency in our regression tests

3 years agodnsdist: Compute backend latency earlier, to avoid internal latency
Remi Gacogne [Fri, 17 Jun 2022 15:03:53 +0000 (17:03 +0200)] 
dnsdist: Compute backend latency earlier, to avoid internal latency

Also properly report the latency as TCP when forwaring a query received
over UDP to TCP-only, DoT and DoH backends.
Exports the TCP latency in the prometheus and API metrics.

3 years agoMerge pull request #11651 from Y7n05h/refactor
Remi Gacogne [Fri, 17 Jun 2022 12:20:55 +0000 (14:20 +0200)] 
Merge pull request #11651 from Y7n05h/refactor

dnsdist: refactor sendfromto

3 years agoOnly erase if we know the edns entry exists
Otto Moerbeek [Fri, 17 Jun 2022 11:46:31 +0000 (13:46 +0200)] 
Only erase if we know the edns entry exists

3 years agoFix comments and clear up the logic of EDNSLevel
Otto Moerbeek [Fri, 17 Jun 2022 11:27:35 +0000 (13:27 +0200)] 
Fix comments and clear up the logic of EDNSLevel

3 years agodnsdist: refactor sendfromto 11651/head
Y7n05h [Thu, 26 May 2022 05:56:52 +0000 (13:56 +0800)] 
dnsdist: refactor sendfromto

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoOnly store edns status if it is not EDNSOK
Otto Moerbeek [Mon, 16 May 2022 08:33:20 +0000 (10:33 +0200)] 
Only store edns status if it is not EDNSOK

3 years agoMerge pull request #11601 from omoerbeek/rec-shared-ednsmap
Otto Moerbeek [Fri, 17 Jun 2022 09:32:00 +0000 (11:32 +0200)] 
Merge pull request #11601 from omoerbeek/rec-shared-ednsmap

Rec: shared ednsmap

3 years agoMerge pull request #11685 from rgacogne/ddist-cppcheck-warnings
Remi Gacogne [Fri, 17 Jun 2022 09:23:04 +0000 (11:23 +0200)] 
Merge pull request #11685 from rgacogne/ddist-cppcheck-warnings

dnsdist: Fix a few performance-related warnings reported by cppcheck

3 years agoMerge pull request #11613 from omoerbeek/burtle
Otto Moerbeek [Fri, 17 Jun 2022 08:55:46 +0000 (10:55 +0200)] 
Merge pull request #11613 from omoerbeek/burtle

hashHeaderAndQName burtle optimization

3 years agoMerge pull request #11641 from omoerbeek/codeQL-v2
Peter van Dijk [Fri, 17 Jun 2022 08:51:11 +0000 (10:51 +0200)] 
Merge pull request #11641 from omoerbeek/codeQL-v2

Move to v2 for CodeQL action, v1 will be deprecated dec 2022

3 years agoProcess review comment: move var to inner block 11601/head
Otto Moerbeek [Fri, 17 Jun 2022 08:43:32 +0000 (10:43 +0200)] 
Process review comment: move var to inner block

3 years agoResolved PR comments 11588/head
Piotr Ginalski [Fri, 17 Jun 2022 08:18:17 +0000 (10:18 +0200)] 
Resolved PR comments

3 years agoChanges based on upstream pull request comments
Piotr Ginalski [Thu, 16 Jun 2022 15:54:50 +0000 (17:54 +0200)] 
Changes based on upstream pull request comments

3 years agoUpdate functions.rst
Piotr Ginalski [Thu, 16 Jun 2022 14:18:34 +0000 (16:18 +0200)] 
Update functions.rst

Added missing parameters for continent() and region()

3 years agoExtend LUA records
rage4 [Thu, 28 Apr 2022 18:57:30 +0000 (20:57 +0200)] 
Extend LUA records

3 years agoUse the level actually *used* to decide to update edns status.
Otto Moerbeek [Tue, 3 May 2022 07:05:21 +0000 (09:05 +0200)] 
Use the level actually *used* to decide to update edns status.
Fold the logic to not update if no change and updating the timestamp to the setter.

3 years agoPrune EDNS table once every minute, as the entries last for 2 hours
Otto Moerbeek [Mon, 2 May 2022 09:35:53 +0000 (11:35 +0200)] 
Prune EDNS table once every minute, as the entries last for 2 hours

3 years agoMove edns table to a shared table
Otto Moerbeek [Mon, 2 May 2022 09:32:15 +0000 (11:32 +0200)] 
Move edns table to a shared table

3 years agoMerge pull request #11340 from norve/pdnustil-flush-prompt
Peter van Dijk [Thu, 16 Jun 2022 11:09:58 +0000 (13:09 +0200)] 
Merge pull request #11340 from norve/pdnustil-flush-prompt

Pdnustil flush prompt

3 years agoMerge pull request #11413 from Habbie/man-pdnsutil-b2b-migrate
Peter van Dijk [Thu, 16 Jun 2022 10:35:04 +0000 (12:35 +0200)] 
Merge pull request #11413 from Habbie/man-pdnsutil-b2b-migrate

auth: add b2b-migrate to pdnsutil man page

3 years agoMerge pull request #11350 from mind04/pdns-presigned-alias
Peter van Dijk [Thu, 16 Jun 2022 10:30:39 +0000 (12:30 +0200)] 
Merge pull request #11350 from mind04/pdns-presigned-alias

auth: no ALIAS and LUA record expansion in presigned zones

3 years agodnsdist: Add more DNSName and SuffixMatchNode Lua bindings 11698/head
Remi Gacogne [Wed, 15 Jun 2022 12:16:35 +0000 (14:16 +0200)] 
dnsdist: Add more DNSName and SuffixMatchNode Lua bindings

3 years agoImplement SuffixMatchTree::getBestMatch() to get the name that matched
Remi Gacogne [Wed, 15 Jun 2022 12:15:41 +0000 (14:15 +0200)] 
Implement SuffixMatchTree::getBestMatch() to get the name that matched

3 years agodnsdist: Bind to the requested src interface without a src address
Remi Gacogne [Tue, 14 Jun 2022 16:15:15 +0000 (18:15 +0200)] 
dnsdist: Bind to the requested src interface without a src address

In some cases we want to bind to a specific interface when contacting
a backend without specifying an exact source address, leaving the
kernel select one for us.