]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 years agoAdd a changed entry to the Server Object 6563/head
Pieter Lexis [Tue, 29 May 2018 13:16:01 +0000 (15:16 +0200)] 
Add a changed entry to the Server Object

8 years agoAdd API droprate to tests
Pieter Lexis [Tue, 29 May 2018 13:11:43 +0000 (15:11 +0200)] 
Add API droprate to tests

8 years agopdns_control notify: make sure PDNS is either master, or slave with renotify 6691/head
Klaus Darilion [Tue, 24 May 2016 13:23:56 +0000 (13:23 +0000)] 
pdns_control notify: make sure PDNS is either master, or slave with renotify

(cherry picked from commit e64b1e21a4090316c06ef9b7112092db6bb4feff)

8 years agoMerge pull request #6688 from rgacogne/dnsdist-const-ds-remote
Remi Gacogne [Tue, 29 May 2018 10:42:38 +0000 (12:42 +0200)] 
Merge pull request #6688 from rgacogne/dnsdist-const-ds-remote

 dnsdist: Mark the remote member of DownstreamState as const

8 years agologger: Use a function-level static var for the logger object 6689/head
Remi Gacogne [Tue, 29 May 2018 10:20:31 +0000 (12:20 +0200)] 
logger: Use a function-level static var for the logger object

8 years agoStyle
Chris Hofstaedtler [Tue, 29 May 2018 10:15:55 +0000 (12:15 +0200)] 
Style

8 years agoMerge pull request #6628 from Habbie/camel-diet
Pieter Lexis [Tue, 29 May 2018 09:08:17 +0000 (11:08 +0200)] 
Merge pull request #6628 from Habbie/camel-diet

implement the EDNS camel diet (draft-spacek-edns-camel-diet)

8 years agoMerge pull request #6653 from mind04/entsfrom-glue
Pieter Lexis [Tue, 29 May 2018 09:07:57 +0000 (11:07 +0200)] 
Merge pull request #6653 from mind04/entsfrom-glue

pdnsutil: occlusion and auth check improvements

8 years agoMerge pull request #6655 from chbruyand/auth-cds-cdnskey-rrsig
Pieter Lexis [Tue, 29 May 2018 09:07:42 +0000 (11:07 +0200)] 
Merge pull request #6655 from chbruyand/auth-cds-cdnskey-rrsig

auth: sign CDS/CDNSKEY RRsets with the KSK

8 years agoMerge pull request #6658 from chbruyand/luawrapper-stdexception
Pieter Lexis [Tue, 29 May 2018 09:07:27 +0000 (11:07 +0200)] 
Merge pull request #6658 from chbruyand/luawrapper-stdexception

luawrapper: report caught std::exception as lua_error

8 years agoMerge pull request #6672 from rgacogne/dnsdist-reconnect-health
Pieter Lexis [Tue, 29 May 2018 09:07:08 +0000 (11:07 +0200)] 
Merge pull request #6672 from rgacogne/dnsdist-reconnect-health

 dnsdist: Fix reconnection handling

8 years agoMerge pull request #6674 from rgacogne/dnsdist-clean-maxqpsip
Pieter Lexis [Tue, 29 May 2018 09:06:53 +0000 (11:06 +0200)] 
Merge pull request #6674 from rgacogne/dnsdist-clean-maxqpsip

dnsdist: Remove 'expired' states from MaxQPSIPRule

8 years agoMerge pull request #6680 from ossobv/docs-configure-fix
Pieter Lexis [Tue, 29 May 2018 09:06:30 +0000 (11:06 +0200)] 
Merge pull request #6680 from ossobv/docs-configure-fix

docs: Fix ./configure example, add --disable-lua-records

8 years agoMerge pull request #6681 from ossobv/docs-recursordist-settings-rst-warn
Pieter Lexis [Tue, 29 May 2018 09:06:20 +0000 (11:06 +0200)] 
Merge pull request #6681 from ossobv/docs-recursordist-settings-rst-warn

