]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 years agorec: Initialize MemRecursorCache::d_state in the ctor 5472/head
Remi Gacogne [Wed, 28 Jun 2017 08:57:49 +0000 (10:57 +0200)] 
rec: Initialize MemRecursorCache::d_state in the ctor

It's always set in `MemRecursorCache::replace()`, which should be the
only place where we insert new values, but the explicit init makes
Coverity happy.

6 years agorec: Rename the ECS cache index and add a comment on how it works
Remi Gacogne [Tue, 27 Jun 2017 20:32:50 +0000 (22:32 +0200)] 
rec: Rename the ECS cache index and add a comment on how it works

6 years agoMerge pull request #5403 from rgacogne/rec-incoming-ecs-cache
bert hubert [Tue, 27 Jun 2017 15:41:32 +0000 (17:41 +0200)] 
Merge pull request #5403 from rgacogne/rec-incoming-ecs-cache

rec: Use the incoming ECS for cache lookup if `use-incoming-edns-subnet` is set

6 years agoMerge pull request #5461 from rgacogne/rec-cache-index
bert hubert [Tue, 27 Jun 2017 14:18:51 +0000 (16:18 +0200)] 
Merge pull request #5461 from rgacogne/rec-cache-index

rec: Add an ECS index to the cache

6 years agorec: Use the incoming ECS for cache lookup if `use-incoming-edns-subnet` is set 5403/head
Remi Gacogne [Wed, 14 Jun 2017 11:31:18 +0000 (13:31 +0200)] 
rec: Use the incoming ECS for cache lookup if `use-incoming-edns-subnet` is set

Otherwise we insert into the cache based on the incoming ECS but
later do the lookup based on the query's source IP.

6 years agorec: Add unit tests for the cache removal queue (back/front) 5461/head
Remi Gacogne [Tue, 27 Jun 2017 11:08:43 +0000 (13:08 +0200)] 
rec: Add unit tests for the cache removal queue (back/front)

(cherry picked from commit 7e6f71937f0ac7678b81013da7538ca1e65d779a)

6 years agoRemove just enough entries from the cache, not one more than asked
Remi Gacogne [Tue, 20 Jun 2017 15:09:56 +0000 (17:09 +0200)] 
Remove just enough entries from the cache, not one more than asked

(cherry picked from commit f3cb7c78abe3ad639d4583880ae9302b3be99a9e)

6 years agorec: Add a NetmaskTree-based cache index for ECS entries
Remi Gacogne [Mon, 19 Jun 2017 10:51:39 +0000 (12:51 +0200)] 
rec: Add a NetmaskTree-based cache index for ECS entries

The main idea is not to have to go through all the netmask-specific
entries for a given (qname/qtype), but to have to know quickly which
netmask-specific entry is the best match.
To do that we add an index containing a NetmaskTree for each
(qname,qtype), and we then know quickly which entry to get from the
"regular" cache.

Initial benchmarking results:
 - inserting non-netmask-specific entries has the same performance ;
 - inserting netmask-specific entries is 40% slower because of the additional insertion ;
 - looking for a (qname/qtype) that has no netmask-specific entries remains the same ;
 - looking for (qname/qtype) with 65k netmask-specific entries but only matching the non-netmask one is around 2000 times faster ;
 - looking for (qname/qtype) with 65k netmask-specific entries and matching one is also around 2000 times faster ;
 - pruning the cache is a lot slower (from 11 millions/s to 1.8 millions/s)

Remaining issues:
 - ANY queries do not use the index ;
 - we have to do two lookups
 - removal is slower, but might still be good enough
 - NetmaskTree.erase() does not compact the tree.

Ideas that didn't seem to work out:
 - Storing a pointer of some kind in the NetmaskTree to save a lookup:
   caused issues with our generic cache management functions (moving
   entries to the front or to the back requires an iterator)
 - Keeping the NMT index in the empty Netmak entry (the non-netmask
   specific one) save the additional lookup when we have no ECS
   entries, but made cache management very awkward because we needed
   to keep the non-netmask specific entry around as a place holder
   for the ECS index even if it held no data.

