]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
7 years agoMerge pull request #4794 from pieterlexis/issue-4342
Pieter Lexis [Tue, 10 Jan 2017 12:11:12 +0000 (13:11 +0100)] 
Merge pull request #4794 from pieterlexis/issue-4342

RPZ: some logging fixes

7 years agoMerge pull request #4800 from pieterlexis/pdnsutil-fancyness
Pieter Lexis [Tue, 10 Jan 2017 12:10:34 +0000 (13:10 +0100)] 
Merge pull request #4800 from pieterlexis/pdnsutil-fancyness

Various documentation improvements

7 years agoMerge pull request #4864 from Habbie/enable-jdnssec
Pieter Lexis [Tue, 10 Jan 2017 10:54:05 +0000 (11:54 +0100)] 
Merge pull request #4864 from Habbie/enable-jdnssec

reinstate jdnssec usage now that it supports ECDSA

7 years agoMerge pull request #4803 from pieterlexis/issue-4801
Pieter Lexis [Tue, 10 Jan 2017 10:53:50 +0000 (11:53 +0100)] 
Merge pull request #4803 from pieterlexis/issue-4801

Graceful fallback if pandoc is unavailable

7 years agoMerge pull request #4824 from pieterlexis/issue-4680-check-ecdsa-use-openssl-include
Pieter Lexis [Tue, 10 Jan 2017 10:53:23 +0000 (11:53 +0100)] 
Merge pull request #4824 from pieterlexis/issue-4680-check-ecdsa-use-openssl-include

Check in the detected OpenSSL/libcrypto for ECDSA

7 years agoMerge pull request #4829 from mind04/axfr
Pieter Lexis [Tue, 10 Jan 2017 10:53:10 +0000 (11:53 +0100)] 
Merge pull request #4829 from mind04/axfr

make sure AXFR only delete records from a SLAVE domain in a multi bac…

7 years agoMerge pull request #4836 from zeha/tldnames
Pieter Lexis [Tue, 10 Jan 2017 10:52:49 +0000 (11:52 +0100)] 
Merge pull request #4836 from zeha/tldnames

Remove hardcoded tld names co.za, co.il

7 years agoMerge pull request #4838 from pieterlexis/check-libatomic
Pieter Lexis [Tue, 10 Jan 2017 10:52:34 +0000 (11:52 +0100)] 
Merge pull request #4838 from pieterlexis/check-libatomic

Check if we can link against libatomic if needed

7 years agoMerge pull request #4852 from rgacogne/issue-4851
Pieter Lexis [Tue, 10 Jan 2017 10:52:23 +0000 (11:52 +0100)] 
Merge pull request #4852 from rgacogne/issue-4851

DNSName: Check that both first two bits are set in compressed labels

7 years agoMerge pull request #4855 from ahupowerdns/getaddrinfo-triplicate
Pieter Lexis [Tue, 10 Jan 2017 10:52:09 +0000 (11:52 +0100)] 
Merge pull request #4855 from ahupowerdns/getaddrinfo-triplicate

It turns out our use of getaddrinfo in communicator.hh would be retur…

7 years agoMerge pull request #4860 from rgacogne/unfuck-dq
Pieter Lexis [Tue, 10 Jan 2017 10:51:49 +0000 (11:51 +0100)] 
Merge pull request #4860 from rgacogne/unfuck-dq

rec: Fix `dq` members alterations from Lua not being taken into account

7 years agoMerge pull request #4856 from rgacogne/dnsdist-better-docs
Remi Gacogne [Mon, 9 Jan 2017 16:59:54 +0000 (17:59 +0100)] 
Merge pull request #4856 from rgacogne/dnsdist-better-docs

dnsdist: Clarify docs: `maintenance()`, cache memory usage and `exceed*`

7 years agoCheck if we can link against libatomic if needed 4838/head
Pieter Lexis [Mon, 2 Jan 2017 11:23:05 +0000 (12:23 +0100)] 
Check if we can link against libatomic if needed

Also move the OS detection to the top

7 years agoclean up - was identical to expected_result 4864/head
Peter van Dijk [Mon, 9 Jan 2017 11:14:48 +0000 (12:14 +0100)] 
clean up - was identical to expected_result

