]>
granicus.if.org Git - pdns/log
grin [Tue, 10 Jan 2017 10:36:06 +0000 (11:36 +0100)]
Typo fix
grin [Tue, 10 Jan 2017 09:38:56 +0000 (10:38 +0100)]
Document that carbon-server requires IP address, no hostname accepted.
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*`
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
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
Remi Gacogne [Mon, 9 Jan 2017 09:24:08 +0000 (10:24 +0100)]
jdnssec-tools 0.13 has been released
Remi Gacogne [Thu, 5 Jan 2017 09:47:20 +0000 (10:47 +0100)]
dnsdist: Clarify docs: `maintenance()`, cache memory usage and `exceed*`
Remi Gacogne [Thu, 5 Jan 2017 08:48:26 +0000 (09:48 +0100)]
dnsdist: Update the website's frontage for 1.1.0
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
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
bert hubert [Wed, 4 Jan 2017 21:39:06 +0000 (22:39 +0100)]
improve comment on getaddrinfo
Kees Monshouwer [Mon, 2 Jan 2017 15:23:41 +0000 (16:23 +0100)]
add required unbound version to the ent-asterisk test description
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
Christian Hofstaedtler [Sat, 31 Dec 2016 14:27:21 +0000 (15:27 +0100)]
dnsdist docs: make sidebar scrollable
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
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
Remi Gacogne [Thu, 29 Dec 2016 11:21:40 +0000 (12:21 +0100)]
dnsdist: Update ChangeLog for 1.1.0
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.
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.
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
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
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
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
Remi Gacogne [Fri, 23 Dec 2016 09:25:45 +0000 (10:25 +0100)]
dnsdist: Handle Refused as ServFail in the packet cache
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.
bert hubert [Wed, 21 Dec 2016 08:51:38 +0000 (09:51 +0100)]
make it less wrong
bert hubert [Wed, 21 Dec 2016 08:48:27 +0000 (09:48 +0100)]
talks about 3.0
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()
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
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
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
Remi Gacogne [Tue, 20 Dec 2016 13:33:59 +0000 (14:33 +0100)]
dnsdist: Add `DNSAction.Refused` to the documentation
Reported by @rygl (thanks!).
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
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
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
bert hubert [Tue, 20 Dec 2016 10:40:33 +0000 (11:40 +0100)]
fix SOA record in HOWTO
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
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
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
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
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
Pieter Lexis [Mon, 19 Dec 2016 17:02:24 +0000 (18:02 +0100)]
Don't call `hostname -f` on openbsd
Closes #2579
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.
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)
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.
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
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`.
Remi Gacogne [Sun, 18 Dec 2016 15:03:47 +0000 (16:03 +0100)]
Add -latomic on powerpc
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.
Christian Hofstaedtler [Sat, 17 Dec 2016 16:17:20 +0000 (17:17 +0100)]
API: Add test demonstrating issue #4766
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
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
Pieter Lexis [Fri, 16 Dec 2016 13:24:39 +0000 (14:24 +0100)]
Document disable-syslog intereaction with systemd
See #4713 for context
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()`
Remi Gacogne [Fri, 16 Dec 2016 09:40:55 +0000 (10:40 +0100)]
rec: Wait until after daemonizing to start the outgoing protobuf thread
Remi Gacogne [Fri, 4 Nov 2016 16:28:22 +0000 (17:28 +0100)]
rec: Log outgoing queries / incoming responses via protobuf
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
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
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
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
Pieter Lexis [Thu, 15 Dec 2016 12:53:35 +0000 (13:53 +0100)]
Fix dnsdist initscript config check
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`
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
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
Remi Gacogne [Wed, 14 Dec 2016 11:02:12 +0000 (12:02 +0100)]
dnsdist: Add #4748 to the ChangeLog
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()`
Remi Gacogne [Wed, 14 Dec 2016 09:58:36 +0000 (10:58 +0100)]
dnsdist: Add #4764 and #4765 to the beta2 ChangeLog
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
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
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.
Peter van Dijk [Tue, 13 Dec 2016 13:35:07 +0000 (14:35 +0100)]
hide ttl in RPZ tests to avoid random failures
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
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 *
Pieter Lexis [Tue, 13 Dec 2016 10:11:25 +0000 (11:11 +0100)]
dnsdist: check config before starting
Pieter Lexis [Tue, 13 Dec 2016 10:07:25 +0000 (11:07 +0100)]
dnsdist: Ignore file created by autoreconf
Nils Wisiol [Mon, 12 Dec 2016 20:08:22 +0000 (21:08 +0100)]
Extended pdns_control man page
Remi Gacogne [Tue, 13 Dec 2016 09:35:10 +0000 (10:35 +0100)]
dnsdist: Check the vector capacity before creating the TCP worker thread
Pieter Lexis [Tue, 13 Dec 2016 08:49:29 +0000 (09:49 +0100)]
dnsdist: document --check-config in --help
Remi Gacogne [Tue, 13 Dec 2016 08:41:08 +0000 (09:41 +0100)]
Merge pull request #4760 from rgacogne/remote-logger-set-invalid-on-close
Set `RemoteLogger::d_socket` to -1 after closing it
Remi Gacogne [Mon, 12 Dec 2016 16:28:55 +0000 (17:28 +0100)]
dnsdist: Add #4541 to the ChangeLog
Remi Gacogne [Mon, 12 Dec 2016 16:22:00 +0000 (17:22 +0100)]
Merge pull request #4541 from rgacogne/fix-suffix-match-tree
dnsdist: Fix insertion issues in SuffixMatchTree, move it to dnsname.hh
Remi Gacogne [Mon, 12 Dec 2016 16:16:11 +0000 (17:16 +0100)]
SuffixMatchNode: Fix insertion issue for an existing node
If the node we are about to insert already existed as an intermediary
one, we need to mark it as an end node.
Remi Gacogne [Mon, 12 Dec 2016 15:28:17 +0000 (16:28 +0100)]
dnsdist: Prevent race while creating new TCP worker threads
We try very hard to avoid using locks, but we need to prevent two
threads inserting into the TCP workers vector concurrently. While
this can't happen at runtime since the healthcheck thread is the
only one calling `g_tcpclientthreads->addTCPClientThread()`, this
might happen at startup time because we start the TCP acceptor
threads one after another and they all call it once.
This might result, for example, in one vector entry being overwritten
and another one remaining value-initialized to zero.
Remi Gacogne [Mon, 12 Dec 2016 11:20:32 +0000 (12:20 +0100)]
Set `RemoteLogger::d_socket` to -1 after closing it
Otherwise, in the unlikely case `SSocket()` throws an exception
we might end up with a stale file descriptor in `RemoteLogger::reconnect()`.
Remi Gacogne [Mon, 12 Dec 2016 10:00:56 +0000 (11:00 +0100)]
dnsdist: Update ChangeLog for 1.1.0-beta2
Remi Gacogne [Mon, 12 Dec 2016 09:04:13 +0000 (10:04 +0100)]
rec: Allocate the DNSQuestion `dq` object on the stack
We don't need to allocate a `shared_ptr` for each query.
Remi Gacogne [Mon, 12 Dec 2016 08:18:02 +0000 (09:18 +0100)]
Merge pull request #4753 from rgacogne/dnsdist-tcp-fixes
dnsdist: Fix FD leak on TCP connection failure, handle TCP worker creation failure
Remi Gacogne [Fri, 9 Dec 2016 16:09:25 +0000 (17:09 +0100)]
dnsdist: Don't leak a FD if the TCP connection to the backend fails
Remi Gacogne [Fri, 9 Dec 2016 16:08:04 +0000 (17:08 +0100)]
dnsdist: Better handling of failures during TCP worker thread creation
Pieter Lexis [Wed, 5 Oct 2016 14:48:00 +0000 (16:48 +0200)]
Remove 'kind' param in DNSBackend::getDomainKeys
It was unused anyway. Closes #4493
Pieter Lexis [Fri, 9 Dec 2016 13:53:54 +0000 (14:53 +0100)]
Merge pull request #4566 from pieterlexis/dnsheader-in-dnsquestion
DNS Header and EDNS Flag access for Lua
Pieter Lexis [Thu, 13 Oct 2016 16:05:01 +0000 (18:05 +0200)]
Fix indenting in recursor scripting docs
Pieter Lexis [Thu, 13 Oct 2016 16:04:25 +0000 (18:04 +0200)]
Expose EDNS Flags to Lua
Closes #4531
Pieter Lexis [Thu, 13 Oct 2016 16:03:37 +0000 (18:03 +0200)]
Lua: Give access to the dnsheader
Pieter Lexis [Fri, 9 Dec 2016 08:59:23 +0000 (09:59 +0100)]
Merge pull request #4638 from rgacogne/auth-bindbackend-zoneid-lookup
auth: In `Bind2Backend::lookup()`, use the `zoneId` when we have it
Pieter Lexis [Fri, 9 Dec 2016 08:58:37 +0000 (09:58 +0100)]
Merge pull request #4684 from hlindqvist/clarify-activate-tsig
Clarify pdnsutil activate-tsig-key description
Pieter Lexis [Fri, 9 Dec 2016 08:58:09 +0000 (09:58 +0100)]
Merge pull request #4686 from rgacogne/calidns-not-enough-queries-crash
calidns: Don't crash if we don't have enough 'unknown' queries remaining
Pieter Lexis [Fri, 9 Dec 2016 08:57:09 +0000 (09:57 +0100)]
Merge pull request #4715 from rgacogne/dnsmessage-proto-set-version-2
Specify that dnsmessage.proto uses protobuf version 2
Pieter Lexis [Fri, 9 Dec 2016 08:56:49 +0000 (09:56 +0100)]
Merge pull request #4724 from rgacogne/rec-lua-thread-id
rec: Add `getRecursorThreadId()` to Lua, identifying the current thread
Christian Hofstaedtler [Fri, 15 Jul 2016 14:08:21 +0000 (16:08 +0200)]
API: prevent sending nameservers list and zone-level NS in rrsets