6 years agoMerge pull request #5381 from kevinquinnyo/docs-queries-issue
Pieter Lexis [Tue, 27 Jun 2017 10:07:12 +0000 (12:07 +0200)] 
Merge pull request #5381 from kevinquinnyo/docs-queries-issue

Fix query in howtos.md doc

6 years agoMerge pull request #5454 from rgacogne/dnsdist-tcp-fastopen-not-available
Pieter Lexis [Tue, 27 Jun 2017 10:06:29 +0000 (12:06 +0200)] 
Merge pull request #5454 from rgacogne/dnsdist-tcp-fastopen-not-available

dnsdist: Fix TCP with Fast Open requested but unsupported

6 years agoMerge pull request #5464 from rgacogne/logging-snmp
Pieter Lexis [Tue, 27 Jun 2017 10:05:25 +0000 (12:05 +0200)] 
Merge pull request #5464 from rgacogne/logging-snmp

Mention the recursor's SNMP support in logging.md

6 years agoMerge pull request #5463 from rgacogne/dnssec-refactor-cl
bert hubert [Tue, 27 Jun 2017 07:16:48 +0000 (09:16 +0200)] 
Merge pull request #5463 from rgacogne/dnssec-refactor-cl

rec: Implement "on-the-fly" DNSSEC processing

6 years agorec: Compute the zone cuts before trying to validate a cached entry 5463/head
Remi Gacogne [Mon, 26 Jun 2017 15:17:08 +0000 (17:17 +0200)] 
rec: Compute the zone cuts before trying to validate a cached entry

6 years agorec: Remove (wrong) debug message
Remi Gacogne [Fri, 23 Jun 2017 14:23:56 +0000 (16:23 +0200)] 
rec: Remove (wrong) debug message

6 years agorec: Accept NXD denial state instead of NXQ for an empty non-terminal
Remi Gacogne [Fri, 23 Jun 2017 14:13:12 +0000 (16:13 +0200)] 
rec: Accept NXD denial state instead of NXQ for an empty non-terminal

6 years agorec: Update validation status of records cached as Indeterminate
Remi Gacogne [Fri, 23 Jun 2017 14:12:30 +0000 (16:12 +0200)] 
rec: Update validation status of records cached as Indeterminate

6 years agorec: Check that DNSKEYs have protocol set to 3
Remi Gacogne [Tue, 13 Jun 2017 13:16:55 +0000 (15:16 +0200)] 
rec: Check that DNSKEYs have protocol set to 3

6 years agorec: Don't go Bogus on NXDomain while getting DS
Remi Gacogne [Tue, 13 Jun 2017 13:16:14 +0000 (15:16 +0200)] 
rec: Don't go Bogus on NXDomain while getting DS

6 years agorec: Fix validation issue when getting the NS returns a Bogus result
Remi Gacogne [Fri, 9 Jun 2017 17:45:16 +0000 (19:45 +0200)] 
rec: Fix validation issue when getting the NS returns a Bogus result

6 years agorec: Make the zone cuts and states a member variable
Remi Gacogne [Fri, 9 Jun 2017 14:56:17 +0000 (16:56 +0200)] 
rec: Make the zone cuts and states a member variable

6 years agorec: Use a single zone cuts and states variable
Remi Gacogne [Fri, 9 Jun 2017 14:30:57 +0000 (16:30 +0200)] 
rec: Use a single zone cuts and states variable

6 years agorec: Add and clarify RRSIG labels checks
Remi Gacogne [Fri, 9 Jun 2017 09:38:22 +0000 (11:38 +0200)] 
rec: Add and clarify RRSIG labels checks

6 years agorec: Special names are Insecure
Remi Gacogne [Fri, 9 Jun 2017 08:37:50 +0000 (10:37 +0200)] 
rec: Special names are Insecure