7 years agoreinstate jdnssec usage now that it supports ECDSA
Peter van Dijk [Mon, 9 Jan 2017 11:01:40 +0000 (12:01 +0100)] 
reinstate jdnssec usage now that it supports ECDSA

7 years agoMerge pull request #4839 from mind04/ent-asterisk-unbound
Peter van Dijk [Mon, 9 Jan 2017 10:51:13 +0000 (11:51 +0100)] 
Merge pull request #4839 from mind04/ent-asterisk-unbound

nsec ent-asterisk test is no longer bogus with unbound 1.6.0

7 years agoMerge pull request #4862 from rgacogne/jdnssec-0.13
Peter van Dijk [Mon, 9 Jan 2017 10:09:05 +0000 (11:09 +0100)] 
Merge pull request #4862 from rgacogne/jdnssec-0.13

jdnssec-tools 0.13 has been released

7 years agojdnssec-tools 0.13 has been released 4862/head
Remi Gacogne [Mon, 9 Jan 2017 09:24:08 +0000 (10:24 +0100)] 
jdnssec-tools 0.13 has been released

7 years agorec: Add a regression test for `NXDOMAIN` from `presolve()` 4860/head
Remi Gacogne [Fri, 6 Jan 2017 12:16:35 +0000 (13:16 +0100)] 
rec: Add a regression test for `NXDOMAIN` from `presolve()`

7 years agorec: Fix `dq` members alterations from Lua not being taken into account
Remi Gacogne [Fri, 6 Jan 2017 10:38:27 +0000 (11:38 +0100)] 
rec: Fix `dq` members alterations from Lua not being taken into account

Apparently when using reference, LuaWrapper pass the object by copy
and not by reference, so for now we pass `dq` as a pointer, not a
reference.

7 years agodnsdist: Clarify docs: `maintenance()`, cache memory usage and `exceed*` 4856/head
Remi Gacogne [Thu, 5 Jan 2017 09:47:20 +0000 (10:47 +0100)] 
dnsdist: Clarify docs: `maintenance()`, cache memory usage and `exceed*`

7 years agodnsdist: Update the website's frontage for 1.1.0
Remi Gacogne [Thu, 5 Jan 2017 08:48:26 +0000 (09:48 +0100)] 
dnsdist: Update the website's frontage for 1.1.0

7 years agoMerge pull request #4833 from zeha/dnsdist-sidebar-scroll
Pieter Lexis [Thu, 5 Jan 2017 17:56:04 +0000 (18:56 +0100)] 
Merge pull request #4833 from zeha/dnsdist-sidebar-scroll

dnsdist docs: make sidebar scrollable

7 years agoMerge pull request #4822 from ekohl/document-webserver-needed-for-api
Pieter Lexis [Thu, 5 Jan 2017 17:55:31 +0000 (18:55 +0100)] 
Merge pull request #4822 from ekohl/document-webserver-needed-for-api

Document webserver=yes is needed for API until 4.1.0

7 years agoIt turns out our use of getaddrinfo in communicator.hh would be returning all address... 4855/head
bert hubert [Wed, 4 Jan 2017 22:17:55 +0000 (23:17 +0100)] 
It turns out our use of getaddrinfo in communicator.hh would be returning all addresses in triplicate (one for each socket type). See https://bugzilla.mozilla.org/show_bug.cgi?id=223811
We may have filtered this out at a later stage, but it was wrong in any case.

7 years agoimprove comment on getaddrinfo
bert hubert [Wed, 4 Jan 2017 21:39:06 +0000 (22:39 +0100)] 
improve comment on getaddrinfo

7 years agoDNSName: Check that both first two bits are set in compressed labels 4852/head
Remi Gacogne [Wed, 4 Jan 2017 10:48:47 +0000 (11:48 +0100)] 
DNSName: Check that both first two bits are set in compressed labels

We checked that at least one of the first two bits was set,
but the 10 and 01 are combinations do not indicate a compressed label
and are reserved for future use.

7 years agoadd required unbound version to the ent-asterisk test description 4839/head
Kees Monshouwer [Mon, 2 Jan 2017 15:23:41 +0000 (16:23 +0100)] 
add required unbound version to the ent-asterisk test description

7 years agoRemove hardcoded tld names co.za, co.il 4836/head
Christian Hofstaedtler [Mon, 2 Jan 2017 10:12:13 +0000 (11:12 +0100)] 
Remove hardcoded tld names co.za, co.il

