]> granicus.if.org Git - pdns/log
pdns
8 years agoMerge pull request #3697 from pieterlexis/split-travis
bert hubert [Wed, 13 Apr 2016 19:47:23 +0000 (21:47 +0200)]
Merge pull request #3697 from pieterlexis/split-travis

Split travis between auth, recursor, dnsdist and docs

8 years agoMerge pull request #3701 from rgacogne/protobuf-fixes
bert hubert [Wed, 13 Apr 2016 15:53:57 +0000 (17:53 +0200)]
Merge pull request #3701 from rgacogne/protobuf-fixes

Protobuf: Encode UUID in binary. Add question to the response msg

8 years agoMerge pull request #3702 from ahupowerdns/dnsreplay-real
bert hubert [Wed, 13 Apr 2016 15:41:35 +0000 (17:41 +0200)]
Merge pull request #3702 from ahupowerdns/dnsreplay-real

Dnsreplay & ednssubnet: teach dnsreplay to add original IP address as ECS & recursor to log it

8 years agodon't try to do protobuf w/o protobuf
bert hubert [Wed, 13 Apr 2016 13:40:52 +0000 (15:40 +0200)]
don't try to do protobuf w/o protobuf

8 years agoadd ECS logging to pdns_recursor, teach dnsreplay to add original IP address as ECS...
bert hubert [Wed, 13 Apr 2016 12:53:27 +0000 (14:53 +0200)]
add ECS logging to pdns_recursor, teach dnsreplay to add original IP address as ECS, plus document all this

8 years agoProtobuf: Encode UUID in binary. Add question to the response msg
Remi Gacogne [Wed, 13 Apr 2016 11:16:13 +0000 (13:16 +0200)]
Protobuf: Encode UUID in binary. Add question to the response msg

Also:
- merge the dnsdist and recursor Remote Logger implementations.
- fix the protobuf logging over TCP in dnsdist

8 years agoMerge pull request #3696 from pieterlexis/more-alpha-secpoll
Pieter Lexis [Wed, 13 Apr 2016 09:48:49 +0000 (11:48 +0200)]
Merge pull request #3696 from pieterlexis/more-alpha-secpoll

More additions to the secpoll

8 years agoMerge pull request #3699 from rgacogne/dnsdist-doc-protobuf
Remi Gacogne [Wed, 13 Apr 2016 08:54:14 +0000 (10:54 +0200)]
Merge pull request #3699 from rgacogne/dnsdist-doc-protobuf

dnsdist: Document our remote logging feature

8 years agoMerge pull request #3677 from pieterlexis/dnsdist-systemd-notify-support
Remi Gacogne [Wed, 13 Apr 2016 07:35:31 +0000 (09:35 +0200)]
Merge pull request #3677 from pieterlexis/dnsdist-systemd-notify-support

dnsdist: Add support for systemd-notify

8 years agodnsdist: patch the systemd.m4
Pieter Lexis [Tue, 12 Apr 2016 13:41:47 +0000 (15:41 +0200)]
dnsdist: patch the systemd.m4