6 years agorec: Primed root-servers.net is Insecure
Remi Gacogne [Fri, 9 Jun 2017 08:34:06 +0000 (10:34 +0200)] 
rec: Primed root-servers.net is Insecure

6 years agorec: Fix mixup between two unit test names
Remi Gacogne [Fri, 9 Jun 2017 08:32:53 +0000 (10:32 +0200)] 
rec: Fix mixup between two unit test names

6 years agorec: Pass the zone cuts and states around
Remi Gacogne [Tue, 6 Jun 2017 10:05:39 +0000 (12:05 +0200)] 
rec: Pass the zone cuts and states around

6 years agorec: Make the Interop mockup auth answer NS queries
Remi Gacogne [Thu, 8 Jun 2017 20:17:44 +0000 (22:17 +0200)] 
rec: Make the Interop mockup auth answer NS queries

6 years agorec: Don't follow CNAME when fetching DNSKEYs
Remi Gacogne [Mon, 22 May 2017 16:25:55 +0000 (17:25 +0100)] 
rec: Don't follow CNAME when fetching DNSKEYs

6 years agorec: Prevent a loop while fetching DNSKEY
Remi Gacogne [Mon, 22 May 2017 09:54:20 +0000 (11:54 +0200)] 
rec: Prevent a loop while fetching DNSKEY

If some records on the DNSKEY answer are signed with the same
signer, we could end up in a DNSKEY retrieval loop since we
haven't added the DNSKEY to the cache yet.

6 years agorec: Fix all remaining SyncRes unit tests, remove debug log
Remi Gacogne [Mon, 22 May 2017 09:23:33 +0000 (11:23 +0200)] 
rec: Fix all remaining SyncRes unit tests, remove debug log

6 years agorec: Fix zone cut status for Insecure/Bogus, fix some tests
Remi Gacogne [Thu, 18 May 2017 16:23:34 +0000 (18:23 +0200)] 
rec: Fix zone cut status for Insecure/Bogus, fix some tests

6 years agorec: Validate lack of DS record
Remi Gacogne [Wed, 17 May 2017 16:53:57 +0000 (18:53 +0200)] 
rec: Validate lack of DS record

6 years agorec: Compute zone cuts and states beforehand
Remi Gacogne [Fri, 12 May 2017 16:26:36 +0000 (18:26 +0200)] 
rec: Compute zone cuts and states beforehand

6 years agorec: Fix DS handling in unit tests
Remi Gacogne [Thu, 11 May 2017 09:54:45 +0000 (11:54 +0200)] 
rec: Fix DS handling in unit tests

6 years agorec: Reply with and store DNSSEC wildcard proofs
Remi Gacogne [Wed, 10 May 2017 16:08:23 +0000 (18:08 +0200)] 
rec: Reply with and store DNSSEC wildcard proofs

6 years agorec: Add more DNSSEC unit tests (bad sig/algo, CNAME state transitions)
Remi Gacogne [Tue, 9 May 2017 15:22:00 +0000 (17:22 +0200)] 
rec: Add more DNSSEC unit tests (bad sig/algo, CNAME state transitions)

6 years agorec: Add a `nsec3-max-iterations` setting, default to 2500
Remi Gacogne [Tue, 9 May 2017 15:21:21 +0000 (17:21 +0200)] 
rec: Add a `nsec3-max-iterations` setting, default to 2500

6 years agorec: Check NSEC3 closest encloser
Remi Gacogne [Tue, 9 May 2017 14:19:09 +0000 (16:19 +0200)] 
rec: Check NSEC3 closest encloser

6 years agorec: Fix handling on DS denial during referral
Remi Gacogne [Fri, 5 May 2017 17:02:40 +0000 (19:02 +0200)] 
rec: Fix handling on DS denial during referral

6 years agorec: Add more DNSSEC tests, fixing some issues with state transition
Remi Gacogne [Wed, 3 May 2017 17:01:55 +0000 (19:01 +0200)] 
rec: Add more DNSSEC tests, fixing some issues with state transition