These are already in the current public suffix list.

7 years agonsec ent-asterisk test is no longer bogus with unbound 1.6.0
Kees Monshouwer [Sat, 31 Dec 2016 21:04:00 +0000 (22:04 +0100)] 
nsec ent-asterisk test is no longer bogus with unbound 1.6.0

7 years agodnsdist docs: make sidebar scrollable 4833/head
Christian Hofstaedtler [Sat, 31 Dec 2016 14:27:21 +0000 (15:27 +0100)] 
dnsdist docs: make sidebar scrollable

7 years agomake sure AXFR only delete records from a SLAVE domain in a multi backend setup 4829/head
Kees Monshouwer [Tue, 20 Dec 2016 14:13:15 +0000 (15:13 +0100)] 
make sure AXFR only delete records from a SLAVE domain in a multi backend setup

7 years agoCheck in the detected OpenSSL/libcrypto for ECDSA 4824/head
Pieter Lexis [Thu, 29 Dec 2016 17:01:30 +0000 (18:01 +0100)] 
Check in the detected OpenSSL/libcrypto for ECDSA

We used to 'just' use the default includes for this detection.

Fixes #4680

7 years agoMerge pull request #4823 from rgacogne/dnsdist-110-changelog
Remi Gacogne [Thu, 29 Dec 2016 14:55:18 +0000 (15:55 +0100)] 
Merge pull request #4823 from rgacogne/dnsdist-110-changelog

dnsdist: Update ChangeLog for 1.1.0

7 years agoMerge pull request #4812 from rgacogne/dnsdist-qdcount-zero-responses dnsdist-1.1.0
Remi Gacogne [Thu, 29 Dec 2016 12:21:46 +0000 (13:21 +0100)] 
Merge pull request #4812 from rgacogne/dnsdist-qdcount-zero-responses

dnsdist: Handle header-only responses, handle Refused as Servfail in the cache

7 years agodnsdist: Update ChangeLog for 1.1.0 4823/head
Remi Gacogne [Thu, 29 Dec 2016 11:21:40 +0000 (12:21 +0100)] 
dnsdist: Update ChangeLog for 1.1.0

7 years agoDocument webserver=yes is needed for API until 4.1.0 4822/head
Ewoud Kohl van Wijngaarden [Thu, 29 Dec 2016 11:06:25 +0000 (12:06 +0100)] 
Document webserver=yes is needed for API until 4.1.0

536ab56f5d6e3f657c787c2e6be1a55c7a422241 removed the need for
webserver=yes in pdns.conf when api=yes but that hasn't made it to
a stable release. This ensures the documentation provides a working
configuration for new users.

7 years agodnsdist: Check that cached responses are >= sizeof(dnsheader) 4812/head
Remi Gacogne [Thu, 29 Dec 2016 10:46:36 +0000 (11:46 +0100)] 
dnsdist: Check that cached responses are >= sizeof(dnsheader)

The check is done before inserting the response into the cache, but
it feels safer to check it again before passing it to `memcpy()`.
We check that the cached response is larger than
`sizeof(dnsheader) + qname` afterwards, but the previous commit
moved the header copy before that check.

7 years agoMerge pull request #4762 from rgacogne/suffixmatchnode-existing-node
Remi Gacogne [Thu, 29 Dec 2016 09:49:34 +0000 (10:49 +0100)] 
Merge pull request #4762 from rgacogne/suffixmatchnode-existing-node

SuffixMatchNode: Fix an insertion issue for an existing node

7 years agoMerge pull request #4719 from tuxis-ie/pdnsutil.list-zone
Pieter Lexis [Tue, 27 Dec 2016 06:29:25 +0000 (07:29 +0100)] 
Merge pull request #4719 from tuxis-ie/pdnsutil.list-zone

Print $ORIGIN . on list-zone, so the output can be used in load-zone

7 years agoMerge pull request #4624 from rgacogne/auth-tcp-rfc7766-section10
Pieter Lexis [Tue, 27 Dec 2016 06:28:53 +0000 (07:28 +0100)] 
Merge pull request #4624 from rgacogne/auth-tcp-rfc7766-section10

auth: Add TCP management options described in section 10 of rfc7766