This patch is twofold:
1 - It detects the correct library for sd-daemon (either
libsystemd-daemon (systemd pre-209) or libsystemd (systemd post-209)
2 - Detection of the library and files is only run once, even when
systemd support detection is automatic (when using AX_AVAILABLE_SYSTEMD)

8 years agodnsdist: Add systemd notify support
Pieter Lexis [Tue, 12 Apr 2016 13:41:24 +0000 (15:41 +0200)]
dnsdist: Add systemd notify support

8 years agodnsdist: Document our remote logging feature
Remi Gacogne [Tue, 12 Apr 2016 16:54:28 +0000 (18:54 +0200)]
dnsdist: Document our remote logging feature

8 years agoMerge pull request #3681 from pieterlexis/issue-3645-cache-wipe-dot
Peter van Dijk [Tue, 12 Apr 2016 11:38:44 +0000 (13:38 +0200)]
Merge pull request #3681 from pieterlexis/issue-3645-cache-wipe-dot

Don't throw an error on wipe-cache .something

8 years agodnsdist: Import systemd autoconf macros
Pieter Lexis [Tue, 12 Apr 2016 10:08:09 +0000 (12:08 +0200)]
dnsdist: Import systemd autoconf macros

Imported
https://github.com/mcgrof/funk-systemd/blob/b17396e7b1f5e93db74cae0e9123f39cf27a8339/src/m4/systemd.m4
as m4/systemd.m4

Imported
https://github.com/mcgrof/funk-systemd/blob/b17396e7b1f5e93db74cae0e9123f39cf27a8339/src/m4/features.m4
as m4/ax_arg_default_enable_disable.m4

8 years agoMore additions to the secpoll
Pieter Lexis [Tue, 12 Apr 2016 07:49:24 +0000 (09:49 +0200)]
More additions to the secpoll

8 years agoMerge pull request #3694 from Habbie/protobuf-old-autoconf
Peter van Dijk [Mon, 11 Apr 2016 20:59:29 +0000 (22:59 +0200)]
Merge pull request #3694 from Habbie/protobuf-old-autoconf

avoid generating empty if/else blocks on autoconf 2.63, fixes #3684

8 years agoavoid generating empty if/else blocks on autoconf 2.63, fixes #3684
Peter van Dijk [Mon, 11 Apr 2016 18:23:41 +0000 (20:23 +0200)]
avoid generating empty if/else blocks on autoconf 2.63, fixes #3684

8 years agoSplit travis between the products
Pieter Lexis [Mon, 11 Apr 2016 08:07:20 +0000 (10:07 +0200)]
Split travis between the products

For better parallel testing

8 years agoRevert "temporarily reduce travis runtime, revert me later"
Pieter Lexis [Fri, 8 Apr 2016 14:20:19 +0000 (16:20 +0200)]
Revert "temporarily reduce travis runtime, revert me later"

This reverts commit cb547431e9809f85028231cc8015e2ca5e914ad3.

8 years agoMerge pull request #3691 from rgacogne/dnsdist-ecs-dnsname-crash
Remi Gacogne [Mon, 11 Apr 2016 14:53:53 +0000 (16:53 +0200)]
Merge pull request #3691 from rgacogne/dnsdist-ecs-dnsname-crash

Throw if DNSName would overflow when asked to read type/class

8 years agoMerge pull request #3692 from pieterlexis/dnsdist-makefile
Remi Gacogne [Mon, 11 Apr 2016 12:53:32 +0000 (14:53 +0200)]
Merge pull request #3692 from pieterlexis/dnsdist-makefile

dnsdist: do not install the testrunner

8 years agoMerge pull request #3690 from rgacogne/dnsdist-doc-ecs-fixes
Remi Gacogne [Mon, 11 Apr 2016 12:47:53 +0000 (14:47 +0200)]
Merge pull request #3690 from rgacogne/dnsdist-doc-ecs-fixes

dnsdist: Doc: Clarify ECS a bit, fix the source address list

8 years agodnsdist: do not install the testrunner
Pieter Lexis [Mon, 11 Apr 2016 10:52:22 +0000 (12:52 +0200)]
dnsdist: do not install the testrunner

8 years agoThrow if DNSName would overflow when asked to read type/class
Remi Gacogne [Mon, 11 Apr 2016 09:14:41 +0000 (11:14 +0200)]
Throw if DNSName would overflow when asked to read type/class

Otherwise, the caller has to check the consumed size to know
if the type and class he asked for have been read, while it
clearly expected them to be present.
Fix a crash in dnsdist ECS parsing found by american fuzzy lop.

8 years agoMerge pull request #3689 from Habbie/nocomment
bert hubert [Mon, 11 Apr 2016 08:53:26 +0000 (10:53 +0200)]
Merge pull request #3689 from Habbie/nocomment

this comment makes no sense after e377f86

8 years agothis comment makes no sense after e377f86
Peter van Dijk [Sun, 10 Apr 2016 13:16:20 +0000 (15:16 +0200)]
this comment makes no sense after e377f86

8 years agodnsdist: Doc: Clarify ECS a bit, fix the source address list
Remi Gacogne [Sun, 10 Apr 2016 11:26:34 +0000 (13:26 +0200)]
dnsdist: Doc: Clarify ECS a bit, fix the source address list

8 years agotemporarily reduce travis runtime, revert me later
Peter van Dijk [Fri, 8 Apr 2016 14:14:31 +0000 (16:14 +0200)]
temporarily reduce travis runtime, revert me later

8 years agoCatch an error in wipe-cache
Pieter Lexis [Fri, 8 Apr 2016 07:27:01 +0000 (09:27 +0200)]
Catch an error in wipe-cache

When an invalid DNSName is encountered, we do not wipe anything from the
cache.

Also update the manpage.

Closes #3645

8 years agoMerge pull request #3642 from pieterlexis/protobuf-cleanups
Peter van Dijk [Fri, 8 Apr 2016 11:01:14 +0000 (13:01 +0200)]
Merge pull request #3642 from pieterlexis/protobuf-cleanups

Protobuf cleanups

8 years agoMerge pull request #3640 from rgacogne/rec-protobuf-wake-worker
Peter van Dijk [Fri, 8 Apr 2016 11:00:05 +0000 (13:00 +0200)]
Merge pull request #3640 from rgacogne/rec-protobuf-wake-worker

rec: Extract ECS even w/o gettag. Wake worker when exiting.

8 years agoMerge pull request #3633 from rgacogne/dnsdist-cache-short-ttl
Peter van Dijk [Fri, 8 Apr 2016 10:58:18 +0000 (12:58 +0200)]
Merge pull request #3633 from rgacogne/dnsdist-cache-short-ttl

dnsdist: Count "TTL too short" events, default min TTL to 0

8 years agoMerge pull request #3632 from saltsa/master
Peter van Dijk [Fri, 8 Apr 2016 10:55:43 +0000 (12:55 +0200)]
Merge pull request #3632 from saltsa/master

fix exit statuses to constants and return 0 when success

8 years agoMerge pull request #3619 from pieterlexis/issue-2072-rec_control-reload-zones
Peter van Dijk [Fri, 8 Apr 2016 10:52:29 +0000 (12:52 +0200)]
Merge pull request #3619 from pieterlexis/issue-2072-rec_control-reload-zones

Don't replace forwards with broken config file

8 years agoMerge pull request #3618 from pieterlexis/issue-3430-scoped-syntax-docs
Peter van Dijk [Fri, 8 Apr 2016 10:51:50 +0000 (12:51 +0200)]
Merge pull request #3618 from pieterlexis/issue-3430-scoped-syntax-docs

Document v6 scoped syntax

8 years agoMerge pull request #3614 from hlindqvist/policy-lua-fixes
Peter van Dijk [Fri, 8 Apr 2016 10:51:07 +0000 (12:51 +0200)]
Merge pull request #3614 from hlindqvist/policy-lua-fixes

Policy lua script null handling fixes

8 years agoMerge pull request #3656 from zeha/api-cryptokey-cleanup
Peter van Dijk [Fri, 8 Apr 2016 10:42:24 +0000 (12:42 +0200)]
Merge pull request #3656 from zeha/api-cryptokey-cleanup

API: clean up cryptokeys resource

8 years agoMerge pull request #3658 from rgacogne/dnsdist-maxqpsiprule-crash
Peter van Dijk [Fri, 8 Apr 2016 10:41:46 +0000 (12:41 +0200)]
Merge pull request #3658 from rgacogne/dnsdist-maxqpsiprule-crash

dnsdist: Add a lock to MaxQPSIPRule

8 years agoMerge pull request #3667 from mind04/default
Peter van Dijk [Fri, 8 Apr 2016 10:40:39 +0000 (12:40 +0200)]
Merge pull request #3667 from mind04/default

fix default algorithms in pdnsutil

8 years agoMerge pull request #3678 from mind04/bindroot
Peter van Dijk [Fri, 8 Apr 2016 10:38:45 +0000 (12:38 +0200)]
Merge pull request #3678 from mind04/bindroot

root zone fixes in bind backend

8 years agoenable all bind root zone tests in travis
Kees Monshouwer [Thu, 7 Apr 2016 18:12:14 +0000 (20:12 +0200)]
enable all bind root zone tests in travis

8 years agoredo NSEC3 in bind backend
Kees Monshouwer [Wed, 6 Apr 2016 07:25:19 +0000 (09:25 +0200)]
redo NSEC3 in bind backend

8 years agorecursor: ignore generated files
Pieter Lexis [Thu, 31 Mar 2016 13:29:24 +0000 (15:29 +0200)]
recursor: ignore generated files

8 years agorecursor: Protobuf auto* cleanup
Pieter Lexis [Thu, 31 Mar 2016 13:09:48 +0000 (15:09 +0200)]
recursor: Protobuf auto* cleanup

8 years agodnsdist: allow building with `make dnsdist`
Pieter Lexis [Thu, 31 Mar 2016 09:17:59 +0000 (11:17 +0200)]
dnsdist: allow building with `make dnsdist`

8 years agodnsdist: Protobuf automake fixes
Pieter Lexis [Thu, 31 Mar 2016 09:17:33 +0000 (11:17 +0200)]
dnsdist: Protobuf automake fixes

8 years agodnsdist: ignore generated files
Pieter Lexis [Thu, 31 Mar 2016 09:07:22 +0000 (11:07 +0200)]
dnsdist: ignore generated files

8 years agodnsdist: automatically detect protobuf
Pieter Lexis [Thu, 31 Mar 2016 09:02:32 +0000 (11:02 +0200)]
dnsdist: automatically detect protobuf

8 years agomake dnspcap2protobuf buildable without `make all`
Pieter Lexis [Thu, 31 Mar 2016 06:13:13 +0000 (08:13 +0200)]
make dnspcap2protobuf buildable without `make all`

8 years agoAutomatically detect protobuf (similar to Lua)
Pieter Lexis [Thu, 31 Mar 2016 06:54:20 +0000 (08:54 +0200)]
Automatically detect protobuf (similar to Lua)

No need to `--enable-protobuf`. If you want to skip protobuf detection,
`--without-protobuf` is your friend. We also fail configure if
`--with-protobuf=yes` and protobuf is not found.

8 years agoIgnore built files
Pieter Lexis [Sat, 26 Mar 2016 11:21:56 +0000 (12:21 +0100)]
Ignore built files

8 years agoUpdate auth docs
Pieter Lexis [Thu, 7 Apr 2016 14:46:27 +0000 (16:46 +0200)]
Update auth docs

8 years agoMerge pull request #3612 from pieterlexis/issue-3480-pgsql-segfault
Pieter Lexis [Thu, 7 Apr 2016 14:39:56 +0000 (16:39 +0200)]
Merge pull request #3612 from pieterlexis/issue-3480-pgsql-segfault

pdnsutil: Fix segfault in the gpgsql backend

8 years agoMerge pull request #3676 from pieterlexis/docupdates
Pieter Lexis [Thu, 7 Apr 2016 14:39:29 +0000 (16:39 +0200)]
Merge pull request #3676 from pieterlexis/docupdates

Documentation updates

8 years agoMerge branch 'mind04-root'
Pieter Lexis [Thu, 7 Apr 2016 11:55:19 +0000 (13:55 +0200)]
Merge branch 'mind04-root'

8 years agoMerge branch 'root' of https://github.com/mind04/pdns into mind04-root
Pieter Lexis [Thu, 7 Apr 2016 11:43:39 +0000 (13:43 +0200)]
Merge branch 'root' of https://github.com/mind04/pdns into mind04-root

8 years agoMerge pull request #3671 from pieterlexis/relative-paths
Pieter Lexis [Thu, 7 Apr 2016 11:33:46 +0000 (13:33 +0200)]
Merge pull request #3671 from pieterlexis/relative-paths

recursor: use relative paths for recuweb

8 years agoMerge pull request #3625 from cyclops1982/3362
Peter van Dijk [Thu, 7 Apr 2016 11:30:16 +0000 (13:30 +0200)]
Merge pull request #3625 from cyclops1982/3362

Suggested fix for #3362 and #2911

8 years agoMerge pull request #3666 from mind04/backend
Peter van Dijk [Thu, 7 Apr 2016 11:30:02 +0000 (13:30 +0200)]
Merge pull request #3666 from mind04/backend

Restore old gsql backend behaviour

8 years agodocs: Update the authoritative mainpage
Pieter Lexis [Thu, 7 Apr 2016 09:10:10 +0000 (11:10 +0200)]
docs: Update the authoritative mainpage

8 years agoMerge remote-tracking branch 'habbie/ldapdocs' into docupdates
Pieter Lexis [Thu, 7 Apr 2016 09:08:17 +0000 (11:08 +0200)]
Merge remote-tracking branch 'habbie/ldapdocs' into docupdates

8 years agodnsdist: update last addLuaAction parameter reference
Pieter Lexis [Thu, 7 Apr 2016 08:24:16 +0000 (10:24 +0200)]
dnsdist: update last addLuaAction parameter reference

8 years agoMerge pull request #3563 from GaveUp/master
Pieter Lexis [Thu, 7 Apr 2016 08:19:27 +0000 (10:19 +0200)]
Merge pull request #3563 from GaveUp/master

Clarify ALLOW-AXFR-FROM.

8 years agoMerge pull request #3603 from rubenk/m4-libedit
Pieter Lexis [Thu, 7 Apr 2016 08:19:14 +0000 (10:19 +0200)]
Merge pull request #3603 from rubenk/m4-libedit

M4 libedit

8 years agoMerge pull request #3617 from pieterlexis/issue-3441-lowercase-outgoing-to-40
Pieter Lexis [Thu, 7 Apr 2016 08:19:02 +0000 (10:19 +0200)]
Merge pull request #3617 from pieterlexis/issue-3441-lowercase-outgoing-to-40

Add `lowercase-outgoing` to Recursor 4.0

8 years agoMerge pull request #3628 from rubenk/remove-semistatic-stuff
Pieter Lexis [Thu, 7 Apr 2016 08:18:10 +0000 (10:18 +0200)]
Merge pull request #3628 from rubenk/remove-semistatic-stuff

Remove semistatic stuff

8 years agoMerge pull request #3635 from pieterlexis/sync-dnsdist-debian
Pieter Lexis [Thu, 7 Apr 2016 08:17:54 +0000 (10:17 +0200)]
Merge pull request #3635 from pieterlexis/sync-dnsdist-debian

dnsdist: Sync debian dir with downstream

8 years agoMerge pull request #3651 from zeha/dashconsistency
Pieter Lexis [Thu, 7 Apr 2016 08:17:40 +0000 (10:17 +0200)]
Merge pull request #3651 from zeha/dashconsistency

Rename PUBLISH_* to PUBLISH-* domainmetadata

8 years agoMerge pull request #3657 from rgacogne/dnsdist-qps-doc
Pieter Lexis [Thu, 7 Apr 2016 08:17:24 +0000 (10:17 +0200)]
Merge pull request #3657 from rgacogne/dnsdist-qps-doc

dnsdist: Clarify the doc for QPS-related rules and actions

8 years agoMerge pull request #3659 from rgacogne/static-analysis-fixes
Pieter Lexis [Thu, 7 Apr 2016 08:17:15 +0000 (10:17 +0200)]
Merge pull request #3659 from rgacogne/static-analysis-fixes

Various fixes from clang static analyzer, coverity and cppcheck

8 years agoMerge pull request #3664 from pieterlexis/secpoll4a2
Pieter Lexis [Thu, 7 Apr 2016 08:16:59 +0000 (10:16 +0200)]
Merge pull request #3664 from pieterlexis/secpoll4a2

Secpoll additions for 4.0.0 alpha2

8 years agoMerge pull request #3670 from Habbie/sedperl
Pieter Lexis [Thu, 7 Apr 2016 08:16:54 +0000 (10:16 +0200)]
Merge pull request #3670 from Habbie/sedperl

replace non-portable sed usage with more portable perl usage

8 years agoMerge pull request #3674 from mmckinst/tinydns_wildcards
Pieter Lexis [Thu, 7 Apr 2016 08:16:43 +0000 (10:16 +0200)]
Merge pull request #3674 from mmckinst/tinydns_wildcards

remove experimental status of tinydns and add note about wildcards

8 years agotinydns no longer experimental
Mark McKinstry [Wed, 6 Apr 2016 18:51:13 +0000 (14:51 -0400)]
tinydns no longer experimental

8 years agodocument differences in handling wildcards
Mark McKinstry [Wed, 6 Apr 2016 18:49:25 +0000 (14:49 -0400)]
document differences in handling wildcards

8 years agoFix HTML output tinydns backend
Pieter Lexis [Wed, 6 Apr 2016 18:20:35 +0000 (20:20 +0200)]
Fix HTML output tinydns backend

8 years agoMerge pull request #3661 from mmckinst/locations
Peter van Dijk [Wed, 6 Apr 2016 18:17:35 +0000 (20:17 +0200)]
Merge pull request #3661 from mmckinst/locations

make documentation align with code

8 years agoreplace non-portable sed usage with more portable perl usage
Peter van Dijk [Tue, 5 Apr 2016 17:26:32 +0000 (19:26 +0200)]
replace non-portable sed usage with more portable perl usage

8 years agoMerge pull request #3668 from gryphius/tll-typo
Peter van Dijk [Tue, 5 Apr 2016 15:03:02 +0000 (17:03 +0200)]
Merge pull request #3668 from gryphius/tll-typo

typo: TLL -> TTL (dnssec documentation)

8 years agotypo: TLL -> TTL
Oli [Tue, 5 Apr 2016 15:00:16 +0000 (17:00 +0200)]
typo: TLL -> TTL

8 years agorecursor: use relative paths for recuweb
Pieter Lexis [Tue, 5 Apr 2016 13:44:47 +0000 (15:44 +0200)]
recursor: use relative paths for recuweb

This allows proxying multiple recursors on a single hostname, e.g. using
http://example.com/recursor1 and http://example.com/recursor2.

8 years agoexpose CSK flags in secure zone output
Kees Monshouwer [Fri, 18 Mar 2016 15:36:58 +0000 (16:36 +0100)]
expose CSK flags in secure zone output
 #Please enter the commit message for your changes. Lines star

8 years agoset default ksk instead of zsk algorithm
Kees Monshouwer [Fri, 18 Mar 2016 15:20:24 +0000 (16:20 +0100)]
set default ksk instead of zsk algorithm

8 years agoremove sep 'magic' in pdnsutil secure-zone
Kees Monshouwer [Fri, 18 Mar 2016 15:19:48 +0000 (16:19 +0100)]
remove sep 'magic' in pdnsutil secure-zone

8 years agoadapt secure delegation test to new default signing algorithm
Kees Monshouwer [Fri, 18 Mar 2016 15:11:38 +0000 (16:11 +0100)]
adapt secure delegation test to new default signing algorithm

8 years agopdnsutil: make ecdsa256 the default algorithm for add-zone-key and generate-zone-key
Kees Monshouwer [Fri, 18 Mar 2016 12:58:03 +0000 (13:58 +0100)]
pdnsutil: make ecdsa256 the default algorithm for add-zone-key and generate-zone-key

8 years agoAdd auth+rec 4 alpha2 secpoll data for pdns pkgs
Pieter Lexis [Tue, 5 Apr 2016 08:03:21 +0000 (10:03 +0200)]
Add auth+rec 4 alpha2 secpoll data for pdns pkgs

8 years agoAdd / move existing alpha2 releases
Pieter Lexis [Tue, 5 Apr 2016 07:51:40 +0000 (09:51 +0200)]
Add / move existing alpha2 releases

8 years agomake documentation align with code
Mark McKinstry [Mon, 4 Apr 2016 18:36:55 +0000 (14:36 -0400)]
make documentation align with code

The documentation says 'locations' is disabled by default but the [code enables it by default](https://github.com/PowerDNS/pdns/blob/bb310f41bef9bbbfab2337c15e5ea280322acbae/modules/tinydnsbackend/tinydnsbackend.cc#L314)

The 'locations' option in tinydns does split horizon. If someone has location
records, they probably want them to be used by default and not have all records
returned.

8 years agoMerge pull request #3660 from mmckinst/typo
Peter van Dijk [Mon, 4 Apr 2016 18:34:38 +0000 (20:34 +0200)]
Merge pull request #3660 from mmckinst/typo

typo/grammar

8 years agotypo/grammar
Mark McKinstry [Mon, 4 Apr 2016 18:23:43 +0000 (14:23 -0400)]
typo/grammar

8 years agoMerge pull request #3653 from ahupowerdns/tab-are-ws-too
bert hubert [Mon, 4 Apr 2016 18:13:21 +0000 (20:13 +0200)]
Merge pull request #3653 from ahupowerdns/tab-are-ws-too

tabs are whitespace too!

8 years agoVarious fixes from clang static analyzer, coverity and cppcheck
Remi Gacogne [Mon, 4 Apr 2016 12:35:07 +0000 (14:35 +0200)]
Various fixes from clang static analyzer, coverity and cppcheck

Most of them are simply about making sure that members are
properly initialized by all constructors, especially if there is a
default one. The initialization cost should be fairly small, and I
expect that turning a random failure into a deterministic one is
worth it.

8 years agodnsdist: Add a lock to MaxQPSIPRule
Remi Gacogne [Mon, 4 Apr 2016 10:02:53 +0000 (12:02 +0200)]
dnsdist: Add a lock to MaxQPSIPRule

Otherwise we might crash when one thread inserts into the internal
map while another one is accessing it.
Reported by @rygl.

8 years agodnsdist: Clarify the doc for QPS-related rules and actions
Remi Gacogne [Mon, 4 Apr 2016 10:01:21 +0000 (12:01 +0200)]
dnsdist: Clarify the doc for QPS-related rules and actions

8 years agoAPI: clean up cryptokeys resource
Christian Hofstaedtler [Tue, 29 Dec 2015 13:17:32 +0000 (14:17 +0100)]
API: clean up cryptokeys resource

Treat domain not found as a normal not found; treat all keys
absent for single resource request as a normal not found;
return an object instead of a single-valued list for single
resource requests and rename "content" to "privatekey"
and don't re-read the key from the backend.

Also share UeberBackend with DNSSECKeeper to avoid extra
backend connection.

8 years agoRename PUBLISH_* to PUBLISH-* domainmetadata
Christian Hofstaedtler [Sat, 2 Apr 2016 19:24:51 +0000 (21:24 +0200)]
Rename PUBLISH_* to PUBLISH-* domainmetadata

For consistency with all other domainmetadata settings names.

8 years agotabs are whitespace too!
bert hubert [Sat, 2 Apr 2016 13:16:45 +0000 (15:16 +0200)]
tabs are whitespace too!

8 years agoRevert "Make pdns die on fatal error"
Kees Monshouwer [Fri, 1 Apr 2016 20:06:37 +0000 (22:06 +0200)]
Revert "Make pdns die on fatal error"

This reverts commit ff1ac70002cc705285a58daf4dcb6ccbb4b7e312.

8 years agoRevert "Add remark about not removing the throw"
Kees Monshouwer [Fri, 1 Apr 2016 20:06:17 +0000 (22:06 +0200)]
Revert "Add remark about not removing the throw"

This reverts commit 7da873e9210bdaff73e9b436a4d1657f19bae600.