docs: Add extra LF to settings.rst to squash sphinx warning

8 years agoMerge pull request #6684 from zeha/dnsdist-tostring
Pieter Lexis [Tue, 29 May 2018 09:06:10 +0000 (11:06 +0200)] 
Merge pull request #6684 from zeha/dnsdist-tostring

dnsdist: Expose toString of various objects to Lua

8 years agoMerge pull request #6686 from zeha/missing-qtypes
Pieter Lexis [Tue, 29 May 2018 09:05:39 +0000 (11:05 +0200)] 
Merge pull request #6686 from zeha/missing-qtypes

Initialize some missed qtypes

8 years agoMerge pull request #6687 from rgacogne/travis-sanitizers
Pieter Lexis [Tue, 29 May 2018 09:05:26 +0000 (11:05 +0200)] 
Merge pull request #6687 from rgacogne/travis-sanitizers

Enable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers in Travis

8 years agodnsdist: Constify more members of TCPClientCollection, DownstreamState 6688/head
Remi Gacogne [Mon, 28 May 2018 21:11:22 +0000 (23:11 +0200)] 
dnsdist: Constify more members of TCPClientCollection, DownstreamState

8 years agodnsdist: Mark the remote member of DownstreamState as const
Remi Gacogne [Mon, 28 May 2018 16:29:58 +0000 (18:29 +0200)] 
dnsdist: Mark the remote member of DownstreamState as const

8 years agorec: Fix a typo in one comment of the negative cache unit tests 6687/head
Remi Gacogne [Mon, 28 May 2018 16:10:05 +0000 (18:10 +0200)] 
rec: Fix a typo in one comment of the negative cache unit tests

8 years agorec: Fix a memory leak in the negative cache unit tests
Remi Gacogne [Mon, 28 May 2018 16:05:52 +0000 (18:05 +0200)] 
rec: Fix a memory leak in the negative cache unit tests

8 years agoTravis: The default clang is now recent enough, don't force it
Remi Gacogne [Mon, 28 May 2018 09:30:50 +0000 (11:30 +0200)] 
Travis: The default clang is now recent enough, don't force it

Travis switched to 5.0.0 while we were still forcing it to 3.6 for
the recursor, since the previous default was 3.5 which was too old.

8 years agoEnable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers
Remi Gacogne [Mon, 28 May 2018 07:57:14 +0000 (09:57 +0200)] 
Enable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers

Enabling UBSAN for the rec triggers a weird linking error in Travis:

> clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

I haven't been able to reproduce it, it might just be an OOM.

8 years agoInitialize some missed qtypes 6686/head
Chris Hofstaedtler [Mon, 28 May 2018 14:51:03 +0000 (16:51 +0200)] 
Initialize some missed qtypes

8 years agoMerge pull request #6682 from zeha/brewfile
Peter van Dijk [Mon, 28 May 2018 14:14:20 +0000 (16:14 +0200)] 
Merge pull request #6682 from zeha/brewfile

Allow running "brew bundle" to fetch deps on macOS

8 years agodnsdist: Expose toString of various objects to Lua 6684/head
Chris Hofstaedtler [Mon, 28 May 2018 14:11:40 +0000 (16:11 +0200)] 
dnsdist: Expose toString of various objects to Lua

8 years agoAllow running "brew bundle" to fetch deps 6682/head
Chris Hofstaedtler [Mon, 28 May 2018 13:34:06 +0000 (15:34 +0200)] 
Allow running "brew bundle" to fetch deps

8 years agodocs: Add extra LF to settings.rst to squash sphinx warning 6681/head
Walter Doekes [Mon, 28 May 2018 08:19:50 +0000 (10:19 +0200)] 
docs: Add extra LF to settings.rst to squash sphinx warning