7 years agoMerge pull request #4606 from mind04/nsec-dnsname
Pieter Lexis [Tue, 27 Dec 2016 06:28:21 +0000 (07:28 +0100)] 
Merge pull request #4606 from mind04/nsec-dnsname

Use dnsname for nsec generation

7 years agodnsdist: Handle Refused as ServFail in the packet cache
Remi Gacogne [Fri, 23 Dec 2016 09:25:45 +0000 (10:25 +0100)] 
dnsdist: Handle Refused as ServFail in the packet cache

7 years agodnsdist: Handle responses with qdcount == 0
Remi Gacogne [Thu, 22 Dec 2016 12:46:09 +0000 (13:46 +0100)] 
dnsdist: Handle responses with qdcount == 0

@rygl reported that unbound at least sends `Refused` responses
containing only the DNS header.

7 years agoGraceful fallback if pandoc is unavailable 4803/head
Pieter Lexis [Wed, 21 Dec 2016 11:54:12 +0000 (12:54 +0100)] 
Graceful fallback if pandoc is unavailable

Closes #4801

7 years agomake it less wrong
bert hubert [Wed, 21 Dec 2016 08:51:38 +0000 (09:51 +0100)] 
make it less wrong

7 years agotalks about 3.0
bert hubert [Wed, 21 Dec 2016 08:48:27 +0000 (09:48 +0100)] 
talks about 3.0

7 years agoMerge pull request #4789 from rgacogne/rec-prepend-label-get-zone-cut
Pieter Lexis [Wed, 21 Dec 2016 08:19:20 +0000 (09:19 +0100)] 
Merge pull request #4789 from rgacogne/rec-prepend-label-get-zone-cut

rec: Don't choke on escaped content in getZoneCuts()

7 years agoMerge pull request #4790 from pieterlexis/manpage-fixes
Pieter Lexis [Wed, 21 Dec 2016 08:18:53 +0000 (09:18 +0100)] 
Merge pull request #4790 from pieterlexis/manpage-fixes

Revamp the manpage building

7 years agoMerge pull request #4791 from rgacogne/rawlabels-cleanup
Pieter Lexis [Wed, 21 Dec 2016 08:18:40 +0000 (09:18 +0100)] 
Merge pull request #4791 from rgacogne/rawlabels-cleanup

Auth: Cleanup `DNSName::getRawLabels()` usage

7 years agoMerge pull request #4793 from pieterlexis/openbsd-hostname
Pieter Lexis [Wed, 21 Dec 2016 08:18:25 +0000 (09:18 +0100)] 
Merge pull request #4793 from pieterlexis/openbsd-hostname

Don't call `hostname -f` on openbsd

7 years agoDocument wildcards for the API 4800/head
Pieter Lexis [Tue, 20 Dec 2016 19:08:42 +0000 (20:08 +0100)] 
Document wildcards for the API

7 years agoDocument TSIG commands in pdnsutil
Pieter Lexis [Tue, 20 Dec 2016 18:24:52 +0000 (19:24 +0100)] 
Document TSIG commands in pdnsutil

7 years agoDescribe more migration methods
Pieter Lexis [Tue, 20 Dec 2016 17:49:54 +0000 (18:49 +0100)] 
Describe more migration methods

7 years agodnsdist: Add `DNSAction.Refused` to the documentation
Remi Gacogne [Tue, 20 Dec 2016 13:33:59 +0000 (14:33 +0100)] 
dnsdist: Add `DNSAction.Refused` to the documentation

Reported by @rygl (thanks!).

7 years agoMerge pull request #4781 from zeha/api-comment-zero-ttl
Pieter Lexis [Tue, 20 Dec 2016 12:36:48 +0000 (13:36 +0100)] 
Merge pull request #4781 from zeha/api-comment-zero-ttl

API: correctly take TTL from first record even if we are at the last comment

7 years agoMerge pull request #4777 from pieterlexis/issue-4771
Pieter Lexis [Tue, 20 Dec 2016 12:36:34 +0000 (13:36 +0100)] 
Merge pull request #4777 from pieterlexis/issue-4771

Only delegate if NS's are below apex in auth-zones

7 years agoMerge pull request #4774 from pieterlexis/document-systemd-unit-edit
Pieter Lexis [Tue, 20 Dec 2016 12:36:11 +0000 (13:36 +0100)] 
Merge pull request #4774 from pieterlexis/document-systemd-unit-edit

