]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
9 years agoadd makeUsRelative() to DNSName class
Kees Monshouwer [Sun, 4 Jun 2017 11:12:13 +0000 (13:12 +0200)] 
add makeUsRelative() to DNSName class

9 years agoauth: test to make sure ordername is always lower case
Kees Monshouwer [Sun, 4 Jun 2017 22:47:05 +0000 (00:47 +0200)] 
auth: test to make sure ordername is always lower case

9 years agoMerge pull request #5384 from mind04/feedrecord-dnsname
Peter van Dijk [Mon, 12 Jun 2017 19:07:44 +0000 (21:07 +0200)] 
Merge pull request #5384 from mind04/feedrecord-dnsname

auth: feedRecord() string->DNSName and...

9 years agoaltered postgres schema to match mysql schema 5391/head
Arsen Stasic [Mon, 12 Jun 2017 12:01:30 +0000 (14:01 +0200)] 
altered postgres schema to match mysql schema

mysql uses BIGINT for records id field, with this patch postgres is going to use BIGINT (BIGSERIAL) too

9 years agoAPI: Auth: forbid mixing CNAME and other RRsets 5389/head
Christian Hofstaedtler [Sun, 11 Jun 2017 20:37:37 +0000 (22:37 +0200)] 
API: Auth: forbid mixing CNAME and other RRsets

Fixes #5305.

9 years agoallow listening on IPv6 5387/head
Gibheer [Fri, 9 Jun 2017 07:48:55 +0000 (09:48 +0200)] 
allow listening on IPv6

In IPv6 only environments it is not possible to listen on IPv6 addresses
for the control port.
This change takes a look at the provided IP and changes the connection type
to the correct address family.

9 years agodnsdist: Make a `truncate` action available to DynBlock and Lua 5386/head
Remi Gacogne [Thu, 8 Jun 2017 11:01:17 +0000 (13:01 +0200)] 
dnsdist: Make a `truncate` action available to DynBlock and Lua

9 years agoChange dnsdist stats functions to always return lowercase names 5383/head
Robin Geuze [Tue, 6 Jun 2017 18:27:19 +0000 (20:27 +0200)] 
Change dnsdist stats functions to always return lowercase names

9 years agoFix query in howtos.md doc 5381/head
Kevin Quinn [Tue, 6 Jun 2017 18:00:58 +0000 (14:00 -0400)] 
Fix query in howtos.md doc

I'm not sure if this is a bug in the docs, a bug in pdns, or an old bug
that was fixed. I will open an issue to reference this.

9 years agoAdd the SMIMEA RRType (RFC 8162) 5379/head
Pieter Lexis [Mon, 5 Jun 2017 11:48:24 +0000 (13:48 +0200)] 
Add the SMIMEA RRType (RFC 8162)

9 years agoMake DNSRecordContent::mastermake() return a shared pointer
Remi Gacogne [Sun, 4 Jun 2017 16:48:21 +0000 (18:48 +0200)] 
Make DNSRecordContent::mastermake() return a shared pointer

We almost always wrapped it into one afterward, and had no good reason
not to anyway.

9 years agoMerge pull request #5374 from mind04/tools
Remi Gacogne [Tue, 6 Jun 2017 06:32:17 +0000 (07:32 +0100)] 
Merge pull request #5374 from mind04/tools

auth: build all tools in travis and fix speedtest build

9 years agoauth: reanimate opendbx backend 5384/head
Kees Monshouwer [Mon, 5 Jun 2017 22:21:15 +0000 (00:21 +0200)] 
auth: reanimate opendbx backend

9 years agoauth: fix override in ldap backend
Kees Monshouwer [Mon, 5 Jun 2017 20:48:38 +0000 (22:48 +0200)] 
auth: fix override in ldap backend

9 years agoauth: fix override in lua backend
Kees Monshouwer [Mon, 5 Jun 2017 20:13:16 +0000 (22:13 +0200)] 
auth: fix override in lua backend