8 years agodocs: Fix ./configure example, add --disable-lua-records 6680/head
Walter Doekes [Mon, 28 May 2018 07:59:13 +0000 (09:59 +0200)] 
docs: Fix ./configure example, add --disable-lua-records

8 years agoMerge pull request #6677 from cmouse/geoip
Remi Gacogne [Mon, 28 May 2018 07:33:28 +0000 (09:33 +0200)] 
Merge pull request #6677 from cmouse/geoip

geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

8 years agogeoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value 6677/head
Aki Tuomi [Sun, 27 May 2018 07:39:45 +0000 (10:39 +0300)] 
geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

The return value must be greater than 0, all other indicate lookup failure.
Fixes signal 11 crash.

8 years agodnsdist: Remove 'expired' states from MaxQPSIPRule 6674/head
Remi Gacogne [Wed, 16 May 2018 13:47:35 +0000 (15:47 +0200)] 
dnsdist: Remove 'expired' states from MaxQPSIPRule

8 years agoAPI: Fix TSIG tests
Pieter Lexis [Fri, 25 May 2018 11:59:30 +0000 (13:59 +0200)] 
API: Fix TSIG tests

8 years agoAlso add the Error object to the docs
Pieter Lexis [Wed, 6 Dec 2017 12:04:08 +0000 (13:04 +0100)] 
Also add the Error object to the docs

8 years agoAPI: Document the TSIG endpoint
Pieter Lexis [Wed, 6 Dec 2017 11:57:46 +0000 (12:57 +0100)] 
API: Document the TSIG endpoint

8 years agoAPI: Do not send keymaterial on TSIGKey listing
Pieter Lexis [Wed, 6 Dec 2017 11:56:30 +0000 (12:56 +0100)] 
API: Do not send keymaterial on TSIGKey listing

8 years agoAPI: Move some initialization to a better place
Pieter Lexis [Tue, 5 Dec 2017 11:00:27 +0000 (12:00 +0100)] 
API: Move some initialization to a better place

8 years agoAPI: Rename TSIG functions for consistency
Pieter Lexis [Tue, 5 Dec 2017 10:55:35 +0000 (11:55 +0100)] 
API: Rename TSIG functions for consistency

8 years agoAPI: return HTTP 409 when TSIG key already exists
Pieter Lexis [Tue, 5 Dec 2017 10:28:52 +0000 (11:28 +0100)] 
API: return HTTP 409 when TSIG key already exists

8 years agoAPI: HTTP 500 on TSIG addition error
Pieter Lexis [Tue, 5 Dec 2017 10:16:33 +0000 (11:16 +0100)] 
API: HTTP 500 on TSIG addition error

8 years agoAPI: check if TSIG key exists when adding to a zone
Pieter Lexis [Tue, 5 Dec 2017 10:16:25 +0000 (11:16 +0100)] 
API: check if TSIG key exists when adding to a zone

8 years agoAPI: Add TSIG tests
Pieter Lexis [Thu, 23 Nov 2017 11:15:00 +0000 (12:15 +0100)] 
API: Add TSIG tests

8 years agoWebserver: Allow custom 4XX error messages
Pieter Lexis [Thu, 23 Nov 2017 11:14:05 +0000 (12:14 +0100)] 
Webserver: Allow custom 4XX error messages

Also use proper status codes in the TSIG endpoint

8 years agoAPI: ensure the TSIG metadata can not be changed via the metadata endpoint
Pieter Lexis [Wed, 22 Nov 2017 11:58:39 +0000 (12:58 +0100)] 
API: ensure the TSIG metadata can not be changed via the metadata endpoint

8 years agoAPI: add Zone TSIG key info (PUT/POST)
Pieter Lexis [Wed, 22 Nov 2017 11:51:16 +0000 (12:51 +0100)] 
API: add Zone TSIG key info (PUT/POST)

