]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agoMerge pull request #7219 from Annih/auth-issue-7051
Remi Gacogne [Thu, 7 Mar 2019 09:49:24 +0000 (10:49 +0100)] 
Merge pull request #7219 from Annih/auth-issue-7051

auth: geoip - Fix static lookup when using weighted records on multiple record types

5 years agoDocument the removal of api-readonly for the pdns-auth as well 7543/head
Frank Louwers [Wed, 6 Mar 2019 16:09:24 +0000 (17:09 +0100)] 
Document the removal of api-readonly for the pdns-auth as well

5 years agoaaaa-additional-processing does not exist anymore 7541/head
Otto Moerbeek [Wed, 6 Mar 2019 10:50:56 +0000 (11:50 +0100)] 
aaaa-additional-processing does not exist anymore

5 years agomove MIB from Lua docs to metrics docs 7539/head
Peter van Dijk [Tue, 5 Mar 2019 18:37:12 +0000 (19:37 +0100)] 
move MIB from Lua docs to metrics docs

5 years agoSet IP(V6)_RECVERR socket option to get notified of more than just 7540/head
Otto Moerbeek [Tue, 5 Mar 2019 15:30:22 +0000 (16:30 +0100)] 
Set IP(V6)_RECVERR socket option to get notified of more than just
port unreachable errors on Linux.

See https://sourceware.org/bugzilla/show_bug.cgi?id=24047

5 years agorec: Make blacklisted statistics configurable per component
Remi Gacogne [Wed, 20 Feb 2019 15:45:02 +0000 (16:45 +0100)] 
rec: Make blacklisted statistics configurable per component

This commit adds configuration parameters so it's possible to enable
or disable specific statistic metrics depending on the way they are
retrieved (API, Carbon, rec-control or SNMP).

5 years agorec: Add statistics about ECS response sizes
Remi Gacogne [Wed, 20 Feb 2019 10:59:37 +0000 (11:59 +0100)] 
rec: Add statistics about ECS response sizes

5 years agorec: Disable the polling of expensive metrics via SNMP by default
Remi Gacogne [Tue, 19 Feb 2019 14:31:49 +0000 (15:31 +0100)] 
rec: Disable the polling of expensive metrics via SNMP by default

5 years agoAPI: Add an endpoint to request only a specific statistic
Remi Gacogne [Tue, 19 Feb 2019 13:43:49 +0000 (14:43 +0100)] 
API: Add an endpoint to request only a specific statistic

5 years agorec: Remove unused functions in rec_channel_rec, mark some as static
Remi Gacogne [Fri, 15 Feb 2019 14:52:24 +0000 (15:52 +0100)] 
rec: Remove unused functions in rec_channel_rec, mark some as static

5 years agoMerge pull request #7516 from Habbie/fromiscfile-errors
Remi Gacogne [Tue, 5 Mar 2019 08:27:34 +0000 (09:27 +0100)] 
Merge pull request #7516 from Habbie/fromiscfile-errors

report checkKey errors upwards in makeFromISCFile exception

5 years agoMerge pull request #7537 from andreydomas/dnsnameset
Remi Gacogne [Tue, 5 Mar 2019 08:21:28 +0000 (09:21 +0100)] 
Merge pull request #7537 from andreydomas/dnsnameset

DNSNameSet and QNameSetRule

5 years agoMerge branch 'dnsnameset' of github.com:andreydomas/pdns into dnsnameset 7537/head
Andrey Domas [Mon, 4 Mar 2019 14:56:56 +0000 (17:56 +0300)] 
Merge branch 'dnsnameset' of github.com:andreydomas/pdns into dnsnameset

5 years agoDNSNameSet and QNameSetRule, minor changes in docs
Remi Gacogne [Mon, 4 Mar 2019 14:47:57 +0000 (17:47 +0300)] 
DNSNameSet and QNameSetRule, minor changes in docs