9 years agoauth: fix possible uninitalized variable in ldapbackend
Kees Monshouwer [Mon, 5 Jun 2017 20:04:38 +0000 (22:04 +0200)] 
auth: fix possible uninitalized variable in ldapbackend

9 years agoauth: use override in backends to prevent future mistakes
Kees Monshouwer [Mon, 5 Jun 2017 19:39:43 +0000 (21:39 +0200)] 
auth: use override in backends to prevent future mistakes

9 years agoauth: feedRecord() ordename is now a DNSName
Kees Monshouwer [Mon, 5 Jun 2017 18:38:08 +0000 (20:38 +0200)] 
auth: feedRecord() ordename is now a DNSName

9 years agoauth: ignore NSEC3PARAM in an unsigned zone 5373/head
Kees Monshouwer [Sat, 3 Jun 2017 14:25:02 +0000 (16:25 +0200)] 
auth: ignore NSEC3PARAM in an unsigned zone

9 years agoauth: keep slave dnssec status in sync with the master
Kees Monshouwer [Thu, 1 Jun 2017 23:08:27 +0000 (01:08 +0200)] 
auth: keep slave dnssec status in sync with the master

9 years agorec: Log the content of ImmediateServFailException in getRootNS() 5372/head
Remi Gacogne [Fri, 2 Jun 2017 17:11:54 +0000 (19:11 +0200)] 
rec: Log the content of ImmediateServFailException in getRootNS()

9 years agoAdd notes about "services" and CNAME handling 5371/head
Daniel Ankers [Fri, 2 Jun 2017 16:16:24 +0000 (17:16 +0100)] 
Add notes about "services" and CNAME handling

The "services" section returns either resource records or CNAMEs depending on what is configured in the "records" section.

Add some documentation around this.

9 years agodnsdist: Fix RecordsTypeCountRule's handling of the # of records in a section 5369/head
Remi Gacogne [Fri, 2 Jun 2017 12:52:14 +0000 (14:52 +0200)] 
dnsdist: Fix RecordsTypeCountRule's handling of the # of records in a section

9 years agorec: Don't take the initial ECS source for a scope one if EDNS is off
Remi Gacogne [Fri, 2 Jun 2017 11:52:00 +0000 (13:52 +0200)] 
rec: Don't take the initial ECS source for a scope one if EDNS is off

9 years agoDocs: add pdnsutil examples to domain metadata 5367/head
Pieter Lexis [Fri, 2 Jun 2017 09:55:11 +0000 (11:55 +0200)] 
Docs: add pdnsutil examples to domain metadata

9 years agoMerge pull request #5339 from pieterlexis/calidns-additions
Pieter Lexis [Fri, 2 Jun 2017 09:06:01 +0000 (11:06 +0200)] 
Merge pull request #5339 from pieterlexis/calidns-additions

calidns: add --increment and --want-recursion flags

9 years agocalidns: fix spelling for initial and fix a nit 5339/head
Pieter Lexis [Thu, 1 Jun 2017 15:15:35 +0000 (17:15 +0200)] 
calidns: fix spelling for initial and fix a nit

9 years agoMerge pull request #4955 from klaus3000/upgradingto40
Pieter Lexis [Thu, 1 Jun 2017 14:24:29 +0000 (16:24 +0200)] 
Merge pull request #4955 from klaus3000/upgradingto40

add prepared statements and CAA records to the upgrade info

9 years agoMerge pull request #5233 from mind04/prepared
Pieter Lexis [Thu, 1 Jun 2017 14:15:02 +0000 (16:15 +0200)] 
Merge pull request #5233 from mind04/prepared

some sql improvements

9 years agoMerge pull request #5316 from mind04/axfr-filter
Pieter Lexis [Thu, 1 Jun 2017 14:02:00 +0000 (16:02 +0200)] 
Merge pull request #5316 from mind04/axfr-filter

auth: add option to set a global lua-axfr-script value

9 years agoMerge pull request #5359 from rgacogne/dnsdist-no-useless-moves
Pieter Lexis [Thu, 1 Jun 2017 14:00:26 +0000 (16:00 +0200)] 
Merge pull request #5359 from rgacogne/dnsdist-no-useless-moves