6 years agorec: Fix DNSSEC issues found by adding more DNSSEC unit test
Remi Gacogne [Tue, 2 May 2017 21:00:06 +0000 (23:00 +0200)] 
rec: Fix DNSSEC issues found by adding more DNSSEC unit test

6 years agorec: Add DNSSEC tests in the SyncRes unit tests suite
Remi Gacogne [Fri, 28 Apr 2017 11:50:13 +0000 (13:50 +0200)] 
rec: Add DNSSEC tests in the SyncRes unit tests suite

6 years agoauth: getKeysFor() signature changed, update toysdig
Remi Gacogne [Thu, 20 Apr 2017 17:12:28 +0000 (19:12 +0200)] 
auth: getKeysFor() signature changed, update toysdig

6 years agorec: Fix a typo in the DNSSEC regression tests
Remi Gacogne [Fri, 21 Apr 2017 09:45:56 +0000 (11:45 +0200)] 
rec: Fix a typo in the DNSSEC regression tests

6 years agorec: Implement "on-the-fly" DNSSEC processing
Remi Gacogne [Wed, 12 Apr 2017 16:18:50 +0000 (18:18 +0200)] 
rec: Implement "on-the-fly" DNSSEC processing

6 years agorec: Only use non-AA data to get NS / DS / glues
Remi Gacogne [Fri, 14 Apr 2017 14:41:04 +0000 (16:41 +0200)] 
rec: Only use non-AA data to get NS / DS / glues

6 years agoMerge pull request #5460 from rgacogne/rec-doc-nxd-typo
Remi Gacogne [Mon, 26 Jun 2017 09:46:40 +0000 (10:46 +0100)] 
Merge pull request #5460 from rgacogne/rec-doc-nxd-typo

Doc: Fix a typo in the recursor's scripting documentation

6 years agoMerge pull request #5455 from pieterlexis/travis-use-auth-40-for-rec-tests
Remi Gacogne [Mon, 26 Jun 2017 07:55:49 +0000 (08:55 +0100)] 
Merge pull request #5455 from pieterlexis/travis-use-auth-40-for-rec-tests

Travis: Use auth 4.0 for recursor tests

6 years agoMerge pull request #5457 from Habbie/luabackend-docs
Remi Gacogne [Mon, 26 Jun 2017 07:55:01 +0000 (08:55 +0100)] 
Merge pull request #5457 from Habbie/luabackend-docs

remove broken link; clarify status

6 years agoDoc: Fix a typo in the recursor's scripting documentation 5460/head
Remi Gacogne [Mon, 26 Jun 2017 07:46:35 +0000 (09:46 +0200)] 
Doc: Fix a typo in the recursor's scripting documentation

6 years agoMention the recursor's SNMP support in logging.md 5464/head
Remi Gacogne [Fri, 23 Jun 2017 16:22:16 +0000 (18:22 +0200)] 
Mention the recursor's SNMP support in logging.md

6 years agoremove broken link; clarify status 5457/head
Peter van Dijk [Fri, 23 Jun 2017 14:24:22 +0000 (16:24 +0200)] 
remove broken link; clarify status

6 years agoMerge pull request #5453 from pieterlexis/auth-404-changelog
Pieter Lexis [Fri, 23 Jun 2017 09:50:12 +0000 (11:50 +0200)] 
Merge pull request #5453 from pieterlexis/auth-404-changelog

Authoritative Server 4.0.4 changelog and secpoll

6 years agoTravis: Use auth 4.0 for recursor tests 5455/head
Pieter Lexis [Fri, 23 Jun 2017 08:43:37 +0000 (10:43 +0200)] 
Travis: Use auth 4.0 for recursor tests