8 years agoAPI: add Zone TSIG key info (GET)
Pieter Lexis [Wed, 22 Nov 2017 11:22:04 +0000 (12:22 +0100)] 
API: add Zone TSIG key info (GET)

8 years agoAPI: add DELETE and PUT for tsigkeys
Pieter Lexis [Tue, 14 Nov 2017 20:32:09 +0000 (21:32 +0100)] 
API: add DELETE and PUT for tsigkeys

8 years agoAPI: Add POST for TSIGKey endpoint
Pieter Lexis [Mon, 13 Nov 2017 18:50:18 +0000 (19:50 +0100)] 
API: Add POST for TSIGKey endpoint

Also, use a single function to create the output JSON object for TSIG
keys.

8 years agoAPI: Implement TSIG key endpoint (GET only)
Pieter Lexis [Mon, 13 Nov 2017 17:44:45 +0000 (18:44 +0100)] 
API: Implement TSIG key endpoint (GET only)

8 years agodnsdist: Don't reconnect the socket on healthcheck failure 6672/head
Remi Gacogne [Thu, 24 May 2018 15:35:39 +0000 (17:35 +0200)] 
dnsdist: Don't reconnect the socket on healthcheck failure

8 years agodnsdist: Fix reconnection handling
Remi Gacogne [Tue, 22 May 2018 14:06:34 +0000 (16:06 +0200)] 
dnsdist: Fix reconnection handling

8 years agoMerge pull request #6631 from Habbie/Werror-string-plus-int
Remi Gacogne [Fri, 25 May 2018 09:22:22 +0000 (11:22 +0200)] 
Merge pull request #6631 from Habbie/Werror-string-plus-int

Add -Werror=string-plus-int to Travis clang testing

8 years agotranslate the new qtype table to a string
tcely [Fri, 25 May 2018 04:15:23 +0000 (00:15 -0400)] 
translate the new qtype table to a string

8 years agofallback to old type key so test2 data will work
tcely [Fri, 25 May 2018 02:46:31 +0000 (22:46 -0400)] 
fallback to old type key so test2 data will work

8 years agoAdded a missing comma in a comment.
tcely [Thu, 24 May 2018 15:25:14 +0000 (11:25 -0400)] 
Added a missing comma in a comment.

It is safer to leave the comma in place. When copying / pasting lines,
you might end up with syntax problems without it.

8 years agoAdded some missing commas.
tcely [Thu, 3 Aug 2017 09:32:28 +0000 (05:32 -0400)] 
Added some missing commas.

8 years agoAdded more comments.
tcely [Thu, 3 Aug 2017 09:18:33 +0000 (05:18 -0400)] 
Added more comments.

Describe whey the SOA records were not being used and why
host-N.example.com records were handled differently.

8 years agoCorrected the shared state comment.
tcely [Thu, 3 Aug 2017 09:08:38 +0000 (05:08 -0400)] 
Corrected the shared state comment.

8 years agoDon't use memory for host-XXX.example.com. entries.
tcely [Thu, 3 Aug 2017 09:06:03 +0000 (05:06 -0400)] 
Don't use memory for host-XXX.example.com. entries.

This actually ends up being about 1 second faster on my test system.

8 years agoCorrected host-0 and host-1 records.
tcely [Thu, 3 Aug 2017 08:54:34 +0000 (04:54 -0400)] 
Corrected host-0 and host-1 records.

I initially didn't notice that these were being overwritten, there are
just so many host-N entries in example.com.

8 years agoReset domain_id in list function.
tcely [Thu, 3 Aug 2017 08:35:14 +0000 (04:35 -0400)] 
Reset domain_id in list function.

8 years agoLabel these log lines correctly.
tcely [Thu, 3 Aug 2017 08:32:18 +0000 (04:32 -0400)] 
Label these log lines correctly.

8 years agoThe syntax was wrong for this TXT entry.
tcely [Thu, 3 Aug 2017 07:27:45 +0000 (03:27 -0400)] 
The syntax was wrong for this TXT entry.