dnsdist: Get rid of std::move() calls preventing copy elision

9 years agoChangelog: fix render issue
Pieter Lexis [Thu, 1 Jun 2017 13:09:13 +0000 (15:09 +0200)] 
Changelog: fix render issue

9 years agoMerge pull request #5360 from pieterlexis/rec-405-rc2-changelog
Pieter Lexis [Thu, 1 Jun 2017 12:57:25 +0000 (14:57 +0200)] 
Merge pull request #5360 from pieterlexis/rec-405-rc2-changelog

Add the Recursor 4.0.5 rc 2 changelog

9 years agoAdd the Recursor 4.0.5 rc 2 changelog 5360/head
Pieter Lexis [Thu, 1 Jun 2017 11:54:48 +0000 (13:54 +0200)] 
Add the Recursor 4.0.5 rc 2 changelog

Also, order the items somewhat and add additional information

9 years agoMerge pull request #5358 from rgacogne/dnsdist-nmg-addmasks-typo
Remi Gacogne [Thu, 1 Jun 2017 09:53:52 +0000 (10:53 +0100)] 
Merge pull request #5358 from rgacogne/dnsdist-nmg-addmasks-typo

dnsdist: Fix a typo in the documentation of NetmaskGroup:addMasks()

9 years agodnsdist: Get rid of std::move() calls preventing copy elision 5359/head
Remi Gacogne [Thu, 1 Jun 2017 09:11:40 +0000 (11:11 +0200)] 
dnsdist: Get rid of std::move() calls preventing copy elision

9 years agodnsdist: Fix a typo in the documentation of NetmaskGroup:addMasks() 5358/head
Remi Gacogne [Thu, 1 Jun 2017 08:53:25 +0000 (10:53 +0200)] 
dnsdist: Fix a typo in the documentation of NetmaskGroup:addMasks()

9 years agoMerge pull request #5349 from ahupowerdns/luajit-namespace
bert hubert [Mon, 29 May 2017 17:06:38 +0000 (19:06 +0200)] 
Merge pull request #5349 from ahupowerdns/luajit-namespace

LuaJIT 2.1: Lua fallback functionality no longer uses Lua namespace

9 years agodnsdist: Add labels count to StatNode, only set the name once 5353/head
Remi Gacogne [Mon, 29 May 2017 16:16:10 +0000 (18:16 +0200)] 
dnsdist: Add labels count to StatNode, only set the name once

9 years agoMerge pull request #5344 from rgacogne/dnsdist-bin-itf
bert hubert [Mon, 29 May 2017 15:55:01 +0000 (17:55 +0200)] 
Merge pull request #5344 from rgacogne/dnsdist-bin-itf

dnsdist: Add an optional interface parameter to addLocal()/setLocal()

9 years agoMerge pull request #5351 from rgacogne/rec-const-mt
bert hubert [Mon, 29 May 2017 15:51:52 +0000 (17:51 +0200)] 
Merge pull request #5351 from rgacogne/rec-const-mt

rec: Mark MT methods as const whenever possible

9 years agodnsdist: Move {add,set}Local() additional parameters to a table 5344/head
Remi Gacogne [Mon, 29 May 2017 12:58:08 +0000 (14:58 +0200)] 
dnsdist: Move {add,set}Local() additional parameters to a table

9 years agodnsdist: Add an optional interface parameter to addLocal()/setLocal()
Remi Gacogne [Thu, 25 May 2017 20:43:23 +0000 (21:43 +0100)] 
dnsdist: Add an optional interface parameter to addLocal()/setLocal()

9 years agorec: Mark MT methods as const whenever possible 5351/head
Remi Gacogne [Mon, 29 May 2017 08:17:58 +0000 (10:17 +0200)] 
rec: Mark MT methods as const whenever possible

9 years agoMerge pull request #5350 from ahupowerdns/xenial-gcc-bug
Remi Gacogne [Mon, 29 May 2017 08:08:49 +0000 (09:08 +0100)] 
Merge pull request #5350 from ahupowerdns/xenial-gcc-bug