6 years agoMerge pull request #5449 from rgacogne/dnsdist-no-fastopen-unused
Remi Gacogne [Fri, 23 Jun 2017 08:38:02 +0000 (09:38 +0100)] 
Merge pull request #5449 from rgacogne/dnsdist-no-fastopen-unused

dnsdist: Only declare/set `freshConn` if `MSG_FASTOPEN` is defined

6 years agodnsdist: Fix TCP with Fast Open requested but unsupported 5454/head
Remi Gacogne [Fri, 23 Jun 2017 08:35:03 +0000 (10:35 +0200)] 
dnsdist: Fix TCP with Fast Open requested but unsupported

If `tcpFastOpen` is set on a backend, we used to skip the
`connect()` call regardless of `MSG_FASTOPEN` availability.
We then tried to call `sendmsg()` (without `MSG_FASTOPEN`)
on an unconnected TCP socket, which failed.

6 years agoAdd Authoritative Server 4.0.4 secpoll entry 5453/head
Pieter Lexis [Fri, 23 Jun 2017 08:32:08 +0000 (10:32 +0200)] 
Add Authoritative Server 4.0.4 secpoll entry

6 years agoUpdate the Authoritative Server 4.0.4 changelog
Pieter Lexis [Fri, 23 Jun 2017 08:31:24 +0000 (10:31 +0200)] 
Update the Authoritative Server 4.0.4 changelog

6 years agoMerge pull request #5446 from rgacogne/rec-requestor-payload-512
Peter van Dijk [Thu, 22 Jun 2017 12:51:51 +0000 (14:51 +0200)] 
Merge pull request #5446 from rgacogne/rec-requestor-payload-512

rec: Treat requestor's payload size lower than 512 as equal to 512

6 years agodnsdist: Only declare/set `freshConn` if `MSG_FASTOPEN` is defined 5449/head
Remi Gacogne [Thu, 22 Jun 2017 09:18:04 +0000 (11:18 +0200)] 
dnsdist: Only declare/set `freshConn` if `MSG_FASTOPEN` is defined

6 years agoMerge pull request #5444 from Habbie/uri-5443
Peter van Dijk [Thu, 22 Jun 2017 09:00:46 +0000 (11:00 +0200)] 
Merge pull request #5444 from Habbie/uri-5443

make URI integers 16 bits, fixes #5443

6 years agoMerge pull request #5437 from mind04/oops
Peter van Dijk [Thu, 22 Jun 2017 08:59:35 +0000 (10:59 +0200)] 
Merge pull request #5437 from mind04/oops

oops

6 years agoMerge pull request #5442 from mind04/fallback
Peter van Dijk [Thu, 22 Jun 2017 08:59:02 +0000 (10:59 +0200)] 
Merge pull request #5442 from mind04/fallback

don't use the libdecaf ed25519 signer when libsoduim is enabled

6 years agorec: Treat requestor's payload size lower than 512 as equal to 512 5446/head
Remi Gacogne [Thu, 22 Jun 2017 08:25:47 +0000 (10:25 +0200)] 
rec: Treat requestor's payload size lower than 512 as equal to 512

6 years agomake URI integers 16 bits, fixes #5443 5444/head
Peter van Dijk [Thu, 22 Jun 2017 08:09:01 +0000 (10:09 +0200)] 
make URI integers 16 bits, fixes #5443

6 years agoMerge pull request #5438 from Habbie/master-travis-edge
Peter van Dijk [Wed, 21 Jun 2017 17:19:47 +0000 (19:19 +0200)] 
Merge pull request #5438 from Habbie/master-travis-edge

make master branch work on the new travis image

6 years agoMerge pull request #5336 from ahupowerdns/tisr
bert hubert [Wed, 21 Jun 2017 17:11:15 +0000 (19:11 +0200)] 
Merge pull request #5336 from ahupowerdns/tisr

Implement a runtime changeable dnsdist rule that matches IP address for a certain time

6 years agodon't use the libdecaf ed25519 signer when libsoduim is enabled 5442/head
Kees Monshouwer [Wed, 21 Jun 2017 12:23:34 +0000 (14:23 +0200)] 
don't use the libdecaf ed25519 signer when libsoduim is enabled