Document disable-syslog intereaction with systemd

7 years agofix SOA record in HOWTO
bert hubert [Tue, 20 Dec 2016 10:40:33 +0000 (11:40 +0100)] 
fix SOA record in HOWTO

7 years agoMerge pull request #4623 from rgacogne/rec-tcp-rfc7766-section10
Remi Gacogne [Tue, 20 Dec 2016 08:50:32 +0000 (09:50 +0100)] 
Merge pull request #4623 from rgacogne/rec-tcp-rfc7766-section10

rec: Add TCP management options described in section 10 of rfc7766

7 years agoauth: Add TCP management options described in section 10 of rfc7766 4624/head
Remi Gacogne [Mon, 19 Sep 2016 15:09:35 +0000 (17:09 +0200)] 
auth: Add TCP management options described in section 10 of rfc7766
* max-tcp-connection-duration
* max-tcp-connections-per-client
* max-tcp-transactions-per-conn
* tcp-idle-timeout

7 years agoMerge pull request #4758 from rgacogne/rec-dq-on-stack
Remi Gacogne [Tue, 20 Dec 2016 08:45:23 +0000 (09:45 +0100)] 
Merge pull request #4758 from rgacogne/rec-dq-on-stack

rec: Allocate the DNSQuestion `dq` object on the stack

7 years agoMerge pull request #4784 from rgacogne/dnsdist-doc-first-available
Remi Gacogne [Tue, 20 Dec 2016 08:40:00 +0000 (09:40 +0100)] 
Merge pull request #4784 from rgacogne/dnsdist-doc-first-available

dnsdist: Fix the `firstAvailable` policy description

7 years agoMerge pull request #4783 from rgacogne/atomic-powerpc
Remi Gacogne [Tue, 20 Dec 2016 08:27:09 +0000 (09:27 +0100)] 
Merge pull request #4783 from rgacogne/atomic-powerpc

Add -latomic on powerpc

7 years agoRPZ: log additions/removals at degug, not info 4794/head
Pieter Lexis [Mon, 19 Dec 2016 17:30:49 +0000 (18:30 +0100)] 
RPZ: log additions/removals at degug, not info

7 years agoUnconfuse the RPZ summary
Pieter Lexis [Mon, 19 Dec 2016 17:20:47 +0000 (18:20 +0100)] 
Unconfuse the RPZ summary

Closes #4342

7 years agoDon't call `hostname -f` on openbsd 4793/head
Pieter Lexis [Mon, 19 Dec 2016 17:02:24 +0000 (18:02 +0100)] 
Don't call `hostname -f` on openbsd

Closes #2579

7 years agoAuth: Cleanup `DNSName::getRawLabels()` usage 4791/head
Remi Gacogne [Mon, 19 Dec 2016 16:43:18 +0000 (17:43 +0100)] 
Auth: Cleanup `DNSName::getRawLabels()` usage

No real issue I'm aware of, but it's cleaner that way.

7 years agoRevamp the manpage building 4790/head
Pieter Lexis [Mon, 19 Dec 2016 15:55:12 +0000 (16:55 +0100)] 
Revamp the manpage building