Co-Authored-By: andreydomas <andreydomas@users.noreply.github.com>
5 years agoDNSNameSet and QNameSetRule, minor changes in docs
Andrey Domas [Mon, 4 Mar 2019 14:46:50 +0000 (17:46 +0300)] 
DNSNameSet and QNameSetRule, minor changes in docs

5 years agoDNSNameSet and QNameSetRule, minor fixes
Andrey Domas [Mon, 4 Mar 2019 11:23:02 +0000 (14:23 +0300)] 
DNSNameSet and QNameSetRule, minor fixes

5 years agoDNSNameSet and QNameSetRule
Andrey Domas [Fri, 1 Mar 2019 14:47:05 +0000 (17:47 +0300)] 
DNSNameSet and QNameSetRule

5 years agoMerge pull request #7527 from omoerbeek/rec-protobuf-doc-fixes
Otto Moerbeek [Fri, 1 Mar 2019 14:12:36 +0000 (15:12 +0100)] 
Merge pull request #7527 from omoerbeek/rec-protobuf-doc-fixes

If a type is complex, you need to specify a separate type: clause.

5 years agoplug mysql_thread_init memory leak, fixes #6231
Peter van Dijk [Thu, 21 Feb 2019 20:38:01 +0000 (20:38 +0000)] 
plug mysql_thread_init memory leak, fixes #6231

5 years agoIf a type is complex, you need to specify a separate type: clause. 7527/head
Otto Moerbeek [Wed, 27 Feb 2019 16:22:19 +0000 (17:22 +0100)] 
If a type is complex, you need to specify a separate type: clause.

5 years agocast usec, avoids a build failure on macOS/Darwin 7533/head
Peter van Dijk [Fri, 1 Mar 2019 09:05:39 +0000 (10:05 +0100)] 
cast usec, avoids a build failure on macOS/Darwin

5 years agoauth: Clear caches (query, packet) on domain deletion via the API 7529/head
Remi Gacogne [Fri, 1 Mar 2019 08:59:20 +0000 (09:59 +0100)] 
auth: Clear caches (query, packet) on domain deletion via the API

5 years agoMerge pull request #7520 from omoerbeek/dnsdist-nsec
Otto Moerbeek [Fri, 1 Mar 2019 08:53:29 +0000 (09:53 +0100)] 
Merge pull request #7520 from omoerbeek/dnsdist-nsec

Don't convert nsec to usec if we need nsec

5 years agoMerge pull request #7531 from aerique/feature/changelog-and-secpoll-for-auth-4.2...
aerique [Thu, 28 Feb 2019 15:35:28 +0000 (16:35 +0100)] 
Merge pull request #7531 from aerique/feature/changelog-and-secpoll-for-auth-4.2.0-beta1

Add changelog and secpoll for auth-4.2.0-beta1.

5 years agoreport checkKey errors upwards in makeFromISCFile exception 7516/head
Peter van Dijk [Sun, 24 Feb 2019 10:32:12 +0000 (11:32 +0100)] 
report checkKey errors upwards in makeFromISCFile exception

5 years agoFix dns_random() in pdns_notify, it needs ::args setup properly. 7484/head
Otto Moerbeek [Wed, 27 Feb 2019 16:03:45 +0000 (16:03 +0000)] 
Fix dns_random() in pdns_notify, it needs ::args setup properly.

5 years agoMerge pull request #7496 from rgacogne/auth-catch-invalid-slave-soa auth-4.2.0-beta1
aerique [Wed, 27 Feb 2019 09:52:52 +0000 (10:52 +0100)] 
Merge pull request #7496 from rgacogne/auth-catch-invalid-slave-soa

auth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()

5 years agoMerge pull request #6872 from pieterlexis/ixfrdist-limit-size
aerique [Tue, 26 Feb 2019 15:43:10 +0000 (16:43 +0100)] 
Merge pull request #6872 from pieterlexis/ixfrdist-limit-size

ixfrdist: Add option to limit AXFR record count