6 years agobump json gem, patch jdnssec, install fakeroot 5438/head
Peter van Dijk [Tue, 20 Jun 2017 08:23:27 +0000 (10:23 +0200)] 
bump json gem, patch jdnssec, install fakeroot

for the new travis image

6 years agoadd documentation for TimedIPSetRule() 5336/head
bert hubert [Tue, 23 May 2017 10:01:47 +0000 (12:01 +0200)] 
add documentation for TimedIPSetRule()

6 years agoreduce memory usage of TimedIPSet, add cleanup(), add autocomplete
bert hubert [Tue, 23 May 2017 09:52:34 +0000 (11:52 +0200)] 
reduce memory usage of TimedIPSet, add cleanup(), add autocomplete

6 years agoImplement a runtime changeable rule that matches IP address for a certain time.
bert hubert [Mon, 22 May 2017 20:59:11 +0000 (22:59 +0200)] 
Implement a runtime changeable rule that matches IP address for a certain time.
This effectively allows (for example) pool selection from Lua, but then cached.

Sample code:

```
newServer({address="192.168.1.20", pool=""})
newServer({address="8.8.8.8", pool="elgoog"})

tisrElGoog=TimedIPSetRule()
tisrRest=TimedIPSetRule()
addAction(tisrElGoog:slice(), PoolAction("elgoog"))
addAction(tisrRest:slice(), PoolAction(""))

elgoogPeople=newNMG()
elgoogPeople:addMask("192.168.1.0/28")

function pickPool(dq)
if(elgoogPeople:match(dq.remoteaddr)) -- in real life, this would be external
then
print("Lua caught query for a googlePerson")
tisrElGoog:add(dq.remoteaddr, 10)
return DNSAction.Pool, "elgoog"
else
print("Lua caught query for restPerson")
tisrRest:add(dq.remoteaddr, 60)
return DNSAction.None, ""
end
end

addLuaAction(AllRule(), pickPool)
```

6 years agoMerge pull request #5380 from rgacogne/mastermake-shared
Remi Gacogne [Wed, 21 Jun 2017 09:39:57 +0000 (10:39 +0100)] 
Merge pull request #5380 from rgacogne/mastermake-shared

Make DNSRecordContent::mastermake() return a shared pointer

6 years agoMerge pull request #5383 from RobinGeuze/fixStatsCasing
Remi Gacogne [Wed, 21 Jun 2017 09:39:19 +0000 (10:39 +0100)] 
Merge pull request #5383 from RobinGeuze/fixStatsCasing

dnsdist: Change dnsdist stats functions to always return lowercase names

6 years agooops 5437/head
Kees Monshouwer [Wed, 21 Jun 2017 09:12:59 +0000 (11:12 +0200)] 
oops

6 years agoMerge pull request #5428 from gertvdijk/rec-docs-show-ntas
Pieter Lexis [Wed, 21 Jun 2017 08:57:24 +0000 (10:57 +0200)] 
Merge pull request #5428 from gertvdijk/rec-docs-show-ntas

rec_control documentation fix: `show-ntas` -> `get-ntas`

6 years agoMerge pull request #5429 from gertvdijk/rec-docs-dont-query
Pieter Lexis [Wed, 21 Jun 2017 08:57:07 +0000 (10:57 +0200)] 
Merge pull request #5429 from gertvdijk/rec-docs-dont-query

rec: Document behaviour of dont-query with forward-zones.

6 years agoMerge pull request #5413 from Habbie/rpm-missing-schema
Pieter Lexis [Wed, 21 Jun 2017 08:52:32 +0000 (10:52 +0200)] 
Merge pull request #5413 from Habbie/rpm-missing-schema

add 3.4.0_to_4.1.0_schema.mysql.sql to backend-mysql rpm