* Always dist the relevant manpages
* Don't build tools manpages is configured with `--disable-tools`
  (Closes #4643)
* Don't remove manpages if they cannot be rebuilt (Closes #3306)

7 years agorec: Don't choke on escaped content in getZoneCuts() 4789/head
Remi Gacogne [Mon, 19 Dec 2016 15:27:14 +0000 (16:27 +0100)] 
rec: Don't choke on escaped content in getZoneCuts()

`getZoneCuts()` was constructing a `DNSName` by passing a raw label returned
from `DNSName::getRawLabels()` as a string. The constructor then tried to handle
escaped characters from the string, resulting in a different `DNSName` than the
expected one. This caused the `qname != begin` condition to be false even after
every label in `labelsToAdd` had been added, causing an UB by calling
`std::vector::back()` on an empty vector.
Using `DNSName::prependRawLabel()` instead prevents this issue since the string is
not escaped.

7 years agoMerge pull request #3869 from rgacogne/rec-outgoing-protobuf
Remi Gacogne [Mon, 19 Dec 2016 13:29:34 +0000 (14:29 +0100)] 
Merge pull request #3869 from rgacogne/rec-outgoing-protobuf

rec: Log outgoing queries / incoming responses via protobuf

7 years agodnsdist: Fix the `firstAvailable` policy description 4784/head
Remi Gacogne [Mon, 19 Dec 2016 08:58:53 +0000 (09:58 +0100)] 
dnsdist: Fix the `firstAvailable` policy description

It doesn't use the server's `order`, except when falling back to
`leastOutstanding`.

7 years agoAdd -latomic on powerpc 4783/head
Remi Gacogne [Sun, 18 Dec 2016 15:03:47 +0000 (16:03 +0100)] 
Add -latomic on powerpc

7 years agoAPI: correctly take TTL from first record even if we are at the last comment 4781/head
Christian Hofstaedtler [Sat, 17 Dec 2016 16:43:46 +0000 (17:43 +0100)] 
API: correctly take TTL from first record even if we are at the last comment

Fixes #4766.

7 years agoAPI: Add test demonstrating issue #4766
Christian Hofstaedtler [Sat, 17 Dec 2016 16:17:20 +0000 (17:17 +0100)] 
API: Add test demonstrating issue #4766

7 years agoMerge pull request #4539 from pieterlexis/remove-unused-var
Pieter Lexis [Fri, 16 Dec 2016 17:43:28 +0000 (18:43 +0100)] 
Merge pull request #4539 from pieterlexis/remove-unused-var

Remove 'kind' param in DNSBackend::getDomainKeys

7 years agorec: only delegate if NS's are below apex in auth-zones 4777/head
Pieter Lexis [Fri, 16 Dec 2016 14:24:13 +0000 (15:24 +0100)] 
rec: only delegate if NS's are below apex in auth-zones

As:
 1. we **are** authoritative for the zone named at the apex
 2. We would servfail because we could get an upward referral

Closes #4771

7 years agoDocument disable-syslog intereaction with systemd 4774/head
Pieter Lexis [Fri, 16 Dec 2016 13:24:39 +0000 (14:24 +0100)] 
Document disable-syslog intereaction with systemd

See #4713 for context

7 years agoMerge pull request #4744 from rgacogne/handle-closesocket-excp
Pieter Lexis [Fri, 16 Dec 2016 11:39:17 +0000 (12:39 +0100)] 
Merge pull request #4744 from rgacogne/handle-closesocket-excp

Handle exceptions raised by `closesocket()`

7 years agorec: Wait until after daemonizing to start the outgoing protobuf thread 3869/head
Remi Gacogne [Fri, 16 Dec 2016 09:40:55 +0000 (10:40 +0100)] 
rec: Wait until after daemonizing to start the outgoing protobuf thread

7 years agorec: Log outgoing queries / incoming responses via protobuf
Remi Gacogne [Fri, 4 Nov 2016 16:28:22 +0000 (17:28 +0100)] 
rec: Log outgoing queries / incoming responses via protobuf

7 years agoMerge pull request #4584 from tuxis-ie/pdnsutil-account
Pieter Lexis [Fri, 16 Dec 2016 08:50:56 +0000 (09:50 +0100)] 
Merge pull request #4584 from tuxis-ie/pdnsutil-account

Allow setting the account of a zone via pdnsutil

7 years agoMerge pull request #4627 from tuxis-ie/clearify-soa-edit-api-doc
Pieter Lexis [Fri, 16 Dec 2016 08:39:22 +0000 (09:39 +0100)] 
Merge pull request #4627 from tuxis-ie/clearify-soa-edit-api-doc

Add link to options of SOA-EDIT-API

7 years agoMerge pull request #4767 from Habbie/rpz-hidettl
Pieter Lexis [Fri, 16 Dec 2016 08:38:16 +0000 (09:38 +0100)] 
Merge pull request #4767 from Habbie/rpz-hidettl

hide ttl in RPZ tests to avoid random failures

7 years agoMerge pull request #4772 from pieterlexis/dnsdist-contrib-init
Pieter Lexis [Fri, 16 Dec 2016 08:38:02 +0000 (09:38 +0100)] 
Merge pull request #4772 from pieterlexis/dnsdist-contrib-init

Fix dnsdist initscript config check

7 years agoFix dnsdist initscript config check 4772/head
Pieter Lexis [Thu, 15 Dec 2016 12:53:35 +0000 (13:53 +0100)] 
Fix dnsdist initscript config check

7 years agoMerge pull request #4769 from rgacogne/rec-init-rcode-before-preresolve
Remi Gacogne [Thu, 15 Dec 2016 09:29:56 +0000 (10:29 +0100)] 
Merge pull request #4769 from rgacogne/rec-init-rcode-before-preresolve

rec: Set the result to NoError before calling `preresolve`

7 years agorec: Clean up a weird construct left over from the shared_ptr -> stack move 4758/head
Remi Gacogne [Thu, 15 Dec 2016 09:23:04 +0000 (10:23 +0100)] 
rec: Clean up a weird construct left over from the shared_ptr -> stack move

7 years agoMerge pull request #4759 from rgacogne/dnsdist-110-beta2-changelog
Remi Gacogne [Wed, 14 Dec 2016 11:41:55 +0000 (12:41 +0100)] 
Merge pull request #4759 from rgacogne/dnsdist-110-beta2-changelog

dnsdist: Update ChangeLog for 1.1.0-beta2

7 years agodnsdist: Add #4748 to the ChangeLog 4759/head
Remi Gacogne [Wed, 14 Dec 2016 11:02:12 +0000 (12:02 +0100)] 
dnsdist: Add #4748 to the ChangeLog

7 years agoMerge pull request #4748 from rgacogne/dnsdist-cache-cleaning-percentage dnsdist-1.1.0-beta2
Remi Gacogne [Wed, 14 Dec 2016 11:00:33 +0000 (12:00 +0100)] 
Merge pull request #4748 from rgacogne/dnsdist-cache-cleaning-percentage

dnsdist: Add `setCacheCleaningPercentage()`

7 years agodnsdist: Add #4764 and #4765 to the beta2 ChangeLog
Remi Gacogne [Wed, 14 Dec 2016 09:58:36 +0000 (10:58 +0100)] 
dnsdist: Add #4764 and #4765 to the beta2 ChangeLog

7 years agoMerge pull request #4764 from rgacogne/dnsdist-tcp-workers-vect-race
Remi Gacogne [Wed, 14 Dec 2016 09:53:25 +0000 (10:53 +0100)] 
Merge pull request #4764 from rgacogne/dnsdist-tcp-workers-vect-race

dnsdist: Prevent race while creating new TCP worker threads

7 years agoMerge pull request #4765 from pieterlexis/dnsdist-improvements
Remi Gacogne [Wed, 14 Dec 2016 09:52:33 +0000 (10:52 +0100)] 
Merge pull request #4765 from pieterlexis/dnsdist-improvements

DNSDist: some service improvements

7 years agorec: Set the result to NoError before calling `preresolve` 4769/head
Remi Gacogne [Tue, 13 Dec 2016 15:21:17 +0000 (16:21 +0100)] 
rec: Set the result to NoError before calling `preresolve`

Otherwise `rq.rcode` needs to be set explicitly when handling the
query from `preresolve`, which is not documented and wasn't the case
before.

7 years agohide ttl in RPZ tests to avoid random failures 4767/head
Peter van Dijk [Tue, 13 Dec 2016 13:35:07 +0000 (14:35 +0100)] 
hide ttl in RPZ tests to avoid random failures

7 years agoMerge pull request #4751 from zeha/api-decline-mixed-ns
Peter van Dijk [Tue, 13 Dec 2016 12:37:21 +0000 (13:37 +0100)] 
Merge pull request #4751 from zeha/api-decline-mixed-ns

API: prevent sending nameservers list and zone-level NS in rrsets

7 years agoMerge pull request #4763 from desec-io/master
Peter van Dijk [Tue, 13 Dec 2016 11:24:16 +0000 (12:24 +0100)] 
Merge pull request #4763 from desec-io/master

Extended pdns_control man page: pdns_control notify *

7 years agodnsdist: check config before starting 4765/head
Pieter Lexis [Tue, 13 Dec 2016 10:11:25 +0000 (11:11 +0100)] 
dnsdist: check config before starting

7 years agodnsdist: Ignore file created by autoreconf
Pieter Lexis [Tue, 13 Dec 2016 10:07:25 +0000 (11:07 +0100)] 
dnsdist: Ignore file created by autoreconf