work around a g++ bug in Ubuntu Xenial, closing #5347.

9 years agowork around a g++ bug in Ubuntu Xenial, closing #5347. 5350/head
bert hubert [Sun, 28 May 2017 20:16:48 +0000 (22:16 +0200)] 
work around a g++ bug in Ubuntu Xenial, closing #5347.

9 years agotypo in the fix, sorry! 5349/head
bert hubert [Sun, 28 May 2017 08:47:34 +0000 (10:47 +0200)] 
typo in the fix, sorry!

9 years agowe guess which versions of Lua need help with luaL_setfuncs, and then supply our...
bert hubert [Sun, 28 May 2017 08:33:57 +0000 (10:33 +0200)] 
we guess which versions of Lua need help with luaL_setfuncs, and then supply our own. If we guess wrong however, we trample on the Lua namespace.
With this commit, we don't do the trampling, which should close #5348. We can improve on the fix by using the native luaL_setfuncs for LuaJIT 2.1 beta too.

9 years agoauth: build all tools in travis and fix speedtest build 5374/head
Kees Monshouwer [Fri, 26 May 2017 20:33:46 +0000 (22:33 +0200)] 
auth: build all tools in travis and fix speedtest build

9 years agoLoadArgsIntoSet() -> loadArgsIntoSet() 4965/head
Ralph Covelli [Fri, 26 May 2017 03:14:35 +0000 (04:14 +0100)] 
LoadArgsIntoSet() -> loadArgsIntoSet()

9 years agosmall docs fix
Ralph Covelli [Fri, 26 May 2017 02:47:41 +0000 (03:47 +0100)] 
small docs fix

9 years agoadded CommunicatorClass::LoadArgsIntoSet and fixed some spelling errors
Ralph Covelli [Fri, 26 May 2017 02:22:01 +0000 (03:22 +0100)] 
added CommunicatorClass::LoadArgsIntoSet and fixed some spelling errors

9 years agoMerge pull request #5236 from rgacogne/rec-doresolveat-refactor
Pieter Lexis [Thu, 25 May 2017 16:51:29 +0000 (18:51 +0200)] 
Merge pull request #5236 from rgacogne/rec-doresolveat-refactor

rec: Move to thread_local, refactor `SyncRes::doResolveAt()` and auth zones

9 years agoMerge pull request #5332 from rgacogne/edns-truncate-tests
Pieter Lexis [Thu, 25 May 2017 16:46:39 +0000 (18:46 +0200)] 
Merge pull request #5332 from rgacogne/edns-truncate-tests

rec: Add unit tests for EDNS Client Subnet truncation

9 years agoMerge pull request #5335 from shinsterneck/bugfix-syntaxerror-configureac
Pieter Lexis [Thu, 25 May 2017 16:45:31 +0000 (18:45 +0200)] 
Merge pull request #5335 from shinsterneck/bugfix-syntaxerror-configureac

configure.ac: corrects syntax error in test statement on existance of libcrypto_ecdsa

9 years agoMerge pull request #5337 from rgacogne/dnsdist-action-per-dynblock
Pieter Lexis [Thu, 25 May 2017 16:45:10 +0000 (18:45 +0200)] 
Merge pull request #5337 from rgacogne/dnsdist-action-per-dynblock

dnsdist: Add an optional action to `addDynBlocks()`

9 years agoMerge pull request #5342 from rgacogne/dnsdist-action-types
Pieter Lexis [Thu, 25 May 2017 16:44:39 +0000 (18:44 +0200)] 
Merge pull request #5342 from rgacogne/dnsdist-action-types

dnsdist: Print useful messages when query and response actions are mixed

9 years agoMerge pull request #5340 from shantikulkarni/master
Pieter Lexis [Thu, 25 May 2017 16:43:53 +0000 (18:43 +0200)] 
Merge pull request #5340 from shantikulkarni/master

Fix typo in ldapbackend.cc from issue #5091