6 years agoMerge pull request #5427 from mind04/decaf
Peter van Dijk [Wed, 21 Jun 2017 08:45:14 +0000 (10:45 +0200)] 
Merge pull request #5427 from mind04/decaf

hello decaf signers (ED25519 and ED448)

6 years agoMerge pull request #5434 from PowerDNS/rules-docs
Remi Gacogne [Wed, 21 Jun 2017 07:34:01 +0000 (08:34 +0100)] 
Merge pull request #5434 from PowerDNS/rules-docs

Document that rules are not for creating by the thousands

6 years agoDocument that rules are not for creating by the thousands 5434/head
bert hubert [Tue, 20 Jun 2017 20:58:17 +0000 (22:58 +0200)] 
Document that rules are not for creating by the thousands

This addresses #5433, which featured a user attempting to create 30k rules.

6 years agoadd ED448 to signers unit test 5427/head
Kees Monshouwer [Mon, 19 Jun 2017 09:09:47 +0000 (11:09 +0200)] 
add ED448 to signers unit test

6 years agoinitial stab at signer testing; has one 8080 test vector for now
Peter van Dijk [Sat, 17 Jun 2017 17:01:52 +0000 (19:01 +0200)] 
initial stab at signer testing; has one 8080 test vector for now

6 years agohello decaf signers (ED25519 and ED448)
Kees Monshouwer [Sat, 17 Jun 2017 15:31:41 +0000 (17:31 +0200)] 
hello decaf signers (ED25519 and ED448)
Testing algorithm 15: 'Decaf ED25519' ->'Decaf ED25519' -> 'Decaf ED25519' Signature & verify ok, signature 68usec, verify 93usec
Testing algorithm 16: 'Decaf ED448' ->'Decaf ED448' -> 'Decaf ED448' Signature & verify ok, signature 163usec, verify 252usec

6 years agorec: Document behaviour of dont-query with forward-zones. 5429/head
Gert van Dijk [Mon, 19 Jun 2017 21:08:25 +0000 (23:08 +0200)] 
rec: Document behaviour of dont-query with forward-zones.

In testing, it appears to me that setting a zone in forward-zones to query
for an address limited by dont-query is not stopped by it.

6 years agorec_control doc fix: show-ntas -> get-ntas 5428/head
Gert van Dijk [Mon, 19 Jun 2017 20:49:46 +0000 (22:49 +0200)] 
rec_control doc fix: show-ntas -> get-ntas

The documented rec_control command show-ntas does not appear to be correct.

6 years agoUse `auto` whenever possible with `DNSRecordContent::mastermake()` 5380/head
Remi Gacogne [Mon, 19 Jun 2017 15:43:02 +0000 (17:43 +0200)] 
Use `auto` whenever possible with `DNSRecordContent::mastermake()`

6 years agoMerge pull request #5386 from rgacogne/dnsdist-action-truncate
Peter van Dijk [Mon, 19 Jun 2017 15:21:55 +0000 (17:21 +0200)] 
Merge pull request #5386 from rgacogne/dnsdist-action-truncate

dnsdist: Make a `truncate` action available to DynBlock and Lua

6 years agoMerge pull request #5369 from rgacogne/dnsdist-recordstypecount-max
Peter van Dijk [Mon, 19 Jun 2017 15:19:37 +0000 (17:19 +0200)] 
Merge pull request #5369 from rgacogne/dnsdist-recordstypecount-max

dnsdist: Fix RecordsTypeCountRule's handling of the # of records in a section

6 years agoMerge pull request #5371 from DanAnkers/patch-1
Peter van Dijk [Mon, 19 Jun 2017 15:17:25 +0000 (17:17 +0200)] 
Merge pull request #5371 from DanAnkers/patch-1

[documentation] [geoipbackend] Add notes about "services" and CNAME handling

6 years agoMerge pull request #5362 from rgacogne/rec-asan-stack-switch-api-3
Peter van Dijk [Mon, 19 Jun 2017 15:14:45 +0000 (17:14 +0200)] 
Merge pull request #5362 from rgacogne/rec-asan-stack-switch-api-3

