]> granicus.if.org Git - pdns/log
pdns
8 years agoImplements 'return id of added key' for gsqlite3
Benjamin Zengin [Tue, 5 Jul 2016 09:49:59 +0000 (11:49 +0200)]
Implements 'return id of added key' for gsqlite3

8 years agoImplements 'return id of added key' for godbc
Benjamin Zengin [Tue, 5 Jul 2016 09:49:37 +0000 (11:49 +0200)]
Implements 'return id of added key' for godbc

8 years agoImplements 'return id of added key' for gpgsql
Benjamin Zengin [Tue, 5 Jul 2016 09:49:15 +0000 (11:49 +0200)]
Implements 'return id of added key' for gpgsql

8 years agoImplements 'return id of added key' for gmysql
Benjamin Zengin [Tue, 5 Jul 2016 09:48:52 +0000 (11:48 +0200)]
Implements 'return id of added key' for gmysql

8 years agogsqlbackend: Adds query to return id of added key
Benjamin Zengin [Tue, 5 Jul 2016 09:48:28 +0000 (11:48 +0200)]
gsqlbackend: Adds query to return id of added key

8 years agoUpdates documentation for addDomainKey, pdnsutil
Benjamin Zengin [Tue, 5 Jul 2016 09:39:46 +0000 (11:39 +0200)]
Updates documentation for addDomainKey, pdnsutil

