]> granicus.if.org Git - pdns/log
pdns
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 agoimprove comment on getaddrinfo
bert hubert [Wed, 4 Jan 2017 21:39:06 +0000 (22:39 +0100)]
improve comment on getaddrinfo

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
Remi Gacogne [Thu, 29 Dec 2016 11:21:40 +0000 (12:21 +0100)]
dnsdist: Update ChangeLog for 1.1.0

7 years agodnsdist: Check that cached responses are >= sizeof(dnsheader)
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 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 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
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 agoDon't call `hostname -f` on openbsd
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
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
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()
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
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
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
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
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
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
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
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
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
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`
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
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
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

7 years agoExtended pdns_control man page
Nils Wisiol [Mon, 12 Dec 2016 20:08:22 +0000 (21:08 +0100)]
Extended pdns_control man page

7 years agodnsdist: Check the vector capacity before creating the TCP worker thread
Remi Gacogne [Tue, 13 Dec 2016 09:35:10 +0000 (10:35 +0100)]
dnsdist: Check the vector capacity before creating the TCP worker thread

7 years agodnsdist: document --check-config in --help
Pieter Lexis [Tue, 13 Dec 2016 08:49:29 +0000 (09:49 +0100)]
dnsdist: document --check-config in --help

7 years agoMerge pull request #4760 from rgacogne/remote-logger-set-invalid-on-close
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

7 years agodnsdist: Add #4541 to the ChangeLog
Remi Gacogne [Mon, 12 Dec 2016 16:28:55 +0000 (17:28 +0100)]
dnsdist: Add #4541 to the ChangeLog

7 years agoMerge pull request #4541 from rgacogne/fix-suffix-match-tree
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

7 years agoSuffixMatchNode: Fix insertion issue for an existing node
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.

7 years agodnsdist: Prevent race while creating new TCP worker threads
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.

7 years agoSet `RemoteLogger::d_socket` to -1 after closing it
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()`.

7 years agodnsdist: Update ChangeLog for 1.1.0-beta2
Remi Gacogne [Mon, 12 Dec 2016 10:00:56 +0000 (11:00 +0100)]
dnsdist: Update ChangeLog for 1.1.0-beta2

7 years agorec: Allocate the DNSQuestion `dq` object on the stack
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.

7 years agoMerge pull request #4753 from rgacogne/dnsdist-tcp-fixes
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

7 years agodnsdist: Don't leak a FD if the TCP connection to the backend fails
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

7 years agodnsdist: Better handling of failures during TCP worker thread creation
Remi Gacogne [Fri, 9 Dec 2016 16:08:04 +0000 (17:08 +0100)]
dnsdist: Better handling of failures during TCP worker thread creation

7 years agoRemove 'kind' param in DNSBackend::getDomainKeys
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

7 years agoMerge pull request #4566 from pieterlexis/dnsheader-in-dnsquestion
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

7 years agoFix indenting in recursor scripting docs
Pieter Lexis [Thu, 13 Oct 2016 16:05:01 +0000 (18:05 +0200)]
Fix indenting in recursor scripting docs

7 years agoExpose EDNS Flags to Lua
Pieter Lexis [Thu, 13 Oct 2016 16:04:25 +0000 (18:04 +0200)]
Expose EDNS Flags to Lua

Closes #4531

7 years agoLua: Give access to the dnsheader
Pieter Lexis [Thu, 13 Oct 2016 16:03:37 +0000 (18:03 +0200)]
Lua: Give access to the dnsheader

7 years agoMerge pull request #4638 from rgacogne/auth-bindbackend-zoneid-lookup
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

7 years agoMerge pull request #4684 from hlindqvist/clarify-activate-tsig
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

7 years agoMerge pull request #4686 from rgacogne/calidns-not-enough-queries-crash
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

7 years agoMerge pull request #4715 from rgacogne/dnsmessage-proto-set-version-2
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