5 years agoDon't convert nsec to usec if we need nsec 7520/head
Otto Moerbeek [Tue, 26 Feb 2019 15:33:36 +0000 (16:33 +0100)] 
Don't convert nsec to usec if we need nsec

5 years agoMerge pull request #7326 from jonathaneen/add_type_filter_to_api_search
aerique [Tue, 26 Feb 2019 14:14:52 +0000 (15:14 +0100)] 
Merge pull request #7326 from jonathaneen/add_type_filter_to_api_search

Add type filter to search-data api. Closes #5430

5 years agoMerge pull request #7502 from omoerbeek/memusage-statm
Otto Moerbeek [Mon, 25 Feb 2019 12:20:02 +0000 (13:20 +0100)] 
Merge pull request #7502 from omoerbeek/memusage-statm

Change the way getRealMemUsage() works on Linux (using statm)

5 years agoMerge pull request #7431 from alenichev/empty_response
Remi Gacogne [Fri, 22 Feb 2019 14:07:23 +0000 (15:07 +0100)] 
Merge pull request #7431 from alenichev/empty_response

pass empty response

5 years agoMerge pull request #7359 from tduboys/rcode_stats
aerique [Fri, 22 Feb 2019 13:33:42 +0000 (14:33 +0100)] 
Merge pull request #7359 from tduboys/rcode_stats

Add Rcode response statistics on API

5 years agoMerge pull request #7490 from pieterlexis/LUA-record-useragent
aerique [Fri, 22 Feb 2019 11:55:58 +0000 (12:55 +0100)] 
Merge pull request #7490 from pieterlexis/LUA-record-useragent

LUA records: Add "useragent" option to `ifurlup` and set a default

5 years agoMerge pull request #7448 from cmouse/remote-getupdatedmasters
aerique [Fri, 22 Feb 2019 09:45:58 +0000 (10:45 +0100)] 
Merge pull request #7448 from cmouse/remote-getupdatedmasters

remotebackend: Implement getUpdatedMasters

5 years agoMerge pull request #7511 from paddg/patch-10
Remi Gacogne [Fri, 22 Feb 2019 08:28:09 +0000 (09:28 +0100)] 
Merge pull request #7511 from paddg/patch-10

Minor capitalization cleanup

5 years agoMinor capitalization cleanup 7511/head
Winfried Angele [Fri, 22 Feb 2019 06:55:41 +0000 (07:55 +0100)] 
Minor capitalization cleanup

5 years agoMerge branch 'master' into empty_response 7431/head
Remi Gacogne [Thu, 21 Feb 2019 16:33:08 +0000 (17:33 +0100)] 
Merge branch 'master' into empty_response

5 years agoMerge branch 'master' into empty_response
Remi Gacogne [Thu, 21 Feb 2019 16:28:17 +0000 (17:28 +0100)] 
Merge branch 'master' into empty_response

5 years agoMerge pull request #7406 from alenichev/master
Remi Gacogne [Thu, 21 Feb 2019 15:14:44 +0000 (16:14 +0100)] 
Merge pull request #7406 from alenichev/master

Add EDNS unknown version handling

5 years agodnsdist: Add regression tests for setAllowEmptyResponse()
Remi Gacogne [Thu, 21 Feb 2019 13:53:58 +0000 (14:53 +0100)] 
dnsdist: Add regression tests for setAllowEmptyResponse()

5 years agodnsdist: Document setAllowEmptyResponse()
Remi Gacogne [Thu, 21 Feb 2019 13:43:09 +0000 (14:43 +0100)] 
dnsdist: Document setAllowEmptyResponse()

5 years agodnsdist: Add setAllowEmptyResponse to console completion
Remi Gacogne [Thu, 21 Feb 2019 13:42:34 +0000 (14:42 +0100)] 
dnsdist: Add setAllowEmptyResponse to console completion

5 years agoMerge pull request #7494 from rgacogne/ixfr-empty-axfr
Remi Gacogne [Thu, 21 Feb 2019 12:40:46 +0000 (13:40 +0100)] 
Merge pull request #7494 from rgacogne/ixfr-empty-axfr