9 years agocalidns: ensure cache hitrate is sane
Pieter Lexis [Thu, 25 May 2017 13:59:49 +0000 (15:59 +0200)] 
calidns: ensure cache hitrate is sane

9 years agocalidns: catch IP address errors
Pieter Lexis [Thu, 25 May 2017 13:56:39 +0000 (15:56 +0200)] 
calidns: catch IP address errors

9 years agocalidns: switch to boost::program_options
Pieter Lexis [Thu, 25 May 2017 13:50:50 +0000 (15:50 +0200)] 
calidns: switch to boost::program_options

9 years agocalidns: make increment a float
Pieter Lexis [Thu, 25 May 2017 13:05:45 +0000 (15:05 +0200)] 
calidns: make increment a float

9 years agodnsdist: Print useful messages when query and response actions are mixed 5342/head
Remi Gacogne [Wed, 24 May 2017 08:10:45 +0000 (09:10 +0100)] 
dnsdist: Print useful messages when query and response actions are mixed

9 years agoUpdate ldapbackend.cc 5340/head
shantikulkarni [Wed, 24 May 2017 02:25:48 +0000 (21:25 -0500)] 
Update ldapbackend.cc

9 years agocalidns: add --increment and --want-recursion flags
Pieter Lexis [Tue, 23 May 2017 12:07:52 +0000 (13:07 +0100)] 
calidns: add --increment and --want-recursion flags

9 years agodnsdist: Add an optional action to `addDynBlocks()` 5337/head
Remi Gacogne [Tue, 23 May 2017 12:57:02 +0000 (13:57 +0100)] 
dnsdist: Add an optional action to `addDynBlocks()`

This allows using different actions for different blocks, refusing
some and dropping others.

9 years agonit
Peter van Dijk [Tue, 23 May 2017 09:04:50 +0000 (11:04 +0200)] 
nit

9 years agocorrects syntax error in test statement on existance of libcrypto_ecdsa 5335/head
Shin Sterneck [Tue, 23 May 2017 00:12:26 +0000 (09:12 +0900)] 
corrects syntax error in test statement on existance of libcrypto_ecdsa

9 years agoMerge pull request #5334 from pieterlexis/rec-405-changelog
Pieter Lexis [Fri, 19 May 2017 16:33:03 +0000 (18:33 +0200)] 
Merge pull request #5334 from pieterlexis/rec-405-changelog

Recursor 4.0.5-RC1 changelog

9 years agoAdd secpoll entry for Recursor 4.0.5 rc 1 5334/head
Pieter Lexis [Tue, 9 May 2017 12:09:25 +0000 (14:09 +0200)] 
Add secpoll entry for Recursor 4.0.5 rc 1

9 years agoAdd a Recursor 4.0.5 changelog
Pieter Lexis [Tue, 9 May 2017 12:08:15 +0000 (14:08 +0200)] 
Add a Recursor 4.0.5 changelog

9 years agorec: Add unit tests for EDNS Client Subnet truncation 5332/head
Remi Gacogne [Fri, 19 May 2017 10:00:21 +0000 (12:00 +0200)] 
rec: Add unit tests for EDNS Client Subnet truncation

9 years agoadd root zone to rectify-axfr test 5363/head
Kees Monshouwer [Thu, 18 May 2017 19:52:06 +0000 (21:52 +0200)] 
add root zone to rectify-axfr test

9 years agoMerge pull request #5161 from baloo/baloo/test/5083
Peter van Dijk [Thu, 18 May 2017 19:04:30 +0000 (21:04 +0200)] 
Merge pull request #5161 from baloo/baloo/test/5083

fix a regression in axfr-rectify + test

9 years agoMerge pull request #5331 from pieterlexis/gen-version-unannotated-tags
Pieter Lexis [Thu, 18 May 2017 15:19:37 +0000 (17:19 +0200)] 
Merge pull request #5331 from pieterlexis/gen-version-unannotated-tags

Use un-annotated tags for determining version

9 years agoUse un-annotated tags for determining version 5331/head
Pieter Lexis [Thu, 18 May 2017 09:27:02 +0000 (11:27 +0200)] 
Use un-annotated tags for determining version