rec: Add support for the new ASAN fiber switch API

6 years agoMerge pull request #5414 from rgacogne/more-nm-unit-tests
Peter van Dijk [Mon, 19 Jun 2017 15:09:10 +0000 (17:09 +0200)] 
Merge pull request #5414 from rgacogne/more-nm-unit-tests

Add more tests to the Netmask unit tests

6 years agoMerge pull request #5417 from lifeforms/docs-recursor-fix
Peter van Dijk [Mon, 19 Jun 2017 15:08:35 +0000 (17:08 +0200)] 
Merge pull request #5417 from lifeforms/docs-recursor-fix

howtos: avoid unrestricted recursive resolution in 4.0.x ALIAS example

6 years agoMerge pull request #5422 from mind04/ed25519
Peter van Dijk [Sat, 17 Jun 2017 15:11:13 +0000 (17:11 +0200)] 
Merge pull request #5422 from mind04/ed25519

 do not hash the message in the ed25519 signer

6 years agodo not hash the message in the ed25519 signer 5422/head
Kees Monshouwer [Fri, 16 Jun 2017 20:29:13 +0000 (22:29 +0200)] 
do not hash the message in the ed25519 signer

https://www.rfc-editor.org/errata_search.php?rfc=8080

This is a Native zone
Metadata items: None
Zone has NSEC semantics
keys:
ID = 1 (CSK), flags = 257, tag = 3613, algo = 15, bits = 256      Active ( ED25519 )
CSK DNSKEY = example.com. IN DNSKEY 257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4= ; ( ED25519 )
DS = example.com. IN DS 3613 15 1 b2c63605467c4a40942b47a953e9c0d38f81083a ; ( SHA1 digest )
DS = example.com. IN DS 3613 15 2 3aa5ab37efce57f737fc1627013fee07bdf241bd10f3b1964ab55c78e79a304b ; ( SHA256 digest )
DS = example.com. IN DS 3613 15 4 89389da437fca8372e67359dfc0dd4428fa2615df6e31bc5501677dd068514fea5c4efaf82188530a8a1645d9d3ef884 ; ( SHA-384 digest )

DNSKEY and DS match

6 years agohowtos: avoid unrestricted recursive resolution in 4.0.x ALIAS example 5417/head
Walter Hop [Thu, 15 Jun 2017 16:47:44 +0000 (18:47 +0200)] 
howtos: avoid unrestricted recursive resolution in 4.0.x ALIAS example

6 years agoAdd more tests to the Netmask unit tests 5414/head
Remi Gacogne [Thu, 15 Jun 2017 14:36:52 +0000 (16:36 +0200)] 
Add more tests to the Netmask unit tests

Additional tests:

 * getBits()
 * isIpv4()
 * isIPv6()
 * getNetwork()
 * getMaskedNetwork()
 * check that Netmasks constructed from ComboAddresses with different
ports match

6 years agoMerge pull request #5367 from pieterlexis/pdnsutil-and-sql-statements-in-doc
Peter van Dijk [Thu, 15 Jun 2017 12:44:06 +0000 (14:44 +0200)] 
Merge pull request #5367 from pieterlexis/pdnsutil-and-sql-statements-in-doc

Docs: add pdnsutil examples to domain metadata

6 years agoMerge pull request #5363 from mind04/axfr-rectify
Peter van Dijk [Thu, 15 Jun 2017 12:38:54 +0000 (14:38 +0200)] 
Merge pull request #5363 from mind04/axfr-rectify

add root zone to rectify-axfr test

6 years agoMerge pull request #5379 from pieterlexis/smimea
Peter van Dijk [Thu, 15 Jun 2017 12:35:42 +0000 (14:35 +0200)] 
Merge pull request #5379 from pieterlexis/smimea

Add the SMIMEA RRType (RFC 8162)