I had thought maybe the server would parse that format. It looks like it
was left up to the zone file parser instead.

8 years agoFill out example.com zone data.
tcely [Thu, 3 Aug 2017 07:05:45 +0000 (03:05 -0400)] 
Fill out example.com zone data.

This was created based on the data in:
    regression-tests/zones/example.com

8 years agoFill out test.com zone data.
tcely [Thu, 3 Aug 2017 07:05:45 +0000 (03:05 -0400)] 
Fill out test.com zone data.

This was created based on the data in:
    regression-tests/zones/test.com

8 years agoBetter consistency for logged messages.
tcely [Thu, 3 Aug 2017 07:04:34 +0000 (03:04 -0400)] 
Better consistency for logged messages.

8 years agoSOA table entries aren't used.
tcely [Thu, 3 Aug 2017 07:00:46 +0000 (03:00 -0400)] 
SOA table entries aren't used.

This was proven to me since the error in content_from_soatab I fixed
earlier didn't cause any problems.

8 years agoUsed a zone level default ttl variable.
tcely [Thu, 3 Aug 2017 06:56:49 +0000 (02:56 -0400)] 
Used a zone level default ttl variable.

8 years agoThe order of nameserver/hostmaster was reversed.
tcely [Thu, 3 Aug 2017 06:50:50 +0000 (02:50 -0400)] 
The order of nameserver/hostmaster was reversed.

8 years agoHook up luabackend minimal example to a regression test.
tcely [Thu, 3 Aug 2017 03:05:59 +0000 (23:05 -0400)] 
Hook up luabackend minimal example to a regression test.

For now a single test is good enough to detect if this backend starts
refusing connections because of some future change.

8 years agoHandle the help text before configuring the traps.
tcely [Thu, 3 Aug 2017 02:15:53 +0000 (22:15 -0400)] 
Handle the help text before configuring the traps.

8 years agoadd -Werror=string-plus-int to travis clang build 6631/head
Peter van Dijk [Sun, 20 May 2018 09:07:59 +0000 (11:07 +0200)] 
add -Werror=string-plus-int to travis clang build

8 years agoAdded luabackend module.
tcely [Thu, 3 Aug 2017 01:51:48 +0000 (21:51 -0400)] 
Added luabackend module.

8 years agoAdded the args comment for the list function too.
tcely [Thu, 3 Aug 2017 01:09:56 +0000 (21:09 -0400)] 
Added the args comment for the list function too.

8 years agoAdded list to the example backend lua script.
tcely [Thu, 3 Aug 2017 00:59:32 +0000 (20:59 -0400)] 
Added list to the example backend lua script.

I rewrote this backend lua example script to not repeat things on
every record and to show how domain_id can be used when it is available.

8 years agoSet SOAData qname.
tcely [Tue, 1 Aug 2017 14:27:40 +0000 (10:27 -0400)] 
Set SOAData qname.

8 years agoUsed variables for build then mv pattern.
tcely [Tue, 1 Aug 2017 13:08:38 +0000 (09:08 -0400)] 
Used variables for build then mv pattern.

This rebuilds every time a move happens, but does not build in parallel.

8 years agoTry to limit the scanned files.
tcely [Tue, 1 Aug 2017 12:07:52 +0000 (08:07 -0400)] 
Try to limit the scanned files.

8 years agoparallel reading is not supported
tcely [Tue, 1 Aug 2017 12:01:38 +0000 (08:01 -0400)] 
parallel reading is not supported

8 years agoUse the ./conf.py file and limit pages built.
tcely [Tue, 1 Aug 2017 11:42:09 +0000 (07:42 -0400)] 
Use the ./conf.py file and limit pages built.

8 years agoBuild all the man pages in a single command.
tcely [Tue, 1 Aug 2017 11:31:14 +0000 (07:31 -0400)] 
Build all the man pages in a single command.