9 years agoMerge pull request #5323 from rgacogne/yahttp-backports
Pieter Lexis [Wed, 17 May 2017 08:04:28 +0000 (10:04 +0200)] 
Merge pull request #5323 from rgacogne/yahttp-backports

YaHTTP: Sync with upstream changes

9 years agoMerge pull request #5319 from rgacogne/rec-cache-edns-specific
Pieter Lexis [Wed, 17 May 2017 07:24:00 +0000 (09:24 +0200)] 
Merge pull request #5319 from rgacogne/rec-cache-edns-specific

rec: Only check the netmask for subnet specific cache entries

9 years agorec: Add unit tests for the `MemRecursorCache` class 5319/head
Remi Gacogne [Mon, 15 May 2017 15:59:12 +0000 (17:59 +0200)] 
rec: Add unit tests for the `MemRecursorCache` class

9 years agoYaHTTP: Sync with upstream changes 5323/head
Remi Gacogne [Mon, 15 May 2017 11:27:23 +0000 (13:27 +0200)] 
YaHTTP: Sync with upstream changes

Backport changes from upstream up to c5b83288a4c2f8ec07cb8cb7bd150f2210db67b6
"Add missing `YaHTTP::isdigit()`, fix locale-enabled versions"

9 years agoMerge pull request #5321 from mind04/dnsupdate
Pieter Lexis [Mon, 15 May 2017 09:46:23 +0000 (11:46 +0200)] 
Merge pull request #5321 from mind04/dnsupdate

Revert "notify slaves after dnsupdate was processed"

9 years agorec: Cleanup the auth and forward zones a bit 5236/head
Remi Gacogne [Tue, 11 Apr 2017 12:36:39 +0000 (14:36 +0200)] 
rec: Cleanup the auth and forward zones a bit

9 years agorec: Get rid of `SyncRes::d_nocache`, prevent root refresh loop
Remi Gacogne [Tue, 11 Apr 2017 09:18:59 +0000 (11:18 +0200)] 
rec: Get rid of `SyncRes::d_nocache`, prevent root refresh loop

`SyncRes::d_nocache` did not really prevent looking at the cache
or the local zones, and was only used when we refresh the root NS.

9 years agorec: Refactoring of SyncRes::doResolveAt()
Remi Gacogne [Wed, 5 Apr 2017 17:57:56 +0000 (19:57 +0200)] 
rec: Refactoring of SyncRes::doResolveAt()

9 years agorec: Cleanup the StaticStorage object, renamed to ThreadLocalStorage
Remi Gacogne [Tue, 4 Apr 2017 17:02:25 +0000 (19:02 +0200)] 
rec: Cleanup the StaticStorage object, renamed to ThreadLocalStorage

9 years agoUse clang 3.6 instead of 3.5 in Travis builds
Remi Gacogne [Tue, 4 Apr 2017 10:08:47 +0000 (12:08 +0200)] 
Use clang 3.6 instead of 3.5 in Travis builds

9 years agorec: Use C++11's thread_local instead of __thread
Remi Gacogne [Mon, 3 Apr 2017 16:09:47 +0000 (18:09 +0200)] 
rec: Use C++11's thread_local instead of __thread

Since `thread_local` supports non-trivial types, this move allows
us to get rid of many existing naked pointers in the rec.
Requires gcc 4.8+ or clang 3.3+.

9 years agorec: Cleanup global variables usage in `SyncRes`
Remi Gacogne [Mon, 3 Apr 2017 15:10:08 +0000 (17:10 +0200)] 
rec: Cleanup global variables usage in `SyncRes`

9 years agoMerge pull request #5320 from ahupowerdns/edns-truncate
Remi Gacogne [Sat, 13 May 2017 16:52:14 +0000 (18:52 +0200)] 
Merge pull request #5320 from ahupowerdns/edns-truncate

 PowerDNS sdig does not truncate trailing bits of EDNS Client Subnet mask

