]> granicus.if.org Git - pdns/log
pdns
8 years agoMerge pull request #3060 from ahupowerdns/lua4
bert hubert [Mon, 21 Dec 2015 21:21:21 +0000 (21:21 +0000)]
Merge pull request #3060 from ahupowerdns/lua4

Lua4: clean up recursor lua api and reimplement it in LuaWrapper

8 years agoit turns out, we could not simply compare DNSNames in Lua. Now we can, but it is...
bert hubert [Mon, 21 Dec 2015 19:45:01 +0000 (19:45 +0000)]
it turns out, we could not simply compare DNSNames in Lua. Now we can, but it is ugly.

8 years agoMerge pull request #3046 from kempniu/b64-tests-dnsdist
Peter van Dijk [Mon, 21 Dec 2015 13:27:09 +0000 (14:27 +0100)]
Merge pull request #3046 from kempniu/b64-tests-dnsdist

Hook up Base64 test suite to dnsdist's testrunner

8 years agoMerge pull request #3054 from pieterlexis/issue-1258-default-v6-bind
Peter van Dijk [Mon, 21 Dec 2015 13:03:23 +0000 (14:03 +0100)]
Merge pull request #3054 from pieterlexis/issue-1258-default-v6-bind

auth: listen on v6 by default

8 years agoMerge pull request #3057 from pieterlexis/overzealous-replace
Peter van Dijk [Mon, 21 Dec 2015 13:02:02 +0000 (14:02 +0100)]
Merge pull request #3057 from pieterlexis/overzealous-replace

Fix overzealous replacement of pdnssec

8 years agoMerge pull request #3066 from cmouse/saxfr-nit
Peter van Dijk [Mon, 21 Dec 2015 12:38:32 +0000 (13:38 +0100)]
Merge pull request #3066 from cmouse/saxfr-nit

Fix usage of abs() in saxfr

8 years agoexample script correction
bert hubert [Mon, 21 Dec 2015 11:04:41 +0000 (11:04 +0000)]
example script correction

8 years agoreplace old lua example script by new one, we have reached feature parity
bert hubert [Mon, 21 Dec 2015 11:02:39 +0000 (11:02 +0000)]
replace old lua example script by new one, we have reached feature parity