Correctly interpret an empty AXFR response to an IXFR query

5 years agoMerge branch 'master' into master 7406/head
Remi Gacogne [Thu, 21 Feb 2019 12:00:44 +0000 (13:00 +0100)] 
Merge branch 'master' into master

5 years agodnsdist: Add regression tests for EDNSVersionRule and ERCodeAction
Remi Gacogne [Thu, 21 Feb 2019 11:26:50 +0000 (12:26 +0100)] 
dnsdist: Add regression tests for EDNSVersionRule and ERCodeAction

5 years agoRevert "REVERT ME: remove test that fails compilation" 7503/head
Pieter Lexis [Thu, 21 Feb 2019 11:17:22 +0000 (12:17 +0100)] 
Revert "REVERT ME: remove test that fails compilation"

This reverts commit 6eb4daca9c71804e4acdf31ac31ea6ad2541a01e.

5 years agoMerge remote-tracking branch 'origin/master' into auth-ringbugs
Pieter Lexis [Thu, 21 Feb 2019 11:17:17 +0000 (12:17 +0100)] 
Merge remote-tracking branch 'origin/master' into auth-ringbugs

5 years agoMerge pull request #7505 from rgacogne/fix-speedtest-gcc8
Pieter Lexis [Thu, 21 Feb 2019 11:16:47 +0000 (12:16 +0100)] 
Merge pull request #7505 from rgacogne/fix-speedtest-gcc8

auth: Fix compilation of speedtest with GCC 8.0+

5 years agoFix fuzz target linking
Pieter Lexis [Thu, 21 Feb 2019 11:06:56 +0000 (12:06 +0100)] 
Fix fuzz target linking

5 years agodnsdist: Document EDNSVersionRule and ERCodeAction
Remi Gacogne [Thu, 21 Feb 2019 10:52:51 +0000 (11:52 +0100)] 
dnsdist: Document EDNSVersionRule and ERCodeAction

5 years agodnsdist: Add ERCodeAction and RCodeAction to console completion
Remi Gacogne [Thu, 21 Feb 2019 10:52:05 +0000 (11:52 +0100)] 
dnsdist: Add ERCodeAction and RCodeAction to console completion

5 years agoMerge pull request #7478 from rgacogne/rec-max-cache-bogus-ttl
Remi Gacogne [Thu, 21 Feb 2019 09:14:43 +0000 (10:14 +0100)] 
Merge pull request #7478 from rgacogne/rec-max-cache-bogus-ttl

rec: Add a new 'max-cache-bogus-ttl' option

5 years agospeedtest: rename the second statring
Pieter Lexis [Wed, 20 Feb 2019 16:37:53 +0000 (17:37 +0100)] 
speedtest: rename the second statring

5 years agoauth: Fix compilation of speedtest with GCC 8.0+ 7505/head
Remi Gacogne [Wed, 20 Feb 2019 16:02:13 +0000 (17:02 +0100)] 
auth: Fix compilation of speedtest with GCC 8.0+

5 years agoHook up DNSName, QType ringbuffers to the auth
Pieter Lexis [Wed, 20 Feb 2019 15:59:28 +0000 (16:59 +0100)] 
Hook up DNSName, QType ringbuffers to the auth

5 years agoAdd speedtest for DNSName, QType rings
Pieter Lexis [Wed, 20 Feb 2019 12:29:19 +0000 (13:29 +0100)] 
Add speedtest for DNSName, QType rings

'StatRing test with DNSName and QType to string' 0.11 seconds: 3437241.4 runs/s, 0.29 usec/run
'StatRing test with DNSName and QType' 0.11 seconds: 12516308.0 runs/s, 0.08 usec/run

5 years agoAdd StatRings for DNSName, QType tuples
Pieter Lexis [Wed, 20 Feb 2019 12:25:51 +0000 (13:25 +0100)] 
Add StatRings for DNSName, QType tuples

