]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 20 Aug 2018 06:05:33 +0000 (08:05 +0200)]
Merge pull request #6860 from Habbie/test-nits
auth regression test: language/content nits
Chris Hofstaedtler [Sat, 18 Aug 2018 18:00:34 +0000 (20:00 +0200)]
Fix removal notice in docs
Peter van Dijk [Thu, 16 Aug 2018 17:55:45 +0000 (19:55 +0200)]
rfc2136: do lookups in the right zone
Peter van Dijk [Thu, 16 Aug 2018 20:46:41 +0000 (22:46 +0200)]
add test for parent/child confusion
Remi Gacogne [Fri, 17 Aug 2018 14:52:26 +0000 (16:52 +0200)]
Merge pull request #6856 from skoef/dynBpfExcludeRange
added :excludeRange and :includeRange methods to DynBPFFilter class
Peter van Dijk [Fri, 17 Aug 2018 12:50:33 +0000 (14:50 +0200)]
do not leak requests for addzone.com to the Internet
Peter van Dijk [Fri, 17 Aug 2018 11:33:40 +0000 (13:33 +0200)]
test nits
Peter van Dijk [Fri, 17 Aug 2018 11:29:04 +0000 (13:29 +0200)]
make edit-zone catch zoneparser exceptions as well
Remi Gacogne [Fri, 17 Aug 2018 09:03:38 +0000 (11:03 +0200)]
rec: Without reuseport, every listener thread watches all TCP sockets
So we simply add all TCP sockets to the list watched by these threads
instead of using a separate variable, to make it easier to read later
on.
Peter van Dijk [Thu, 16 Aug 2018 20:03:09 +0000 (22:03 +0200)]
add sub.test.dyndns zone, add occluded record to parent
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
Peter van Dijk [Thu, 16 Aug 2018 19:15:59 +0000 (21:15 +0200)]
after a db lookup, always finish the get cycle
Charles-Henri Bruyand [Thu, 16 Aug 2018 15:43:18 +0000 (17:43 +0200)]
dnsdist: consistent hash - also check for individual pool's policies before pre-computing backend's hashes
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
Reinier Schoof [Thu, 16 Aug 2018 12:17:13 +0000 (14:17 +0200)]
unrelated syntax fixes in docs
Reinier Schoof [Thu, 16 Aug 2018 11:28:50 +0000 (13:28 +0200)]
move documentation about purgeExpired to DynBPFFilter
purgeExpired is a method of DynBPFFilter and not BPFFilter so it was
moved to the proper section in the document
Reinier Schoof [Thu, 16 Aug 2018 11:21:07 +0000 (13:21 +0200)]
added :excludeRange and :includeRange methods to DynBPFFilter class
Peter van Dijk [Wed, 15 Aug 2018 18:48:53 +0000 (20:48 +0200)]
Merge pull request #6855 from pieterlexis/docs-wrt-axfr
Documentation fixes
aerique [Wed, 15 Aug 2018 14:52:44 +0000 (16:52 +0200)]
Merge pull request #6841 from rgacogne/rec-no-protobuf-compile
rec: Fix compilation without protobuf support
Pieter Lexis [Wed, 15 Aug 2018 11:45:01 +0000 (13:45 +0200)]
Document address negation in only-notify
Pieter Lexis [Wed, 15 Aug 2018 11:40:06 +0000 (13:40 +0200)]
Document that LogAction can log to stdout
aerique [Wed, 15 Aug 2018 11:32:14 +0000 (13:32 +0200)]
Merge pull request #6854 from Habbie/policy-cleanup
remove unused policy script
aerique [Wed, 15 Aug 2018 10:44:19 +0000 (12:44 +0200)]
Merge pull request #6843 from zeha/check-duplicate-soa
check-all-zones: find duplicate zones and SOAs
aerique [Wed, 15 Aug 2018 09:06:02 +0000 (11:06 +0200)]
Merge pull request #6834 from Habbie/checkzone-nullmxsrv
check-zone: allow null MX, SRV
Pieter Lexis [Wed, 15 Aug 2018 07:56:22 +0000 (09:56 +0200)]
Write swagger documentation for #6668
Peter van Dijk [Wed, 15 Aug 2018 08:46:04 +0000 (10:46 +0200)]
remove unused policy script
aerique [Tue, 14 Aug 2018 19:04:08 +0000 (21:04 +0200)]
Merge pull request #6844 from zeha/mariadb
Workaround MariaDB pretending to be MySQL
Chris Hofstaedtler [Tue, 14 Aug 2018 18:29:03 +0000 (20:29 +0200)]
Remove leftover multi_index_container tag structs
Remi Gacogne [Mon, 13 Aug 2018 15:12:54 +0000 (17:12 +0200)]
rec: Disable only our own TCP listening socket when reuseport is enabled
Chris Hofstaedtler [Fri, 10 Aug 2018 16:26:23 +0000 (18:26 +0200)]
Add pdnslog to Lua configuration scripts
Chris Hofstaedtler [Fri, 10 Aug 2018 13:15:55 +0000 (15:15 +0200)]
Drop api-readonly configuration setting
Chris Hofstaedtler [Fri, 10 Aug 2018 12:46:05 +0000 (14:46 +0200)]
Workaround MariaDB pretending to be MySQL
Peter van Dijk [Fri, 10 Aug 2018 12:24:26 +0000 (14:24 +0200)]
Merge pull request #6842 from zeha/mysql8
Allow compiling against MySQL 8 client header files
Chris Hofstaedtler [Fri, 10 Aug 2018 12:08:48 +0000 (14:08 +0200)]
check-all-zones: find duplicate zones and SOAs
Chris Hofstaedtler [Fri, 10 Aug 2018 11:30:46 +0000 (13:30 +0200)]
Allow compiling against MySQL 8 client header files
Pieter Lexis [Fri, 10 Aug 2018 10:38:22 +0000 (12:38 +0200)]
dnsproxy: Fix two nits reported by @Habbie
Remi Gacogne [Fri, 10 Aug 2018 08:02:58 +0000 (10:02 +0200)]
rec: Fix a warning about parseProtobufOptions() being unused
Remi Gacogne [Thu, 9 Aug 2018 17:04:20 +0000 (19:04 +0200)]
rec: Fix 'logQuery' compilation without protobuf support
Remi Gacogne [Thu, 9 Aug 2018 06:29:09 +0000 (08:29 +0200)]
Merge pull request #6835 from rgacogne/dnsdist-fix-dynblock-default-action-to-str
dnsdist: Display DynBlocks' default action, None, as the global one
Ruben d'Arco [Wed, 8 Aug 2018 20:51:33 +0000 (21:51 +0100)]
Changed order of questions on pdnsutil
Ruben d'Arco [Sat, 14 Apr 2018 04:14:32 +0000 (05:14 +0100)]
Add question for to increase-soa after non SOA edit
First stab at 3814.
Simple implementation that does simple SOA change detection. Should work for most people
who just want to let increase-serial do the work.
Logic to increase serial is not centralized and it does not detect if the SERIAL has changed in the SOA. It just looks for a change of the SOA record in general.
Remi Gacogne [Wed, 8 Aug 2018 16:25:44 +0000 (18:25 +0200)]
Merge pull request #6803 from Habbie/ednsoptionrule
dnsdist: add EDNSOptionRule
Remi Gacogne [Wed, 8 Aug 2018 15:47:37 +0000 (17:47 +0200)]
dnsdist: Display DynBlocks' default action, None, as the global one
The default action for a dynamic block is Action::None, which doesn't
mean that nothing will be done but that the global action will be
applied instead. We failed to display that correctly in the console
and via the API.
Peter van Dijk [Wed, 8 Aug 2018 13:24:53 +0000 (15:24 +0200)]
add missing warning counter increment
Peter van Dijk [Wed, 8 Aug 2018 13:55:00 +0000 (15:55 +0200)]
use EDNSOptionCode constants
Peter van Dijk [Wed, 8 Aug 2018 13:24:36 +0000 (15:24 +0200)]
check-zone: allow null MX, SRV; fixes #6800
Peter van Dijk [Tue, 7 Aug 2018 13:45:00 +0000 (15:45 +0200)]
add EDNSOptionCode table
Peter van Dijk [Tue, 24 Jul 2018 13:17:23 +0000 (15:17 +0200)]
dnsdist: add EDNSOptionRule
Remi Gacogne [Wed, 8 Aug 2018 10:11:30 +0000 (12:11 +0200)]
Merge pull request #6831 from rgacogne/no-moadns-copy
Get rid of some allocs/copies in DNS parsing
Peter van Dijk [Wed, 8 Aug 2018 09:24:54 +0000 (11:24 +0200)]
Merge pull request #6809 from chbruyand/test-recursor-mawk
recursor tests: replace awk command by perl
Charles-Henri Bruyand [Wed, 8 Aug 2018 06:15:51 +0000 (08:15 +0200)]
Fix greediness issue
Remi Gacogne [Tue, 7 Aug 2018 15:45:49 +0000 (17:45 +0200)]
dnsdist: Remove leftover initialization of a uint16_t to NULL
Remi Gacogne [Tue, 7 Aug 2018 15:00:41 +0000 (17:00 +0200)]
Merge pull request #6830 from Habbie/rec-test-upgrade-pip
recursor testing: upgrade pip
Peter van Dijk [Tue, 7 Aug 2018 10:48:09 +0000 (12:48 +0200)]
upgrade pip
Remi Gacogne [Mon, 6 Aug 2018 10:23:02 +0000 (12:23 +0200)]
dnsdist: Reduce the number of string alloc/copy during ECS processing
Remi Gacogne [Thu, 2 Aug 2018 14:52:28 +0000 (16:52 +0200)]
rec: Remove a useless copy in arecvfrom(), reserve whenever possible
Remi Gacogne [Mon, 30 Jul 2018 07:17:57 +0000 (09:17 +0200)]
Stop copying data around in MOADNSParser, remove the weird -12 dance
Remi Gacogne [Fri, 20 Jul 2018 13:15:15 +0000 (15:15 +0200)]
rec: Use a string instead of a fixed 65k buffer for TCP connections
Remi Gacogne [Mon, 6 Aug 2018 07:31:44 +0000 (09:31 +0200)]
Merge pull request #6824 from klaus3000/improve-slavecheck-logging
Add the serials when logging the final result of a slave-check
Remi Gacogne [Mon, 6 Aug 2018 07:27:18 +0000 (09:27 +0200)]
Merge pull request #6768 from rgacogne/rec-several-distributors
rec: Add support for several distributor threads
Remi Gacogne [Mon, 6 Aug 2018 07:25:29 +0000 (09:25 +0200)]
Merge pull request #6698 from rgacogne/rec-pb-options
rec: Refactor Protobuf options, add query/response selection
Remi Gacogne [Mon, 30 Jul 2018 07:42:44 +0000 (09:42 +0200)]
rec: Add a few more words about setProtobufMasks() in the documentation
Remi Gacogne [Thu, 12 Jul 2018 14:28:13 +0000 (16:28 +0200)]
rec: Make 'only log if a tag is present' conditions easier to read
Remi Gacogne [Thu, 31 May 2018 13:32:14 +0000 (15:32 +0200)]
rec: Refactor Protobuf options, add query/response selection
- Turn the protobuf options into a table because there are already
too many of them
- Split the masks applied to the initiator to a separate
`setProtobufMasks` directive
- Add the possibility to log only queries, or only responses
- Add the possibility to select queries (FFI only) and responses
for export from the Lua hooks
- Add regression tests for the protobuf features
Remi Gacogne [Fri, 3 Aug 2018 15:22:03 +0000 (17:22 +0200)]
Merge pull request #6792 from rgacogne/rec-delay-lua-conf-threads
rec: Delay the creation of RPZ threads until we have dropped privileges
Remi Gacogne [Fri, 3 Aug 2018 07:31:26 +0000 (09:31 +0200)]
Merge pull request #6826 from phonedph1/getoutstanding
Make getOutstanding be usable from both lua and console
Remi Gacogne [Fri, 3 Aug 2018 07:30:58 +0000 (09:30 +0200)]
Merge pull request #6813 from phonedph1/dstportrule
dnsdist: DSTPortRule
phonedph1 [Thu, 2 Aug 2018 14:52:11 +0000 (14:52 +0000)]
Actually remove it ;)
phonedph1 [Thu, 2 Aug 2018 14:23:44 +0000 (14:23 +0000)]
Fix type
Remi Gacogne [Thu, 2 Aug 2018 12:53:06 +0000 (14:53 +0200)]
Merge pull request #6827 from SvenMW/fix_docstring
Update index.rst
Sven Kieske [Thu, 2 Aug 2018 12:48:52 +0000 (14:48 +0200)]
Update index.rst
[DOC] fixed duplicate words
phonedph1 [Wed, 1 Aug 2018 20:01:03 +0000 (20:01 +0000)]
Make getOutstanding be usable from both lua and console
Klaus Darilion [Wed, 1 Aug 2018 10:57:36 +0000 (10:57 +0000)]
add d_lock while manipulating d_failedSlaveRefresh
Klaus Darilion [Wed, 1 Aug 2018 10:03:07 +0000 (10:03 +0000)]
fix typo: "ourserial is" -> "our serial is"
Remi Gacogne [Wed, 1 Aug 2018 07:40:34 +0000 (09:40 +0200)]
Merge pull request #6820 from phonedph1/patch-5
Update config.rst
Remi Gacogne [Wed, 1 Aug 2018 07:36:13 +0000 (09:36 +0200)]
Merge pull request #6816 from rgacogne/auth-api-strict-ordering
auth: Make sure that we use strict weak records ordering in the API
Klaus Darilion [Tue, 31 Jul 2018 22:18:33 +0000 (22:18 +0000)]
fix typo
Klaus Darilion [Tue, 31 Jul 2018 22:14:32 +0000 (22:14 +0000)]
add option to send NOTIFYs without TSIG signature
Klaus Darilion [Tue, 31 Jul 2018 21:36:03 +0000 (21:36 +0000)]
When the final result of the slave-check get logged, always add the respective serials to the log line. This is very useful when debugging slave-check issues
Klaus Darilion [Tue, 31 Jul 2018 21:09:35 +0000 (21:09 +0000)]
On incoming NOTIFY load our serial from backend to have it available during slave-check.
Also log ourserial to ease debugging.
Klaus Darilion [Tue, 31 Jul 2018 21:01:42 +0000 (21:01 +0000)]
add incremental slave-check backoff also for failed AXFR due to master problems
If SOA-checks against a master with failing AXFR still succeed, we would
constantly try to AXFR the zone. To avoid this, we add the zone to the list
of failed slave-checks to suspend slave-checks (and subsequent AXFR) for
this zone for some time.
phonedph1 [Tue, 31 Jul 2018 18:51:40 +0000 (12:51 -0600)]
Update config.rst
Try to clarify what staleTTL means in terms of the packet cache option.
This hopefully aligns more with the text on https://dnsdist.org/guides/cache.html and real-world observations.
Charles-Henri Bruyand [Tue, 31 Jul 2018 16:03:28 +0000 (18:03 +0200)]
ensure server's weight is properly bounded
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
phonedph1 [Mon, 30 Jul 2018 13:45:13 +0000 (13:45 +0000)]
Add autocompletion data
phonedph1 [Mon, 30 Jul 2018 13:45:05 +0000 (13:45 +0000)]
Don't use a seperate hton variable
Remi Gacogne [Mon, 30 Jul 2018 13:24:07 +0000 (15:24 +0200)]
rec: Fix 'worker' conflict with #6812
Remi Gacogne [Mon, 30 Jul 2018 09:36:52 +0000 (11:36 +0200)]
rec: Move the "launching <n> workers" message to the right place
Remi Gacogne [Tue, 3 Jul 2018 07:33:46 +0000 (09:33 +0200)]
rec: Add support for several distributor threads
Remi Gacogne [Mon, 30 Jul 2018 07:56:57 +0000 (09:56 +0200)]
Merge pull request #6804 from Habbie/rec-buildbot-no-snmp
skip recursor SNMP testing in buildbot
Remi Gacogne [Mon, 30 Jul 2018 07:54:36 +0000 (09:54 +0200)]
Merge pull request #6812 from Habbie/rec-thread-fixes
rec: load Lua scripts only in worker threads
phonedph1 [Thu, 26 Jul 2018 16:35:42 +0000 (16:35 +0000)]
Test that DSTPortRule captures queries
phonedph1 [Thu, 26 Jul 2018 15:41:27 +0000 (15:41 +0000)]
Allow matching based on destination port.
Peter van Dijk [Thu, 26 Jul 2018 15:05:14 +0000 (17:05 +0200)]
do not load Lua in the distributor thread
Peter van Dijk [Thu, 26 Jul 2018 14:24:06 +0000 (16:24 +0200)]
only load the Lua script in worker threads
Peter van Dijk [Thu, 26 Jul 2018 14:20:26 +0000 (16:20 +0200)]
correct type for getRecursorThreadId
Peter van Dijk [Thu, 26 Jul 2018 12:28:16 +0000 (14:28 +0200)]
apply ALIAS scopemask after chasing
Peter van Dijk [Thu, 26 Jul 2018 09:01:12 +0000 (11:01 +0200)]
remove version information from dnsdist doc title
Charles-Henri Bruyand [Thu, 26 Jul 2018 07:30:12 +0000 (09:30 +0200)]
recursor tests: replace awk command by perl
Peter van Dijk [Wed, 25 Jul 2018 16:23:52 +0000 (18:23 +0200)]
Merge pull request #6796 from cmouse/mmdb
geoipbackend: Document that MMDB support has been added in v4.2