8 years agoairplane commit - implement pdnslog & loglevels that work (in contrast to lua 3.x...
bert hubert [Sun, 20 Dec 2015 11:04:14 +0000 (12:04 +0100)]
airplane commit - implement pdnslog & loglevels that work (in contrast to lua 3.x implementation)

8 years agoFix usage of abs() in saxfr
Aki Tuomi [Sat, 19 Dec 2015 15:36:34 +0000 (17:36 +0200)]
Fix usage of abs() in saxfr

8 years agonow fix up Lua compilation of Lua code in recursor again..
bert hubert [Sat, 19 Dec 2015 05:31:06 +0000 (06:31 +0100)]
now fix up Lua compilation of Lua code in recursor again..

8 years agofix up the non-lua case for recursor
bert hubert [Fri, 18 Dec 2015 21:03:12 +0000 (22:03 +0100)]
fix up the non-lua case for recursor

8 years agomove policy enum around. Creative use of namespace btw.
bert hubert [Fri, 18 Dec 2015 19:00:29 +0000 (20:00 +0100)]
move policy enum around. Creative use of namespace btw.

8 years agomove recursor to LuaWrapper based new API for blocking, changing etc of queries....
bert hubert [Fri, 18 Dec 2015 08:14:05 +0000 (09:14 +0100)]
move recursor to LuaWrapper based new API for blocking, changing etc of queries. Documentation to follow. For real.

8 years agofix up recursor separate compilation on osx: set c++2011 flags, find lua
bert hubert [Fri, 18 Dec 2015 08:13:35 +0000 (09:13 +0100)]
fix up recursor separate compilation on osx: set c++2011 flags, find lua

8 years agoFix overzealous replacement of pdnssec
Pieter Lexis [Thu, 17 Dec 2015 15:19:05 +0000 (16:19 +0100)]
Fix overzealous replacement of pdnssec

Thanks @mind04!

8 years agomove lua scripts in resolver over to glorious luawrapper4, plus vamp up semantics
bert hubert [Thu, 17 Dec 2015 10:34:11 +0000 (11:34 +0100)]
move lua scripts in resolver over to glorious luawrapper4, plus vamp up semantics

8 years agotyop
bert hubert [Thu, 17 Dec 2015 10:33:07 +0000 (11:33 +0100)]
tyop

8 years agosilence a luawrapper warning. Hope I got it right.
bert hubert [Thu, 17 Dec 2015 10:32:50 +0000 (11:32 +0100)]
silence a luawrapper warning. Hope I got it right.

8 years agoauth: listen on v6 by default
Pieter Lexis [Wed, 16 Dec 2015 16:36:48 +0000 (17:36 +0100)]
auth: listen on v6 by default

Closes #1258

8 years agoMerge pull request #3049 from mind04/travis
Pieter Lexis [Wed, 16 Dec 2015 16:34:00 +0000 (17:34 +0100)]
Merge pull request #3049 from mind04/travis

make pdnsconfdist test POSIXLY_CORRECT and update pdns.conf-dist

8 years agomake pdnsconfdist test POSIXLY_CORRECT and update pdns.conf-dist
Kees Monshouwer [Wed, 16 Dec 2015 13:37:19 +0000 (14:37 +0100)]
make pdnsconfdist test POSIXLY_CORRECT and update pdns.conf-dist

8 years agoMerge pull request #3040 from pieterlexis/issue-2841-loosen-constraints-on-forwarders
Pieter Lexis [Wed, 16 Dec 2015 12:08:26 +0000 (13:08 +0100)]
Merge pull request #3040 from pieterlexis/issue-2841-loosen-constraints-on-forwarders

Relax constraints accepting answers from forwarders

8 years agoMerge pull request #3034 from Habbie/rhs-at-expansion
Pieter Lexis [Wed, 16 Dec 2015 12:08:06 +0000 (13:08 +0100)]
Merge pull request #3034 from Habbie/rhs-at-expansion

Fix expansion of @ in content (CNAME/MX etc. targets) during zone parsing

8 years agoMerge pull request #3047 from pieterlexis/godbc-fix-for-connect
Pieter Lexis [Wed, 16 Dec 2015 12:07:35 +0000 (13:07 +0100)]
Merge pull request #3047 from pieterlexis/godbc-fix-for-connect

Make the godbc module not exit on SQL_SUCCESS_WITH_INFO

8 years agoMake the godbc module not exit on SQL_SUCCESS_WITH_INFO
Pieter Lexis [Wed, 16 Dec 2015 12:06:05 +0000 (13:06 +0100)]
Make the godbc module not exit on SQL_SUCCESS_WITH_INFO

8 years agoAdd testrunner to dnsdist's .gitignore
Michał Kępień [Wed, 16 Dec 2015 11:02:48 +0000 (12:02 +0100)]
Add testrunner to dnsdist's .gitignore

8 years agoHook up Base64 test suite to dnsdist's testrunner
Michał Kępień [Wed, 16 Dec 2015 11:00:19 +0000 (12:00 +0100)]
Hook up Base64 test suite to dnsdist's testrunner

8 years agoupdate tinydns data
Peter van Dijk [Mon, 14 Dec 2015 11:07:46 +0000 (12:07 +0100)]
update tinydns data

8 years agonew default parameters for toString mess up lua's autodetection of signature template
bert hubert [Wed, 16 Dec 2015 09:21:52 +0000 (10:21 +0100)]
new default parameters for toString mess up lua's autodetection of signature template

8 years agonew default parameters for toString mess up lua's autodetection of signature template
bert hubert [Wed, 16 Dec 2015 09:21:52 +0000 (10:21 +0100)]
new default parameters for toString mess up lua's autodetection of signature template

8 years agosome lua developments for dnsdist and recursor - wip
bert hubert [Tue, 15 Dec 2015 18:10:58 +0000 (19:10 +0100)]
some lua developments for dnsdist and recursor - wip

8 years agoadd rhs @ expansion test
Peter van Dijk [Mon, 14 Dec 2015 11:01:15 +0000 (12:01 +0100)]
add rhs @ expansion test

8 years agofix RHS @ expansion, closes #3031
Peter van Dijk [Mon, 14 Dec 2015 10:45:42 +0000 (11:45 +0100)]
fix RHS @ expansion, closes #3031

8 years agoMerge pull request #3019 from pieterlexis/issue-2838-ORIGIN-in-zone2sql
Pieter Lexis [Tue, 15 Dec 2015 13:17:20 +0000 (14:17 +0100)]
Merge pull request #3019 from pieterlexis/issue-2838-ORIGIN-in-zone2sql

zone2sql: support --zone without --zone-name

8 years agoMerge pull request #3035 from kempniu/b64decode-big-endian-fix
Pieter Lexis [Tue, 15 Dec 2015 13:16:59 +0000 (14:16 +0100)]
Merge pull request #3035 from kempniu/b64decode-big-endian-fix

Fix Base64 decoding for dnsdist on big endian platforms

8 years agoMerge pull request #3039 from rubenk/exit-with-0-when-receiving-sigquit
Pieter Lexis [Tue, 15 Dec 2015 13:16:43 +0000 (14:16 +0100)]
Merge pull request #3039 from rubenk/exit-with-0-when-receiving-sigquit

Exit with 0 when receiving QUIT

8 years agoRelax constraints accepting answers from forwarders
Pieter Lexis [Tue, 15 Dec 2015 11:51:46 +0000 (12:51 +0100)]
Relax constraints accepting answers from forwarders

This patch relaxes our constraints on accepting answers from forwarders,
who can' t be expected to always set an AA bit for us, especially not
when asking for recursion.

Closes #2841

8 years agoExit with 0 when receiving QUIT
Ruben Kerkhof [Fri, 20 Feb 2015 22:34:22 +0000 (23:34 +0100)]
Exit with 0 when receiving QUIT

Fixes the first case in #2266

8 years agoDocument secpoll-suffix. Closes #2337
Pieter Lexis [Tue, 15 Dec 2015 11:07:41 +0000 (12:07 +0100)]
Document secpoll-suffix. Closes #2337

8 years agoMerge pull request #1896 from tuxis-ie/mysql-foreign-keys
Peter van Dijk [Tue, 15 Dec 2015 09:49:55 +0000 (10:49 +0100)]
Merge pull request #1896 from tuxis-ie/mysql-foreign-keys

Add foreign keys to the Mysql-scheme

8 years agoMerge pull request #3013 from pieterlexis/qtype-list
Peter van Dijk [Tue, 15 Dec 2015 09:40:41 +0000 (10:40 +0100)]
Merge pull request #3013 from pieterlexis/qtype-list

Make the QType enum list better diffible

8 years agoMerge pull request #3025 from pieterlexis/400-docs
Peter van Dijk [Tue, 15 Dec 2015 09:38:45 +0000 (10:38 +0100)]
Merge pull request #3025 from pieterlexis/400-docs

A slew of documentation fixes and additions

8 years agoMerge pull request #3027 from cyclops1982/patch-1
Peter van Dijk [Tue, 15 Dec 2015 09:37:19 +0000 (10:37 +0100)]
Merge pull request #3027 from cyclops1982/patch-1

Small typo in dnsupdate docs

8 years agoMerge pull request #3032 from cmouse/tsig-algos
Peter van Dijk [Tue, 15 Dec 2015 09:35:51 +0000 (10:35 +0100)]
Merge pull request #3032 from cmouse/tsig-algos

Compare TSIG algorithm as DNSName

8 years agoMerge pull request #3033 from pieterlexis/gcc53
Peter van Dijk [Tue, 15 Dec 2015 09:35:38 +0000 (10:35 +0100)]
Merge pull request #3033 from pieterlexis/gcc53

update boost.m4 to latest version

8 years agoallRule() for dnsdist
bert hubert [Tue, 15 Dec 2015 08:45:10 +0000 (09:45 +0100)]
allRule() for dnsdist

8 years agomore debugging
bert hubert [Mon, 14 Dec 2015 21:46:14 +0000 (22:46 +0100)]
more debugging

8 years agoremove .. in pdnsutil list-zone - thanks Sander Smeenk for noticing
bert hubert [Mon, 14 Dec 2015 19:34:42 +0000 (20:34 +0100)]
remove .. in pdnsutil list-zone - thanks Sander Smeenk for noticing

8 years agoremove some stray debugging from loading rpz from file
bert hubert [Mon, 14 Dec 2015 19:21:42 +0000 (20:21 +0100)]
remove some stray debugging from loading rpz from file

8 years agodocs: sort the settings for the recursor
Pieter Lexis [Mon, 14 Dec 2015 15:58:04 +0000 (16:58 +0100)]
docs: sort the settings for the recursor

8 years agoRemove last remnants of disable-edns
Pieter Lexis [Mon, 14 Dec 2015 15:54:50 +0000 (16:54 +0100)]
Remove last remnants of disable-edns

8 years agodocument `dnssec` setting for recursor
Pieter Lexis [Mon, 14 Dec 2015 15:46:40 +0000 (16:46 +0100)]
document `dnssec` setting for recursor

8 years agoimplement four dnssec modes: off (3.x behaviour), process (ask for DNSSEC, give it...
bert hubert [Mon, 14 Dec 2015 14:49:37 +0000 (15:49 +0100)]
implement four dnssec modes: off (3.x behaviour), process (ask for DNSSEC, give it when asked for, validate when asked to), validate (always validate), log-fail, always validate but log failures only.
Also, improve EDNS probing, plus make recursor packet cache DNSSEC aware.

8 years agoFix Base64 decoding for dnsdist on big endian platforms
Michał Kępień [Mon, 14 Dec 2015 12:15:19 +0000 (13:15 +0100)]
Fix Base64 decoding for dnsdist on big endian platforms

8 years agoupdate boost.m4 to latest version
Pieter Lexis [Mon, 14 Dec 2015 11:37:28 +0000 (12:37 +0100)]
update boost.m4 to latest version

8 years agoCompare TSIG algorithm as DNSName
Aki Tuomi [Mon, 14 Dec 2015 10:58:16 +0000 (12:58 +0200)]
Compare TSIG algorithm as DNSName

8 years agodocs: Expand opendbx-backend information
Pieter Lexis [Fri, 11 Dec 2015 20:02:36 +0000 (21:02 +0100)]
docs: Expand opendbx-backend information

This is mostly ported from @nos3's website (thanks!)

Closes: #445
8 years agodocs: document Autoserial. Closes #1211
Pieter Lexis [Fri, 11 Dec 2015 19:19:34 +0000 (20:19 +0100)]
docs: document Autoserial. Closes #1211

8 years agodocs: clarify TXT record content. Closes #1435
Pieter Lexis [Fri, 11 Dec 2015 18:46:03 +0000 (19:46 +0100)]
docs: clarify TXT record content. Closes #1435

8 years agodocs: add note about "storage format" in types.md
Pieter Lexis [Fri, 11 Dec 2015 17:25:50 +0000 (18:25 +0100)]
docs: add note about "storage format" in types.md

8 years agodocs: add note on TTL for DNSSEC RRs. Closes #2195
Pieter Lexis [Fri, 11 Dec 2015 17:13:42 +0000 (18:13 +0100)]
docs: add note on TTL for DNSSEC RRs. Closes #2195

8 years agoSplit the GSQL backend docs and update it
Pieter Lexis [Fri, 11 Dec 2015 16:40:13 +0000 (17:40 +0100)]
Split the GSQL backend docs and update it

Closes: #2987 #2067
8 years agodocs: Update recursor scripting
Pieter Lexis [Fri, 11 Dec 2015 13:13:43 +0000 (14:13 +0100)]
docs: Update recursor scripting

Closes #2559

8 years agoAdd initial auth 4.0.0 changelog
Pieter Lexis [Fri, 11 Dec 2015 13:05:07 +0000 (14:05 +0100)]
Add initial auth 4.0.0 changelog

8 years agodocs: Update the rrtypes we support
Pieter Lexis [Fri, 11 Dec 2015 12:42:24 +0000 (13:42 +0100)]
docs: Update the rrtypes we support

8 years agoDocument the ALIAS record, closes #2394
Pieter Lexis [Fri, 11 Dec 2015 11:48:40 +0000 (12:48 +0100)]
Document the ALIAS record, closes #2394

8 years agoimplement delta() to show changes versus configuration, so you can store your 'just...
bert hubert [Mon, 14 Dec 2015 09:42:02 +0000 (10:42 +0100)]
implement delta() to show changes versus configuration, so you can store your 'just right' setup.

8 years agoadd benchRule which benchmarks rules and AndRule which Ands rules together
bert hubert [Sun, 13 Dec 2015 20:19:36 +0000 (21:19 +0100)]
add benchRule which benchmarks rules and AndRule which Ands rules together

8 years agoadd PoolAction() to Lua
bert hubert [Sun, 13 Dec 2015 10:21:38 +0000 (11:21 +0100)]
add PoolAction() to Lua

8 years agohow did we miss this? RegexRule in dnsdist for matching queries with regular expressi...
bert hubert [Sun, 13 Dec 2015 09:35:26 +0000 (10:35 +0100)]
how did we miss this? RegexRule in dnsdist for matching queries with regular expressions & doing things to them

8 years agoSmall typo in dnsupdate docs
Ruben [Sat, 12 Dec 2015 13:42:36 +0000 (14:42 +0100)]
Small typo in dnsupdate docs

8 years agofix up so it compiles again, I think - may need more uncommitted infra
bert hubert [Fri, 11 Dec 2015 22:27:42 +0000 (23:27 +0100)]
fix up so it compiles again, I think - may need more uncommitted infra

8 years agoMerge pull request #3018 from Habbie/osx
Peter van Dijk [Fri, 11 Dec 2015 20:55:33 +0000 (21:55 +0100)]
Merge pull request #3018 from Habbie/osx

minor osx portability nit

8 years agoMerge pull request #3022 from mind04/dname
Peter van Dijk [Fri, 11 Dec 2015 13:30:09 +0000 (14:30 +0100)]
Merge pull request #3022 from mind04/dname

traling dot in DNAME content

8 years agoimplement DS anchor configuration, thank you https://twitter.com/PowerDNS_Bert/status...
bert hubert [Fri, 11 Dec 2015 12:18:38 +0000 (13:18 +0100)]
implement DS anchor configuration, thank you https://twitter.com/PowerDNS_Bert/status/675241924803080192 - we default to the known root DS

8 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 11 Dec 2015 12:17:54 +0000 (13:17 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

8 years agoMerge pull request #3023 from rgacogne/emptyclientlinenosodium
bert hubert [Fri, 11 Dec 2015 10:37:38 +0000 (11:37 +0100)]
Merge pull request #3023 from rgacogne/emptyclientlinenosodium

Fix dnsdist console client sending empty lines

8 years agoFix dnsdist console client sending empty lines
Remi Gacogne [Fri, 11 Dec 2015 10:10:43 +0000 (11:10 +0100)]
Fix dnsdist console client sending empty lines

There is no point for the console client to send empty lines to the
server. Just in case, fix the server to not abort the connection
when receiving such empty lines.
Reported by @gryphius as a follow-up on #3015.

8 years agoMerge pull request #3017 from rgacogne/consoleempty-nosodium
bert hubert [Fri, 11 Dec 2015 08:58:44 +0000 (09:58 +0100)]
Merge pull request #3017 from rgacogne/consoleempty-nosodium

Fix zero-sized response in dnsdist client without libsodium. Also disables setLocal() at runtime.

8 years agotraling dot in DNAME content
Kees Monshouwer [Fri, 11 Dec 2015 08:39:43 +0000 (09:39 +0100)]
traling dot in DNAME content

8 years agoWarn that addLocal() and setLocal() can't be used at runtime
Remi Gacogne [Thu, 10 Dec 2015 16:18:30 +0000 (17:18 +0100)]
Warn that addLocal() and setLocal() can't be used at runtime

8 years agoUpdate zone2sql manpage
Pieter Lexis [Thu, 10 Dec 2015 15:48:12 +0000 (16:48 +0100)]
Update zone2sql manpage

8 years agozone2sql: support --zone without --zone-name
Pieter Lexis [Thu, 10 Dec 2015 15:42:40 +0000 (16:42 +0100)]
zone2sql: support --zone without --zone-name

This *does* mean that $ORIGIN must be set in the zone file.

Closes #2838

8 years agominor osx portability nit
Peter van Dijk [Thu, 10 Dec 2015 15:33:03 +0000 (16:33 +0100)]
minor osx portability nit

8 years agoFix zero-sized response in dnsdist client without libsodium
Remi Gacogne [Thu, 10 Dec 2015 15:17:54 +0000 (16:17 +0100)]
Fix zero-sized response in dnsdist client without libsodium

Without libsodium support, we do actually get zero-sized response
(no padding).
Reported by @gryphius in issue #3015.

8 years agolog if a domain demands DNSSEC processing or not
bert hubert [Thu, 10 Dec 2015 13:24:22 +0000 (14:24 +0100)]
log if a domain demands DNSSEC processing or not

8 years agolove the unit tests.
bert hubert [Thu, 10 Dec 2015 12:57:59 +0000 (13:57 +0100)]
love the unit tests.

8 years agonew function: addDomainSpoof("domain", "ipv4", "ipv6"). Also, DNSActions can now...
bert hubert [Thu, 10 Dec 2015 11:55:09 +0000 (12:55 +0100)]
new function: addDomainSpoof("domain", "ipv4", "ipv6"). Also, DNSActions can now modify packet length.

8 years agoMake the QType enum list better diffible
Pieter Lexis [Wed, 9 Dec 2015 14:38:46 +0000 (15:38 +0100)]
Make the QType enum list better diffible

8 years agoso, it turns out only the hashing/dnssec parts of powerdns need 'toDNSString()' lower...
bert hubert [Thu, 10 Dec 2015 06:35:00 +0000 (07:35 +0100)]
so, it turns out only the hashing/dnssec parts of powerdns need 'toDNSString()' lowercase. Gave them a helper, made toDNSString() not touch case again.

8 years agoRevert "toDNSString inexplicably did a toLower() on what it wrote it, potentially...
bert hubert [Wed, 9 Dec 2015 18:08:37 +0000 (19:08 +0100)]
Revert "toDNSString inexplicably did a toLower() on what it wrote it, potentially causing 0x20 issues. Now, I assume some code needed this. This commit will find that code."

This reverts commit 6d04b73457106e0fbbce7846ea808cd4f4ab7c3b.

8 years agoMerge pull request #3011 from rgacogne/dnsdist-fix-crypto-doc
bert hubert [Wed, 9 Dec 2015 14:03:53 +0000 (15:03 +0100)]
Merge pull request #3011 from rgacogne/dnsdist-fix-crypto-doc

Make the string parameter to testCrypto() optional

8 years agoMerge pull request #3004 from zeha/api-cache-flush
Pieter Lexis [Wed, 9 Dec 2015 13:54:14 +0000 (14:54 +0100)]
Merge pull request #3004 from zeha/api-cache-flush

API: make cache flushing a public, documented operation

8 years agoMerge pull request #2997 from zeha/apirecursortest
Pieter Lexis [Wed, 9 Dec 2015 13:54:01 +0000 (14:54 +0100)]
Merge pull request #2997 from zeha/apirecursortest

API: Reenable Recursor tests

8 years agoimplement fixupCase(true) or fixupCase(false) so you can make your 0x20 violating...
bert hubert [Wed, 9 Dec 2015 12:57:39 +0000 (13:57 +0100)]
implement fixupCase(true) or fixupCase(false) so you can make your 0x20 violating code work on today's internet. Enjoy.

8 years agotoDNSString inexplicably did a toLower() on what it wrote it, potentially causing...
bert hubert [Wed, 9 Dec 2015 12:56:50 +0000 (13:56 +0100)]
toDNSString inexplicably did a toLower() on what it wrote it, potentially causing 0x20 issues. Now, I assume some code needed this. This commit will find that code.

8 years agofor recursor, if client added an EDNS record, add it to the response too
bert hubert [Wed, 9 Dec 2015 12:30:32 +0000 (13:30 +0100)]
for recursor, if client added an EDNS record, add it to the response too

8 years agoI can't imagine how this worked - DNSName() as name for an OPT record. Should be "."
bert hubert [Wed, 9 Dec 2015 12:30:02 +0000 (13:30 +0100)]
I can't imagine how this worked - DNSName() as name for an OPT record. Should be "."

8 years agoadd makeOpt infrastructure so we can make DNSRecords with OPT pseudo record in there...
bert hubert [Wed, 9 Dec 2015 12:28:35 +0000 (13:28 +0100)]
add makeOpt infrastructure so we can make DNSRecords with OPT pseudo record in there, ready for insertion