5 years agorec: Fix a typo in the comment of one of the SyncRes unit tests 7478/head
Remi Gacogne [Wed, 20 Feb 2019 15:48:40 +0000 (16:48 +0100)] 
rec: Fix a typo in the comment of one of the SyncRes unit tests

5 years agoMerge pull request #7492 from pieterlexis/lua-expose-pdnsrandom
Peter van Dijk [Wed, 20 Feb 2019 13:28:17 +0000 (14:28 +0100)] 
Merge pull request #7492 from pieterlexis/lua-expose-pdnsrandom

Lua: expose `dns_random` as `pdnsrandom`

5 years agoAdd speedtest for statring
Pieter Lexis [Wed, 20 Feb 2019 09:55:31 +0000 (10:55 +0100)] 
Add speedtest for statring

5 years agoREVERT ME: remove test that fails compilation
Pieter Lexis [Wed, 20 Feb 2019 09:55:15 +0000 (10:55 +0100)] 
REVERT ME: remove test that fails compilation

5 years agoAdd new objects to OBJECT-GROUP; use "self" instead of getpid() 7502/head
Otto Moerbeek [Wed, 20 Feb 2019 09:40:11 +0000 (10:40 +0100)] 
Add new objects to OBJECT-GROUP; use "self" instead of getpid()

5 years agoCorrectly interpret an empty AXFR response to an IXFR query 7494/head
Remi Gacogne [Mon, 18 Feb 2019 12:07:14 +0000 (13:07 +0100)] 
Correctly interpret an empty AXFR response to an IXFR query

5 years agoInit required args before calling dns_random()
Otto Moerbeek [Wed, 20 Feb 2019 08:44:04 +0000 (09:44 +0100)] 
Init required args before calling dns_random()

No clue why this only happens only on Ubuntu trusty...

5 years agoMerge pull request #7476 from rgacogne/rpz-default-pol-custom-option
Remi Gacogne [Wed, 20 Feb 2019 09:20:46 +0000 (10:20 +0100)] 
Merge pull request #7476 from rgacogne/rpz-default-pol-custom-option

rec: Add an option to not override custom RPZ types with the default policy

5 years agoMerge pull request #7479 from phonedph1/addrecords
Remi Gacogne [Wed, 20 Feb 2019 08:44:16 +0000 (09:44 +0100)] 
Merge pull request #7479 from phonedph1/addrecords

rec: Document addRecord

5 years agoChange the way getRealMemUsage() works on Linux (using statm)
Otto Moerbeek [Tue, 19 Feb 2019 14:34:52 +0000 (15:34 +0100)] 
Change the way getRealMemUsage() works on Linux (using statm)

If you want the old (expensive) way, use getSpecialMemUsage()
getSpecialMemUsage() is not included in getAllStatsMap()
Also, implement a getrusage() based getRealMemUsage() for non-Linux systems.

5 years agoour ringbuffers got fed packetcached delegation responses as 'queries for domains...
bert hubert [Tue, 19 Feb 2019 22:37:30 +0000 (23:37 +0100)] 
our ringbuffers got fed packetcached delegation responses as 'queries for domains we were not auth for'. Fixed.

5 years agoOur ringbuffers in auth were case sensitive, leading to pages FuLl of 0x20 ModUlaTed...
bert hubert [Tue, 19 Feb 2019 22:36:50 +0000 (23:36 +0100)] 
Our ringbuffers in auth were case sensitive, leading to pages FuLl of 0x20 ModUlaTed domains

5 years agoAdd default ttl values 7479/head
phonedph1 [Tue, 19 Feb 2019 17:24:25 +0000 (17:24 +0000)] 
Add default ttl values

5 years agoDon't expose version number in User-Agent header 7490/head
Pieter Lexis [Tue, 19 Feb 2019 11:18:01 +0000 (12:18 +0100)] 
Don't expose version number in User-Agent header