8 years agobusybox mktemp is dumb
tcely [Tue, 1 Aug 2017 05:06:35 +0000 (01:06 -0400)] 
busybox mktemp is dumb

8 years agoActually fix the mans conflict.
tcely [Tue, 1 Aug 2017 04:11:45 +0000 (00:11 -0400)] 
Actually fix the mans conflict.

This was a parallel build problem.
I had misunderstood what was actually happening when I first read the logs.

8 years agofixed already exists error
tcely [Tue, 1 Aug 2017 04:06:54 +0000 (00:06 -0400)] 
fixed already exists error

8 years agofixed this use of isEmpty too.
tcely [Tue, 1 Aug 2017 03:39:41 +0000 (23:39 -0400)] 
fixed this use of isEmpty too.

8 years agofix compilation errors
tcely [Tue, 1 Aug 2017 03:32:12 +0000 (23:32 -0400)] 
fix compilation errors

8 years agolog the backend PID too
tcely [Tue, 1 Aug 2017 02:07:45 +0000 (22:07 -0400)] 
log the backend PID too

8 years agobetter consistency
tcely [Tue, 1 Aug 2017 02:07:25 +0000 (22:07 -0400)] 
better consistency

8 years agoProvide both the qtype.name and qtype.code values.
tcely [Tue, 1 Aug 2017 02:04:23 +0000 (22:04 -0400)] 
Provide both the qtype.name and qtype.code values.

The lua function will receive a table as the first argument.
For example:
{ name = "SOA", code = 6, }

8 years agolog the boolean result from get
tcely [Tue, 1 Aug 2017 02:04:00 +0000 (22:04 -0400)] 
log the boolean result from get

8 years agoUsed the new dnsrr_from_table function.
tcely [Tue, 1 Aug 2017 02:01:48 +0000 (22:01 -0400)] 
Used the new dnsrr_from_table function.

8 years agoAdded function to populate a DNSResourceRecord.
tcely [Tue, 1 Aug 2017 01:59:19 +0000 (21:59 -0400)] 
Added function to populate a DNSResourceRecord.

8 years agoDeclared all the function variables
tcely [Tue, 1 Aug 2017 01:54:04 +0000 (21:54 -0400)] 
Declared all the function variables

8 years agoAdd "PREFIX-" when checking for isEmpty
tcely [Tue, 1 Aug 2017 00:58:05 +0000 (20:58 -0400)] 
Add "PREFIX-" when checking for isEmpty

This appears to have been a hack that got out-of-sync.
Adding a proper isEmpty() to the API is probably a better approach.

8 years agoAdd TODO notes
tcely [Tue, 1 Aug 2017 00:54:58 +0000 (20:54 -0400)] 
Add TODO notes

8 years agocleanup luabackend comments
tcely [Tue, 1 Aug 2017 00:52:54 +0000 (20:52 -0400)] 
cleanup luabackend comments

8 years agoChanged other logging-query instances too.
tcely [Mon, 31 Jul 2017 21:04:52 +0000 (17:04 -0400)] 
Changed other logging-query instances too.

8 years agolua-logging-query -> lua-query-logging
tcely [Mon, 31 Jul 2017 20:37:33 +0000 (16:37 -0400)] 
lua-logging-query -> lua-query-logging

8 years agoMerge pull request #6541 from chbruyand/lua-error-msg
Pieter Lexis [Thu, 24 May 2018 14:56:01 +0000 (16:56 +0200)] 
Merge pull request #6541 from chbruyand/lua-error-msg

dnsdist: allow known exception types to be converted to string

8 years agoMerge pull request #6499 from cmouse/stubresolver
Pieter Lexis [Thu, 24 May 2018 14:50:08 +0000 (16:50 +0200)] 
Merge pull request #6499 from cmouse/stubresolver

stubresolver: Improve locking