8 years agoUpdate addKey in dnsseckeeper (Closes #706)
Benjamin Zengin [Tue, 5 Jul 2016 10:17:32 +0000 (12:17 +0200)]
Update addKey in dnsseckeeper (Closes #706)
- Let addKey return the id of the added key
- pdnsutil 'add-zone-key' prints it
- pdnsutil 'import-zone-key' prints it
- pdnsutil 'import-zone-key-pem' prints it

8 years agoMerge pull request #4289 from tuxis-ie/fix-api-documentation
Pieter Lexis [Mon, 5 Sep 2016 21:07:35 +0000 (23:07 +0200)]
Merge pull request #4289 from tuxis-ie/fix-api-documentation

Add documentation on searching data via the API

8 years agoMerge pull request #4370 from hnsk/pdnsutil-change-slave-zone-master
Pieter Lexis [Mon, 5 Sep 2016 14:44:00 +0000 (16:44 +0200)]
Merge pull request #4370 from hnsk/pdnsutil-change-slave-zone-master

pdnsutil: Added change-slave-zone-master command

8 years agoMerge pull request #4371 from hnsk/pdnsutil-create-slave-zone-multiple-masters
Pieter Lexis [Mon, 5 Sep 2016 14:43:45 +0000 (16:43 +0200)]
Merge pull request #4371 from hnsk/pdnsutil-create-slave-zone-multiple-masters

pdnsutil: create-slave-zone accept multiple masters

8 years agoMerge pull request #4093 from ydns/v4.0.x/api-domainmetadata
Pieter Lexis [Mon, 5 Sep 2016 14:43:00 +0000 (16:43 +0200)]
Merge pull request #4093 from ydns/v4.0.x/api-domainmetadata

Added metadata handlers for HTTP API

8 years agoMerge pull request #4407 from zeha/warning-types-may-not-be-defined-in-a-for-range...
Pieter Lexis [Mon, 5 Sep 2016 14:06:40 +0000 (16:06 +0200)]
Merge pull request #4407 from zeha/warning-types-may-not-be-defined-in-a-for-range-declaration

Fix warning: types may not be defined in a for-range-declaration

8 years agoMerge pull request #4408 from zeha/auth-web-or-api
Pieter Lexis [Mon, 5 Sep 2016 14:05:51 +0000 (16:05 +0200)]
Merge pull request #4408 from zeha/auth-web-or-api

Authoritative: do not rely on webserver=yes if api=yes

8 years agoUpdate httpapi README
Christian Hofstaedtler [Fri, 2 Sep 2016 20:05:05 +0000 (22:05 +0200)]
Update httpapi README

8 years agoAuthoritative: do not rely on webserver=yes if api=yes
Christian Hofstaedtler [Mon, 5 Sep 2016 13:55:23 +0000 (15:55 +0200)]
Authoritative: do not rely on webserver=yes if api=yes

8 years agodnsdist: Update the man page now that AXFR is supported
Remi Gacogne [Mon, 5 Sep 2016 12:49:22 +0000 (14:49 +0200)]
dnsdist: Update the man page now that AXFR is supported

8 years agoMerge pull request #4058 from cmouse/update-policy-lua
Pieter Lexis [Mon, 5 Sep 2016 11:51:09 +0000 (13:51 +0200)]
Merge pull request #4058 from cmouse/update-policy-lua

Update policy lua

8 years agoMerge pull request #4306 from Habbie/mysqllongtext
Pieter Lexis [Mon, 5 Sep 2016 11:46:07 +0000 (13:46 +0200)]
Merge pull request #4306 from Habbie/mysqllongtext

limit size of mysql cell to 128 kilobytes

8 years agoMerge pull request #4403 from zeha/openssl11final
Pieter Lexis [Mon, 5 Sep 2016 10:52:40 +0000 (12:52 +0200)]
Merge pull request #4403 from zeha/openssl11final

Fix build with OpenSSL 1.1.0 final

8 years agoMerge pull request #4396 from Habbie/recursor-fbsd-boost-context
Pieter Lexis [Mon, 5 Sep 2016 10:18:59 +0000 (12:18 +0200)]
Merge pull request #4396 from Habbie/recursor-fbsd-boost-context

add boost context ldflags so freebsd builds can find the libs

8 years agomake calidns send out rd=0, and half do=1 queries, plus add bandwidth stats
bert hubert [Mon, 5 Sep 2016 09:25:41 +0000 (11:25 +0200)]
make calidns send out rd=0, and half do=1 queries, plus add bandwidth stats

8 years agoBump SOA for #4409
Pieter Lexis [Mon, 5 Sep 2016 09:25:36 +0000 (11:25 +0200)]
Bump SOA for #4409

8 years agoMerge pull request #4409 from zeha/deb8u6
Pieter Lexis [Mon, 5 Sep 2016 09:23:39 +0000 (11:23 +0200)]
Merge pull request #4409 from zeha/deb8u6

Update secpoll data

8 years agoMerge pull request #4404 from pieterlexis/issue-4397-no-dnssec-on-lua
Peter van Dijk [Mon, 5 Sep 2016 08:34:12 +0000 (10:34 +0200)]
Merge pull request #4404 from pieterlexis/issue-4397-no-dnssec-on-lua

Rec: Don't validate when a Lua hook took the query

8 years agoMerge pull request #4388 from rgacogne/rec-rpz-default-policy-ixfr
Peter van Dijk [Mon, 5 Sep 2016 08:33:24 +0000 (10:33 +0200)]
Merge pull request #4388 from rgacogne/rec-rpz-default-policy-ixfr

rec: Fix RPZ default policy not being applied over IXFR

8 years agoMerge pull request #4402 from rgacogne/rpz-ixfr-ns
Peter van Dijk [Mon, 5 Sep 2016 08:32:17 +0000 (10:32 +0200)]
Merge pull request #4402 from rgacogne/rpz-ixfr-ns

rec: Ignore NS records in a RPZ zone received over IXFR

8 years agoMerge pull request #4385 from rgacogne/rec-record-place
Peter van Dijk [Mon, 5 Sep 2016 08:29:30 +0000 (10:29 +0200)]
Merge pull request #4385 from rgacogne/rec-record-place

rec: Add Lua binding for DNSRecord::d_place

8 years agoMerge pull request #4383 from rgacogne/rec-print-policy-name
Peter van Dijk [Mon, 5 Sep 2016 08:27:45 +0000 (10:27 +0200)]
Merge pull request #4383 from rgacogne/rec-print-policy-name

rec: Fix accessing an empty policyCustom, policyName from Lua

8 years agoMerge pull request #4332 from rgacogne/auth-apply-non-local-bind-query
Peter van Dijk [Mon, 5 Sep 2016 08:23:56 +0000 (10:23 +0200)]
Merge pull request #4332 from rgacogne/auth-apply-non-local-bind-query

auth: Apply `non-local-bind` to `query-local-address{,6}` when possible

8 years agoMerge pull request #4391 from pieterlexis/recursor-NTA-at-level-of-TA
Peter van Dijk [Mon, 5 Sep 2016 08:23:03 +0000 (10:23 +0200)]
Merge pull request #4391 from pieterlexis/recursor-NTA-at-level-of-TA

DNSSEC: Actually follow RFC 7646 §2.1

8 years agoMerge pull request #4381 from pieterlexis/query-local-address-before-lua-config-file
Peter van Dijk [Mon, 5 Sep 2016 08:22:08 +0000 (10:22 +0200)]
Merge pull request #4381 from pieterlexis/query-local-address-before-lua-config-file

Parse query-local-address before lua-config-file

8 years agoMerge pull request #4319 from pieterlexis/pipe-SERVFAIL-on-FAIL
Peter van Dijk [Mon, 5 Sep 2016 08:20:21 +0000 (10:20 +0200)]
Merge pull request #4319 from pieterlexis/pipe-SERVFAIL-on-FAIL

pipe: SERVFAIL when needed

8 years agoMerge pull request #4291 from rgacogne/rec-protbuf-only-tagged
Peter van Dijk [Mon, 5 Sep 2016 08:19:30 +0000 (10:19 +0200)]
Merge pull request #4291 from rgacogne/rec-protbuf-only-tagged

rec: Add an option to only send protobuf messages with a policy or tag set

8 years agodnsupdate: Update documentation about update policy
Aki Tuomi [Tue, 28 Jun 2016 07:47:20 +0000 (10:47 +0300)]
dnsupdate: Update documentation about update policy

8 years agodnsupdate: Use automatic numbering for documentation
Aki Tuomi [Tue, 2 Aug 2016 21:34:47 +0000 (00:34 +0300)]
dnsupdate: Use automatic numbering for documentation

8 years agoAdd new lua-auth code with updatePolicy hook
Aki Tuomi [Sun, 26 Jun 2016 16:57:43 +0000 (19:57 +0300)]
Add new lua-auth code with updatePolicy hook

8 years agoUpdate secpoll data
Christian Hofstaedtler [Fri, 2 Sep 2016 20:26:05 +0000 (22:26 +0200)]
Update secpoll data

8 years agoBump version requirement for CRYPTO_ctr128_encrypt
Christian Hofstaedtler [Fri, 2 Sep 2016 19:55:52 +0000 (21:55 +0200)]
Bump version requirement for CRYPTO_ctr128_encrypt

While CRYPTO_ctr128_encrypt should be available in 1.0.1,
apparently in some library builds (Ubuntu) one can not link
against it.

8 years agoFix warning: types may not be defined in a for-range-declaration
Christian Hofstaedtler [Fri, 2 Sep 2016 19:52:36 +0000 (21:52 +0200)]
Fix warning: types may not be defined in a for-range-declaration

As emitted by gcc 6.2.0 20160830 (Debian 6.2.0-2)

8 years agoMerge pull request #4392 from pieterlexis/Lua-scripting-docs
Peter van Dijk [Fri, 2 Sep 2016 15:13:30 +0000 (17:13 +0200)]
Merge pull request #4392 from pieterlexis/Lua-scripting-docs

Docs: add missing functions, fix indents

8 years agoMerge pull request #4394 from pieterlexis/boost-context-1.61
Peter van Dijk [Fri, 2 Sep 2016 15:07:32 +0000 (17:07 +0200)]
Merge pull request #4394 from pieterlexis/boost-context-1.61

Recursor: allow building against Boost 1.61

8 years agoMerge pull request #4405 from pieterlexis/autotools-modules-no
Peter van Dijk [Fri, 2 Sep 2016 15:05:51 +0000 (17:05 +0200)]
Merge pull request #4405 from pieterlexis/autotools-modules-no

Auth: several autoconf cleanups

8 years agoAuth: allow --with-(dyn-)modules=no
Pieter Lexis [Fri, 2 Sep 2016 13:38:47 +0000 (15:38 +0200)]
Auth: allow --with-(dyn-)modules=no

Fixes #4399

8 years agoFix build with OpenSSL 1.1.0 final
Christian Hofstaedtler [Fri, 2 Sep 2016 12:06:35 +0000 (12:06 +0000)]
Fix build with OpenSSL 1.1.0 final

Where aes.h apparently no longer includes opensslv.h.

8 years agoRec: Don't validate when a Lua hook took the query
Pieter Lexis [Fri, 2 Sep 2016 11:49:27 +0000 (13:49 +0200)]
Rec: Don't validate when a Lua hook took the query

This was in place for prequery, but not for nodata and the others.
Thanks to @ZaphodB for the report.

Fixes #4397

8 years agoAdd 3.4.10 to secpoll
Pieter Lexis [Fri, 2 Sep 2016 08:53:57 +0000 (10:53 +0200)]
Add 3.4.10 to secpoll

8 years agorec: Ignore NS records in a RPZ zone received over IXFR
Remi Gacogne [Fri, 2 Sep 2016 07:57:54 +0000 (09:57 +0200)]
rec: Ignore NS records in a RPZ zone received over IXFR

They are already ignored over AXFR, but not over IXFR.
Reported and based on a patch by @42wim (thanks!).

8 years agoAuth: remove unused AC_DEFINE
Pieter Lexis [Fri, 2 Sep 2016 07:32:58 +0000 (09:32 +0200)]
Auth: remove unused AC_DEFINE

8 years agoauth: remove autoconf leftover from before the split
Pieter Lexis [Fri, 2 Sep 2016 07:31:57 +0000 (09:31 +0200)]
auth: remove autoconf leftover from before the split

8 years agoadd boost context ldflags so freebsd builds can find the libs
Peter van Dijk [Thu, 1 Sep 2016 16:20:06 +0000 (18:20 +0200)]
add boost context ldflags so freebsd builds can find the libs

8 years agoMerge pull request #4373 from ahupowerdns/compression-redo
bert hubert [Thu, 1 Sep 2016 14:51:13 +0000 (16:51 +0200)]
Merge pull request #4373 from ahupowerdns/compression-redo

Revamp label compression code which (+ some cleanups) speeds up large packet creation by ~40%

8 years agoMerge pull request #4393 from rgacogne/dnsdist-110-beta-changelog
Pieter Lexis [Thu, 1 Sep 2016 12:48:31 +0000 (14:48 +0200)]
Merge pull request #4393 from rgacogne/dnsdist-110-beta-changelog

dnsdist: Update ChangeLog for 1.1.0-beta1

8 years agodnsdist: Update ChangeLog for 1.1.0-beta1
Remi Gacogne [Thu, 1 Sep 2016 12:34:46 +0000 (14:34 +0200)]
dnsdist: Update ChangeLog for 1.1.0-beta1

8 years agoRec: show context lib in configure output
Pieter Lexis [Thu, 1 Sep 2016 10:35:31 +0000 (12:35 +0200)]
Rec: show context lib in configure output

8 years agoRec: support boost's fcontext in boost 1.61+
Pieter Lexis [Wed, 31 Aug 2016 14:22:57 +0000 (16:22 +0200)]
Rec: support boost's fcontext in boost 1.61+

8 years agoMerge pull request #4346 from mind04/anytotcp dnsdist-1.1.0-beta1
Pieter Lexis [Thu, 1 Sep 2016 09:38:03 +0000 (11:38 +0200)]
Merge pull request #4346 from mind04/anytotcp

change default for any-to-tcp to yes

8 years agoAdd test for NTA at level of TA
Pieter Lexis [Thu, 1 Sep 2016 09:23:35 +0000 (11:23 +0200)]
Add test for NTA at level of TA

8 years agoDNSSEC: Actually follow RFC 7646 §2.1
Pieter Lexis [Thu, 1 Sep 2016 09:04:05 +0000 (11:04 +0200)]
DNSSEC: Actually follow RFC 7646 §2.1

We were off by one when counting labels, so when an NTA was added for a
name where a TA was configured, we would still attempt validation.

Reported by @jpmens

8 years agorec: Fix RPZ default policy not being applied over IXFR
Remi Gacogne [Wed, 31 Aug 2016 15:55:51 +0000 (17:55 +0200)]
rec: Fix RPZ default policy not being applied over IXFR

Reported by @42wim (thanks!).

8 years agorec: Add an option to only send protobuf messages with a policy or tag set
Remi Gacogne [Fri, 26 Aug 2016 13:57:25 +0000 (15:57 +0200)]
rec: Add an option to only send protobuf messages with a policy or tag set

8 years agoMerge pull request #4305 from rgacogne/dnsdist-lua-anon
bert hubert [Wed, 31 Aug 2016 14:48:04 +0000 (16:48 +0200)]
Merge pull request #4305 from rgacogne/dnsdist-lua-anon

dnsdist: Add an optional Lua callback for altering a Protobuf message

8 years agoMerge pull request #4350 from rgacogne/rec-tcp-gettag
bert hubert [Wed, 31 Aug 2016 14:44:05 +0000 (16:44 +0200)]
Merge pull request #4350 from rgacogne/rec-tcp-gettag

rec: Call `gettag()` for TCP queries

8 years agoMerge pull request #4380 from rgacogne/dnsdist-clang-ebpf
bert hubert [Wed, 31 Aug 2016 14:43:40 +0000 (16:43 +0200)]
Merge pull request #4380 from rgacogne/dnsdist-clang-ebpf

dnsdist: Fix compilation with clang when eBPF support is enabled

8 years agoMerge pull request #4387 from pieterlexis/port-overflow
bert hubert [Wed, 31 Aug 2016 14:42:49 +0000 (16:42 +0200)]
Merge pull request #4387 from pieterlexis/port-overflow

ComboAddress: don't allow invalid ports

8 years agoMerge pull request #4379 from sspans/patch-1
bert hubert [Wed, 31 Aug 2016 14:28:25 +0000 (16:28 +0200)]
Merge pull request #4379 from sspans/patch-1

Update notrack rules

8 years agoComboAddress: don't allow invalid ports
Pieter Lexis [Wed, 31 Aug 2016 13:30:30 +0000 (15:30 +0200)]
ComboAddress: don't allow invalid ports

Add tests for this.

Fixes: #4382
8 years agorec: Add Lua binding for DNSRecord::d_place
Remi Gacogne [Wed, 31 Aug 2016 07:54:08 +0000 (09:54 +0200)]
rec: Add Lua binding for DNSRecord::d_place

Also document the members and methods of the DNS Record object.

8 years agorec: Fix accessing an empty policyCustom, policyName from Lua
Remi Gacogne [Tue, 30 Aug 2016 13:27:00 +0000 (15:27 +0200)]
rec: Fix accessing an empty policyCustom, policyName from Lua

Reported by @42wim (thanks!).

8 years agoDocs: add missing functions, fix indents
Pieter Lexis [Tue, 30 Aug 2016 12:55:22 +0000 (14:55 +0200)]
Docs: add missing functions, fix indents

On the recursor scripting page

8 years agopdnsutil: Catch possible PDNSException when doing setMaster in changeSlaveZoneMaster()
Hannu Ylitalo [Tue, 30 Aug 2016 10:58:51 +0000 (13:58 +0300)]
pdnsutil: Catch possible PDNSException when doing setMaster in changeSlaveZoneMaster()

8 years agoParse query-local-address before lua-config-file
Pieter Lexis [Tue, 30 Aug 2016 09:09:38 +0000 (11:09 +0200)]
Parse query-local-address before lua-config-file

@42wim discovered that the query-local-address was not used for the
initial RPZ AXFR. However, it was used in subsequent IXFRs. It appears
that we executed the lua-config-file before checking the
query-local-address(6).

8 years agodnsdist: Fix warnings when compiling with clang
Remi Gacogne [Tue, 30 Aug 2016 08:41:07 +0000 (10:41 +0200)]
dnsdist: Fix warnings when compiling with clang

8 years agoremove hash signs
Sten Spans [Tue, 30 Aug 2016 06:51:04 +0000 (08:51 +0200)]
remove hash signs

As requested by @ahupowerdns, to make copy-pasting easier.

8 years agoUpdate notrack rules
Sten Spans [Tue, 30 Aug 2016 06:42:22 +0000 (08:42 +0200)]
Update notrack rules

* switch from NOTRACK to CT target (deprecated around 2012)
* add output accept for sport 53
* describe firewalld configuration for newer centos/fedora/redhat versions

```
Date: Thu, 20 Dec 2012 12:26:22 +0100
Subject: [PATCH] netfilter: xt_CT: recover NOTRACK target support

Florian Westphal reported that the removal of the NOTRACK target
(9655050 netfilter: remove xt_NOTRACK) is breaking some existing
setups.

That removal was scheduled for removal since long time ago as
described in Documentation/feature-removal-schedule.txt
```

https://patchwork.ozlabs.org/patch/207653/

8 years agodnsdist: Fix compilation with clang when eBPF is enabled
Remi Gacogne [Mon, 29 Aug 2016 15:54:03 +0000 (17:54 +0200)]
dnsdist: Fix compilation with clang when eBPF is enabled

8 years agoMerge pull request #4359 from pieterlexis/doc-fixes
Pieter Lexis [Mon, 29 Aug 2016 15:49:38 +0000 (17:49 +0200)]
Merge pull request #4359 from pieterlexis/doc-fixes

Several documentation fixes

8 years agoMerge pull request #4368 from rgacogne/rec-more-lua-bindings
Pieter Lexis [Mon, 29 Aug 2016 15:49:29 +0000 (17:49 +0200)]
Merge pull request #4368 from rgacogne/rec-more-lua-bindings

rec: Fix doc for ComboAddress/Netmask Lua bindings, add missing ones

8 years agoMerge pull request #4376 from rgacogne/rec-uninit-policy
Pieter Lexis [Mon, 29 Aug 2016 15:49:21 +0000 (17:49 +0200)]
Merge pull request #4376 from rgacogne/rec-uninit-policy

rec: fix the use of an uninitialized filtering policy

8 years agoDocument config-dir in the manpage better
Pieter Lexis [Mon, 29 Aug 2016 13:09:53 +0000 (15:09 +0200)]
Document config-dir in the manpage better

Closes #4372

8 years agorec: document edns-subnet-whitelist
Pieter Lexis [Tue, 23 Aug 2016 15:50:27 +0000 (17:50 +0200)]
rec: document edns-subnet-whitelist

Closes #4275

8 years agoRec: Fully document loglevel
Pieter Lexis [Tue, 23 Aug 2016 15:42:27 +0000 (17:42 +0200)]
Rec: Fully document loglevel

closes #4209

8 years agorec: fix the use of an uninitialized filtering policy
Remi Gacogne [Mon, 29 Aug 2016 09:52:00 +0000 (11:52 +0200)]
rec: fix the use of an uninitialized filtering policy

If `wantsRPZ` is set to false by the `prerpz` hook, `dfepol` might
not be correctly initialized. This leads to `appliedPolicy` not being
either before being passed to `preresolve` and `postresolve`.

Reported by Coverity.

8 years agoMerge pull request #4365 from rgacogne/dnsdist-outstanding-race
Remi Gacogne [Mon, 29 Aug 2016 09:10:54 +0000 (11:10 +0200)]
Merge pull request #4365 from rgacogne/dnsdist-outstanding-race

dnsdist: Reset origFD asap to keep the outstanding count correct

8 years agoMerge pull request #4348 from rgacogne/dnsdist-outstanding-xfr
Remi Gacogne [Mon, 29 Aug 2016 09:10:23 +0000 (11:10 +0200)]
Merge pull request #4348 from rgacogne/dnsdist-outstanding-xfr

dnsdist: Fix invalid outstanding count for {A,I}XFR over TCP

8 years agoMerge pull request #4375 from rgacogne/dnsdist-dynbpf-tuple-rga
Remi Gacogne [Mon, 29 Aug 2016 09:07:02 +0000 (11:07 +0200)]
Merge pull request #4375 from rgacogne/dnsdist-dynbpf-tuple-rga

dnsdist: tuple requires make_tuple to initialize

8 years agoadd test case for domains with more than 34 parts which our static vector can't compr...
bert hubert [Sat, 27 Aug 2016 12:53:54 +0000 (14:53 +0200)]
add test case for domains with more than 34 parts which our static vector can't compress. Plus deal with that case.

8 years agoturns out TSIG signing code was using the DNSPacketWriter in a superspecial way....
bert hubert [Sat, 27 Aug 2016 08:48:35 +0000 (10:48 +0200)]
turns out TSIG signing code was using the DNSPacketWriter in a superspecial way. Fixed now.

8 years agoremove d_record idea from DNSPacketWriter: write the packet directly now. Solves...
bert hubert [Fri, 26 Aug 2016 21:11:48 +0000 (23:11 +0200)]
remove d_record idea from DNSPacketWriter: write the packet directly now. Solves SOA-inter record compression bug. Still left to do: add check for names with more labels than we are prepared to handle. Plus handle that case.

8 years agorename d_positions, remove unused "d_pos"
bert hubert [Fri, 26 Aug 2016 19:26:01 +0000 (21:26 +0200)]
rename d_positions, remove unused "d_pos"

8 years agomoving some include files to prevent clashes of #defines on OSX
bert hubert [Fri, 26 Aug 2016 18:41:19 +0000 (20:41 +0200)]
moving some include files to prevent clashes of #defines on OSX

8 years agothe all new label compression code that is 40% faster even on fast malloc. This commi...
bert hubert [Fri, 26 Aug 2016 15:05:33 +0000 (17:05 +0200)]
the all new label compression code that is 40% faster even on fast malloc. This commit has a bug with compression within records, and it will fail the tests we made for that too.

8 years agoadd a test that verifies (again) that SOA records get good compression of names withi...
bert hubert [Fri, 26 Aug 2016 15:04:53 +0000 (17:04 +0200)]
add a test that verifies (again) that SOA records get good compression of names within themselves. Output easier to interpret than that from test-dnsrecords.

8 years agoa base32 test had a stupid name
bert hubert [Fri, 26 Aug 2016 15:04:30 +0000 (17:04 +0200)]
a base32 test had a stupid name

8 years agodnsparser was using an empty dnsname when it meant to use a root.
bert hubert [Fri, 26 Aug 2016 13:36:54 +0000 (15:36 +0200)]
dnsparser was using an empty dnsname when it meant to use a root.

8 years agosave a ton of DNSName(".") and DNSName("*") instantiations. Even though these live...
bert hubert [Fri, 26 Aug 2016 13:26:10 +0000 (15:26 +0200)]
save a ton of DNSName(".") and DNSName("*") instantiations. Even though these live on the stack, we were going through needless motions.

8 years agoadd pre-made DNSName objects for the root and wildcard. Move DNSName== inline. Revers...
bert hubert [Fri, 26 Aug 2016 13:04:35 +0000 (15:04 +0200)]
add pre-made DNSName objects for the root and wildcard. Move DNSName== inline. Reverse its comparison order.

8 years agoadd some more speedtests
bert hubert [Fri, 26 Aug 2016 11:56:27 +0000 (13:56 +0200)]
add some more speedtests

8 years agoadd a test that checks we compress all the things in packetwriter
bert hubert [Fri, 26 Aug 2016 10:51:05 +0000 (12:51 +0200)]
add a test that checks we compress all the things in packetwriter

8 years agopdnsutil: create-slave-zone accept multiple masters
Hannu Ylitalo [Sat, 27 Aug 2016 08:22:03 +0000 (11:22 +0300)]
pdnsutil: create-slave-zone accept multiple masters

8 years agopdnsutil: Added change-slave-zone-master for changing slave zone master(s)
Hannu Ylitalo [Sat, 27 Aug 2016 08:09:58 +0000 (11:09 +0300)]
pdnsutil: Added change-slave-zone-master for changing slave zone master(s)