5 years agoMerge pull request #7483 from rgacogne/dnsdist-logs
Pieter Lexis [Tue, 19 Feb 2019 11:06:22 +0000 (12:06 +0100)] 
Merge pull request #7483 from rgacogne/dnsdist-logs

dnsdist: Preserve configuration and log files in regression tests

5 years agoFix missing word in pdns/recursordist/docs/lua-config/rpz.rst 7476/head
Charles-Henri Bruyand [Tue, 19 Feb 2019 10:07:55 +0000 (11:07 +0100)] 
Fix missing word in pdns/recursordist/docs/lua-config/rpz.rst

Co-Authored-By: rgacogne <rgacogne@users.noreply.github.com>
5 years agoMerge pull request #7485 from rgacogne/clang-static-analyzer-fixes
Remi Gacogne [Tue, 19 Feb 2019 09:38:17 +0000 (10:38 +0100)] 
Merge pull request #7485 from rgacogne/clang-static-analyzer-fixes

Fix some warning reported by Clang's static analyzer

5 years agoUpdate docs/lua-records/reference/misc.rst 7492/head
Peter van Dijk [Tue, 19 Feb 2019 09:16:11 +0000 (10:16 +0100)] 
Update docs/lua-records/reference/misc.rst

Co-Authored-By: pieterlexis <pieterlexis@users.noreply.github.com>
5 years agoMerge pull request #7491 from klaus3000/restapi-comma-separated-masters
Remi Gacogne [Tue, 19 Feb 2019 08:44:24 +0000 (09:44 +0100)] 
Merge pull request #7491 from klaus3000/restapi-comma-separated-masters

store masters with comma separated and without trailing space

5 years agoauth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos() 7496/head
Remi Gacogne [Mon, 18 Feb 2019 15:16:04 +0000 (16:16 +0100)] 
auth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()

5 years agoLua: expose `dns_random` as `pdnsrandom`
Pieter Lexis [Mon, 18 Feb 2019 12:29:52 +0000 (13:29 +0100)] 
Lua: expose `dns_random` as `pdnsrandom`

Fixes the usecase in #6853

5 years agostore masters with comma separated and without trailing space 7491/head
Klaus Darilion [Mon, 18 Feb 2019 10:42:16 +0000 (10:42 +0000)] 
store masters with comma separated and without trailing space

5 years agoLUA records: set User-Agent string
Pieter Lexis [Mon, 18 Feb 2019 10:20:02 +0000 (11:20 +0100)] 
LUA records: set User-Agent string

Closes #7393

5 years agoReplace almost all occurences of random() by dns_random().
Otto Moerbeek [Mon, 18 Feb 2019 10:11:34 +0000 (11:11 +0100)] 
Replace almost all occurences of random() by dns_random().

Exceptions are the ones in misc.cc, because they introduce a
dependency to libsodium and/or librypto, which is not wanted in
dnsdist.

The calls in misc,.cc are not security-sensitive so it is not a big
deal to use a deterministic PRNG there.  Also, improve Utility::srandom()
a bit and call it in the recursor.

5 years agominicurl: add parameter to set useragent
Pieter Lexis [Mon, 18 Feb 2019 09:54:30 +0000 (10:54 +0100)] 
minicurl: add parameter to set useragent

5 years agoMerge pull request #7488 from zeha/6114-stoi
Remi Gacogne [Mon, 18 Feb 2019 08:51:16 +0000 (09:51 +0100)] 
Merge pull request #7488 from zeha/6114-stoi

API: improve handling of out of range modified_at value

5 years agoAPI: improve handling of out of range modified_at value 7488/head
Chris Hofstaedtler [Fri, 15 Feb 2019 20:46:59 +0000 (21:46 +0100)] 
API: improve handling of out of range modified_at value

Fixes #6114.

5 years agoMerge pull request #7487 from pieterlexis/dnsdist-DoT-autoconf
Peter van Dijk [Fri, 15 Feb 2019 16:30:32 +0000 (17:30 +0100)] 
Merge pull request #7487 from pieterlexis/dnsdist-DoT-autoconf