9 years agoRevert "notify slaves after dnsupdate was processed" 5321/head
Kees Monshouwer [Sat, 13 May 2017 10:44:31 +0000 (12:44 +0200)] 
Revert "notify slaves after dnsupdate was processed"

This reverts commit 89033f988aa6f4ffbac08c9447a2a7f062f3a34f.

9 years agoMerge pull request #5308 from rgacogne/unixconnector-no-copy
Pieter Lexis [Sat, 13 May 2017 09:37:27 +0000 (11:37 +0200)] 
Merge pull request #5308 from rgacogne/unixconnector-no-copy

auth: Don't copy data around when sending and receiving in the Unix Connector

9 years agoMerge pull request #5263 from fobser/notify-after-dnsupdate
Pieter Lexis [Sat, 13 May 2017 09:35:38 +0000 (11:35 +0200)] 
Merge pull request #5263 from fobser/notify-after-dnsupdate

notify slaves after dnsupdate was processed

9 years agoMerge pull request #5264 from mind04/notify-dnsupdate
Pieter Lexis [Sat, 13 May 2017 09:34:56 +0000 (11:34 +0200)] 
Merge pull request #5264 from mind04/notify-dnsupdate

Send a notification to all slave servers after every dnsupdate.

9 years agoMerge pull request #5265 from rgacogne/rec-rpz-wildcard-target
Pieter Lexis [Sat, 13 May 2017 09:34:28 +0000 (11:34 +0200)] 
Merge pull request #5265 from rgacogne/rec-rpz-wildcard-target

rec: Add support for RPZ wildcarded target names

9 years agoMerge pull request #5271 from phonedph1/stats
Pieter Lexis [Sat, 13 May 2017 09:34:18 +0000 (11:34 +0200)] 
Merge pull request #5271 from phonedph1/stats

Adjustable statistics interval

9 years agoMerge pull request #5293 from rgacogne/rec-lua-getstat
Pieter Lexis [Sat, 13 May 2017 09:33:35 +0000 (11:33 +0200)] 
Merge pull request #5293 from rgacogne/rec-lua-getstat

rec: Allow retrieving stats from Lua via the `getStat("name")` call

9 years agoMerge pull request #5309 from baloo/baloo/cleandig
Pieter Lexis [Sat, 13 May 2017 09:32:37 +0000 (11:32 +0200)] 
Merge pull request #5309 from baloo/baloo/cleandig

tests: Ensure all required tools are available

9 years agoMerge pull request #5318 from ahupowerdns/root-renew
Pieter Lexis [Sat, 13 May 2017 09:31:38 +0000 (11:31 +0200)] 
Merge pull request #5318 from ahupowerdns/root-renew

explicitly remove old root when repriming

9 years agoTogether with Mukund Sivaraman we found out PowerDNS sdig does not truncate 5320/head
bert hubert [Fri, 12 May 2017 19:25:16 +0000 (21:25 +0200)] 
Together with Mukund Sivaraman we found out PowerDNS sdig does not truncate
trailing bits of EDNS Client Subnet mask.  So if you'd truncate something as
a /9, we'd have to use 2 bytes anyhow, but we would not zero the last 7 bits.

We do now. Thanks Mukund & ISC!

9 years agorec: Only check the netmask for subnet specific cache entries
Remi Gacogne [Fri, 12 May 2017 12:12:10 +0000 (14:12 +0200)] 
rec: Only check the netmask for subnet specific cache entries

We used to check the netmask for all entries for a qname
if at least one of them was a subnet specific one. Since an empty
`Netmask` doesn't match anything, we would effectively ignore every
non subnet specific entries if we had at least one subnet specific
one.
This caused a very hard to reproduce issue with for example
f.root-servers.net that includes an EDNS Client Subnet option in its
answer for `NS .` if the query has an EDNS Client Subnet option.
This caused the recursor to cache a subnet specific entry for `NS .`.
When that entry expired, we retrieved and cached a non subnet specific
one, but that new one was ignored as long as the subnet specific
was not expunged from the cache.
Under certain circumstances that could cause a root refresh loop
using a lot of stack memory.