7 years agoMerge pull request #4724 from rgacogne/rec-lua-thread-id
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

7 years agoAPI: prevent sending nameservers list and zone-level NS in rrsets
Christian Hofstaedtler [Fri, 15 Jul 2016 14:08:21 +0000 (16:08 +0200)]
API: prevent sending nameservers list and zone-level NS in rrsets

7 years agoAdd documentation in the manpage
Mark Schouten [Thu, 8 Dec 2016 14:05:24 +0000 (15:05 +0100)]
Add documentation in the manpage

7 years agoRemove useless 'meta'
Mark Schouten [Tue, 18 Oct 2016 14:12:19 +0000 (16:12 +0200)]
Remove useless 'meta'

7 years agoAllow setting the account of a zone via pdnsutil
Mark Schouten [Tue, 18 Oct 2016 13:51:36 +0000 (15:51 +0200)]
Allow setting the account of a zone via pdnsutil

7 years agoMerge pull request #4564 from rgacogne/rec-public-dnsquestion
Peter van Dijk [Thu, 8 Dec 2016 14:09:47 +0000 (15:09 +0100)]
Merge pull request #4564 from rgacogne/rec-public-dnsquestion

rec: Pass a `DNSQuestion` object to Lua hooks

7 years agoMerge pull request #4749 from Habbie/test-counters-latency
Peter van Dijk [Thu, 8 Dec 2016 12:05:40 +0000 (13:05 +0100)]
Merge pull request #4749 from Habbie/test-counters-latency

remove unreliable `latency` variable from counters test

7 years agoMerge pull request #4746 from rgacogne/auth-pdnsutil-coverity-1366826
Peter van Dijk [Thu, 8 Dec 2016 12:05:30 +0000 (13:05 +0100)]
Merge pull request #4746 from rgacogne/auth-pdnsutil-coverity-1366826

auth: Fix coverity warning in `pdnsutil show-zone`

7 years agoMerge pull request #4535 from rgacogne/dnsdist-lua-do
Remi Gacogne [Thu, 8 Dec 2016 11:15:13 +0000 (12:15 +0100)]
Merge pull request #4535 from rgacogne/dnsdist-lua-do

dnsdist: Add `DNSQuestion:getDO()`

7 years agoMerge pull request #4702 from rgacogne/dnsdist-udp-timeout
Remi Gacogne [Thu, 8 Dec 2016 09:09:28 +0000 (10:09 +0100)]
Merge pull request #4702 from rgacogne/dnsdist-udp-timeout

dnsdist: Add `setUDPTimeout(n)`

7 years agoMerge pull request #4726 from rgacogne/dnsdist-servfail-no-server
Remi Gacogne [Thu, 8 Dec 2016 09:09:04 +0000 (10:09 +0100)]
Merge pull request #4726 from rgacogne/dnsdist-servfail-no-server

dnsdist: Add an option to return ServFail when no server is available

7 years agoMerge pull request #4743 from rgacogne/dnsdist-client-bpf
Remi Gacogne [Thu, 8 Dec 2016 09:07:10 +0000 (10:07 +0100)]
Merge pull request #4743 from rgacogne/dnsdist-client-bpf

dnsdist: Ignore newBPFFilter() and newDynBPFFilter() in client mode

7 years agoremove unreliable `latency` variable from counters test
Peter van Dijk [Tue, 6 Dec 2016 15:56:55 +0000 (16:56 +0100)]
remove unreliable `latency` variable from counters test

7 years agoMerge pull request #4745 from Habbie/showrule-plural
Peter van Dijk [Tue, 6 Dec 2016 15:45:59 +0000 (16:45 +0100)]
Merge pull request #4745 from Habbie/showrule-plural

add missing letter, plus format

7 years agoadd missing letter, plus format
Peter van Dijk [Tue, 6 Dec 2016 09:53:35 +0000 (10:53 +0100)]
add missing letter, plus format