dnsdist: don't test or show unneeded TLS libs

5 years agodnsdist: don't test or show unneeded TLS libs 7487/head
Pieter Lexis [Fri, 15 Feb 2019 14:18:45 +0000 (15:18 +0100)] 
dnsdist: don't test or show unneeded TLS libs

5 years agorec: Wrap FILE* in smart pointers 7485/head
Remi Gacogne [Fri, 15 Feb 2019 12:18:59 +0000 (13:18 +0100)] 
rec: Wrap FILE* in smart pointers

5 years agorec: Set haveEDNS only once
Remi Gacogne [Fri, 15 Feb 2019 12:17:55 +0000 (13:17 +0100)] 
rec: Set haveEDNS only once

5 years agodnsdist: Fix use-after-free on DoT initialization failure
Remi Gacogne [Fri, 15 Feb 2019 12:16:51 +0000 (13:16 +0100)] 
dnsdist: Fix use-after-free on DoT initialization failure

5 years agoUpdate pdns/dnsdist.cc
Remi Gacogne [Fri, 15 Feb 2019 11:05:22 +0000 (14:05 +0300)] 
Update pdns/dnsdist.cc

match on any rcode with option set

Co-Authored-By: alenichev <mitya@rockers.su>
5 years agoAdd back call to srandom() in common startup. srandom() is still used
Otto Moerbeek [Thu, 14 Feb 2019 15:50:29 +0000 (16:50 +0100)] 
Add back call to srandom() in common startup. srandom() is still used
and needs seeding (even if the seeding itself is predicable)

5 years agoMove from random() to dns_random()
Otto Moerbeek [Thu, 14 Feb 2019 15:15:03 +0000 (16:15 +0100)] 
Move from random() to dns_random()

An alternative would be to make sure srandom() is always called.
But since dns_random() has the nice uniform upperbound API, I have
chosen to use that one.

5 years agoUse dns_random() for generating the id of the notify message.
Otto Moerbeek [Thu, 14 Feb 2019 15:10:00 +0000 (16:10 +0100)] 
Use dns_random() for generating the id of the notify message.

This does introduce a (conditional) dependency on libsodium.

5 years agomake passing empty response optional
Dmitry Alenichev [Thu, 14 Feb 2019 15:02:49 +0000 (18:02 +0300)] 
make passing empty response optional

5 years agoMerge pull request #7482 from hnsk/fix-pdnsutil-add-record-output-order
Remi Gacogne [Thu, 14 Feb 2019 13:28:37 +0000 (14:28 +0100)] 
Merge pull request #7482 from hnsk/fix-pdnsutil-add-record-output-order

pdnsutil: Fix output order of pdnsutil add-record

5 years agoMerge pull request #7352 from Habbie/packet-too-big
Remi Gacogne [Thu, 14 Feb 2019 13:28:01 +0000 (14:28 +0100)] 
Merge pull request #7352 from Habbie/packet-too-big

respect packet size limits, even with ECS and TSIG

5 years agodnsdist: Preserve configuration and log files in regression tests 7483/head
Remi Gacogne [Thu, 14 Feb 2019 10:55:47 +0000 (11:55 +0100)] 
dnsdist: Preserve configuration and log files in regression tests

5 years agorec: Add a small regression test for 'max-cache-bogus-ttl'
Remi Gacogne [Wed, 13 Feb 2019 15:04:57 +0000 (16:04 +0100)] 
rec: Add a small regression test for 'max-cache-bogus-ttl'

5 years agopdnsutil: Fix output order of pdnsutil add-record 7482/head
Hannu Ylitalo [Wed, 13 Feb 2019 11:47:55 +0000 (13:47 +0200)] 
pdnsutil: Fix output order of pdnsutil add-record

There was also unnecessary whitespace at the end of the line which was
removed. Since it only affected the same line it's included in this single
commit.