]> granicus.if.org Git - pdns/log
pdns
9 years agofix return code; fix language
Peter van Dijk [Tue, 6 Oct 2015 09:24:37 +0000 (11:24 +0200)]
fix return code; fix language

9 years agoMerge pull request #2779 from cmouse/no-threads-no-cry
Pieter Lexis [Tue, 6 Oct 2015 08:08:39 +0000 (10:08 +0200)]
Merge pull request #2779 from cmouse/no-threads-no-cry

Exit gracefully if distributor-threads is less than 1

9 years agoadd a testcase too
bert hubert [Mon, 5 Oct 2015 18:40:13 +0000 (20:40 +0200)]
add a testcase too

9 years agolittle gift for @pieterlexis https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html
bert hubert [Mon, 5 Oct 2015 18:34:16 +0000 (20:34 +0200)]
little gift for @pieterlexis https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html

9 years agoExit gracefully if distributor-threads is less than 1
Aki Tuomi [Mon, 5 Oct 2015 18:30:21 +0000 (21:30 +0300)]
Exit gracefully if distributor-threads is less than 1

9 years agoadd a wildcard test for the built-in recursor auth server
bert hubert [Sat, 3 Oct 2015 05:18:30 +0000 (07:18 +0200)]
add a wildcard test for the built-in recursor auth server

9 years agoMerge pull request #2775 from mind04/travis
Pieter Lexis [Fri, 2 Oct 2015 16:08:18 +0000 (18:08 +0200)]
Merge pull request #2775 from mind04/travis

Travis, the continuing story

9 years agofix double RRSIGs on CNAMEs on first query
bert hubert [Fri, 2 Oct 2015 13:29:43 +0000 (15:29 +0200)]
fix double RRSIGs on CNAMEs on first query

9 years agoadd makeunique to mastermakt
bert hubert [Fri, 2 Oct 2015 13:11:31 +0000 (15:11 +0200)]
add makeunique to mastermakt

9 years agomake sure we also add RRSIGs for CNAME records when retrieving from the cache
bert hubert [Fri, 2 Oct 2015 13:09:45 +0000 (15:09 +0200)]
make sure we also add RRSIGs for CNAME records when retrieving from the cache

9 years agomove make_unique around
bert hubert [Fri, 2 Oct 2015 13:09:21 +0000 (15:09 +0200)]
move make_unique around

9 years agomore travis optimizations
Kees Monshouwer [Fri, 2 Oct 2015 12:15:51 +0000 (14:15 +0200)]
more travis optimizations

9 years agoconfigure: make backend unit tests conditional
Kees Monshouwer [Fri, 2 Oct 2015 09:41:59 +0000 (11:41 +0200)]
configure: make backend unit tests conditional

9 years agoMerge pull request #2774 from mind04/oracle
Pieter Lexis [Fri, 2 Oct 2015 12:53:50 +0000 (14:53 +0200)]
Merge pull request #2774 from mind04/oracle

explicit DNSName in oracle backend

9 years agoexplicit DNSName in oracle backend
Kees Monshouwer [Fri, 2 Oct 2015 12:42:34 +0000 (14:42 +0200)]
explicit DNSName in oracle backend

9 years agoUnbreak pdnssec
Pieter Lexis [Fri, 2 Oct 2015 12:37:43 +0000 (14:37 +0200)]
Unbreak pdnssec

9 years agoMerge pull request #2651 from pieterlexis/issue-2648-CDS_CDNSKEY
Pieter Lexis [Fri, 2 Oct 2015 12:01:41 +0000 (14:01 +0200)]
Merge pull request #2651 from pieterlexis/issue-2648-CDS_CDNSKEY

CDS and CDNSKEY support

9 years agoMerge pull request #2773 from ahupowerdns/ednssurg
Pieter Lexis [Fri, 2 Oct 2015 12:00:17 +0000 (14:00 +0200)]
Merge pull request #2773 from ahupowerdns/ednssurg

Ednssurg: DNSSEC plus grand removal of DNSResourceRecord from the hot path

9 years agoMerge remote-tracking branch 'main/master' into ednssurg
bert hubert [Fri, 2 Oct 2015 11:17:04 +0000 (13:17 +0200)]
Merge remote-tracking branch 'main/master' into ednssurg

Conflicts:
.travis.yml

9 years agobackend fixes for DNSNAame
bert hubert [Fri, 2 Oct 2015 09:25:49 +0000 (11:25 +0200)]
backend fixes for DNSNAame

9 years agoUse C++ auto-for with consts
Pieter Lexis [Tue, 29 Sep 2015 11:57:46 +0000 (13:57 +0200)]
Use C++ auto-for with consts

9 years agoUse drill so RR type support matches (ldns vs bind/dig)
Pieter Lexis [Wed, 12 Aug 2015 12:48:51 +0000 (14:48 +0200)]
Use drill so RR type support matches (ldns vs bind/dig)

9 years agoAdd regression test for CDS/CDNSKEY
Pieter Lexis [Wed, 22 Jul 2015 18:44:58 +0000 (20:44 +0200)]
Add regression test for CDS/CDNSKEY

9 years agoAdd CDS and CDNSKEY records to AXFR
Pieter Lexis [Wed, 22 Jul 2015 18:05:41 +0000 (20:05 +0200)]
Add CDS and CDNSKEY records to AXFR

9 years agoAdd documentation on CD and DNSKEY
Pieter Lexis [Wed, 22 Jul 2015 10:37:18 +0000 (12:37 +0200)]
Add documentation on CD and DNSKEY

 * Update pdnssec manpage
 * Update dnsmetadata page
 * Add HowTo on CDS key rollover
 * Add some <brs> to the pdnssec manpage to display it better in html

9 years agoDocs: layout of authoritative/domainmetadata.md
Pieter Lexis [Wed, 22 Jul 2015 09:30:57 +0000 (11:30 +0200)]
Docs: layout of authoritative/domainmetadata.md

9 years agoAdd CDS publishing support
Pieter Lexis [Tue, 21 Jul 2015 13:38:00 +0000 (15:38 +0200)]
Add CDS publishing support

9 years agoAdd CDNSKEY support
Pieter Lexis [Tue, 21 Jul 2015 13:37:11 +0000 (15:37 +0200)]
Add CDNSKEY support

This commit adds support to the packethandler, the dnssec infrastructure
and pdnssec for the CDNSKEY record.

Users can now use the domain metadata "PUBLISH_CDNSKEY" to reply to
CDNSKEY queries with their active DNSKEYs that are KSKs.

9 years agoAdd CDS and CDNSKEY QTypes (RFC 7344)
Pieter Lexis [Tue, 21 Jul 2015 11:22:41 +0000 (13:22 +0200)]
Add CDS and CDNSKEY QTypes (RFC 7344)

9 years agoMerge pull request #2768 from pieterlexis/regression-test-cosmetic
Pieter Lexis [Fri, 2 Oct 2015 07:02:57 +0000 (09:02 +0200)]
Merge pull request #2768 from pieterlexis/regression-test-cosmetic

Fix the building of sdig outside of travis

9 years agocompilation issue on travis, worked here strangely enough
bert hubert [Fri, 2 Oct 2015 07:01:37 +0000 (09:01 +0200)]
compilation issue on travis, worked here strangely enough

9 years agohere you go. It works, passes regression tests, but creates timeouts I can't explain...
bert hubert [Fri, 2 Oct 2015 06:40:05 +0000 (08:40 +0200)]
here you go. It works, passes regression tests, but creates timeouts I can't explain yet. Also, forwarding is broken right now in recursor.

9 years agomake ARecordContent and AAAARecordContent expose their inner ComboAddresses, plus...
bert hubert [Thu, 1 Oct 2015 19:46:47 +0000 (21:46 +0200)]
make ARecordContent and AAAARecordContent expose their inner ComboAddresses, plus zero out EDNS fields

9 years agofurther DNSRecord/DNSResourceRecord conversion infra
bert hubert [Thu, 1 Oct 2015 19:45:49 +0000 (21:45 +0200)]
further DNSRecord/DNSResourceRecord conversion infra

9 years agoadd some DNSResourceRecord/DNSRecord conversion infra
bert hubert [Thu, 1 Oct 2015 19:45:23 +0000 (21:45 +0200)]
add some DNSResourceRecord/DNSRecord conversion infra

9 years agoMerge pull request #2771 from pieterlexis/travis-build
Pieter Lexis [Thu, 1 Oct 2015 18:59:06 +0000 (20:59 +0200)]
Merge pull request #2771 from pieterlexis/travis-build

hopefully "fix" travis builds

9 years agohopefully "fix" travis builds
Pieter Lexis [Thu, 1 Oct 2015 15:58:12 +0000 (17:58 +0200)]
hopefully "fix" travis builds

9 years agothe great d_label -> d_name cleanup!
bert hubert [Wed, 30 Sep 2015 18:42:54 +0000 (20:42 +0200)]
the great d_label -> d_name cleanup!

9 years agomove to the centralised DNSRecord -> DNSResourceRecord converter
bert hubert [Wed, 30 Sep 2015 18:19:32 +0000 (20:19 +0200)]
move to the centralised DNSRecord -> DNSResourceRecord converter

9 years agogo back to O1 in hopes this will make the tests faster and compilation not that much...
bert hubert [Wed, 30 Sep 2015 14:54:45 +0000 (16:54 +0200)]
go back to O1 in hopes this will make the tests faster and compilation not that much slower

9 years agoFix make invocation
Pieter Lexis [Wed, 30 Sep 2015 12:50:17 +0000 (14:50 +0200)]
Fix make invocation

9 years agoskip ghost-1 and ghost-2 for now, disable some remotebackend checks that take 20...
bert hubert [Wed, 30 Sep 2015 13:50:51 +0000 (15:50 +0200)]
skip ghost-1 and ghost-2 for now, disable some remotebackend checks that take 20 minutes, reenable most other tests

9 years agohad a typo in it...
bert hubert [Wed, 30 Sep 2015 13:34:02 +0000 (15:34 +0200)]
had a typo in it...

9 years agofurther tuning.. perhaps this will work..
bert hubert [Wed, 30 Sep 2015 12:55:17 +0000 (14:55 +0200)]
further tuning.. perhaps this will work..

9 years agoMerge pull request #2754 from pieterlexis/test-pkg
Pieter Lexis [Wed, 30 Sep 2015 11:07:01 +0000 (13:07 +0200)]
Merge pull request #2754 from pieterlexis/test-pkg

regression tests: Use environment vars to determine program location

9 years agoin dnsdist, setTC now also sets RA=RD, otherwise clients ignore response. Found by...
bert hubert [Wed, 30 Sep 2015 10:04:47 +0000 (12:04 +0200)]
in dnsdist, setTC now also sets RA=RD, otherwise clients ignore response. Found by Burak Ozalp.

9 years agoMerge pull request #2764 from pieterlexis/html-escape-issue
Pieter Lexis [Wed, 30 Sep 2015 09:37:09 +0000 (11:37 +0200)]
Merge pull request #2764 from pieterlexis/html-escape-issue

Prevent XSS by escaping user input

9 years agoswitch main powerdns builds to -O0 and no -g which should also save lots of time
bert hubert [Wed, 30 Sep 2015 06:56:03 +0000 (08:56 +0200)]
switch main powerdns builds to -O0 and no -g which should also save lots of time

9 years agopdnssec output changed to match regression test expectations
bert hubert [Wed, 30 Sep 2015 06:48:43 +0000 (08:48 +0200)]
pdnssec output changed to match regression test expectations

9 years agoremote some tests
bert hubert [Wed, 30 Sep 2015 05:53:14 +0000 (07:53 +0200)]
remote some tests

9 years agoPrevent XSS by escaping user input
Pieter Lexis [Wed, 2 Sep 2015 12:14:02 +0000 (14:14 +0200)]
Prevent XSS by escaping user input

Additionally, escape "'s so no attributes can be inserted into webpages.

Thanks to Pierre Jaury and Damien Cauquil at Sysdream for pointing this
out.

9 years agotry -j1
bert hubert [Mon, 28 Sep 2015 19:28:07 +0000 (21:28 +0200)]
try -j1

9 years agoreduce paralellism for make in travis
bert hubert [Mon, 28 Sep 2015 18:24:56 +0000 (20:24 +0200)]
reduce paralellism for make in travis

9 years agolower -O setting for travis
bert hubert [Mon, 28 Sep 2015 09:46:14 +0000 (11:46 +0200)]
lower -O setting for travis

9 years agofix up remotebackend tests for DNSName
bert hubert [Mon, 28 Sep 2015 09:12:47 +0000 (11:12 +0200)]
fix up remotebackend tests for DNSName

9 years agofurther dnsname fixups for dnsdist and opendbx
bert hubert [Mon, 28 Sep 2015 08:21:04 +0000 (10:21 +0200)]
further dnsname fixups for dnsdist and opendbx

9 years agoopendbx and ldabbackend fixes for DNSName
bert hubert [Mon, 28 Sep 2015 07:36:12 +0000 (09:36 +0200)]
opendbx and ldabbackend fixes for DNSName

9 years agofixups for geoip, mydns and remote.
bert hubert [Mon, 28 Sep 2015 05:48:47 +0000 (07:48 +0200)]
fixups for geoip, mydns and remote.

9 years agofixes for Lua backend DNSName
bert hubert [Sun, 27 Sep 2015 22:51:03 +0000 (00:51 +0200)]
fixes for Lua backend DNSName

9 years agofix up p11 plus binddnssec DNSName adjustments
bert hubert [Sun, 27 Sep 2015 22:06:35 +0000 (00:06 +0200)]
fix up p11 plus binddnssec DNSName adjustments

9 years agoall travis binaries now build, testrunner passes too (and found some real bugs! yay...
bert hubert [Sun, 27 Sep 2015 20:47:12 +0000 (22:47 +0200)]
all travis binaries now build, testrunner passes too (and found some real bugs! yay unit tests!)

9 years agofurther round of DNSName cleanup. Found more cases where we were round-tripping DNSNa...
bert hubert [Sun, 27 Sep 2015 18:58:29 +0000 (20:58 +0200)]
further round of DNSName cleanup. Found more cases where we were round-tripping DNSNames accidentally too.

9 years agoMerge branch 'ednssurg' of github.com:ahupowerdns/pdns into ednssurg
bert hubert [Sun, 27 Sep 2015 17:44:43 +0000 (19:44 +0200)]
Merge branch 'ednssurg' of github.com:ahupowerdns/pdns into ednssurg

Conflicts:
pdns/distributor.hh

9 years agoimprove logging for database lookup issues
bert hubert [Sun, 27 Sep 2015 17:42:07 +0000 (19:42 +0200)]
improve logging for database lookup issues

9 years agostart moving away from DNSResourceRecord in the recursor. Baby steps. Two places...
bert hubert [Sun, 27 Sep 2015 15:07:42 +0000 (17:07 +0200)]
start moving away from DNSResourceRecord in the recursor. Baby steps. Two places left.

9 years agowhen we DO convert between DNSRecord and DNSResourceRecord, also convert d_place
bert hubert [Sun, 27 Sep 2015 15:07:07 +0000 (17:07 +0200)]
when we DO convert between DNSRecord and DNSResourceRecord, also convert d_place

9 years agodon't automatically convert between the MOADNSParser and DNSResourceRecord worlds...
bert hubert [Sun, 27 Sep 2015 15:06:43 +0000 (17:06 +0200)]
don't automatically convert between the MOADNSParser and DNSResourceRecord worlds (wasn't happening)

9 years agosome const-correctness
bert hubert [Sun, 27 Sep 2015 15:06:30 +0000 (17:06 +0200)]
some const-correctness

9 years agosecond round of DNSName cleanups - more will be needed for other backends
bert hubert [Sun, 27 Sep 2015 14:41:27 +0000 (16:41 +0200)]
second round of DNSName cleanups - more will be needed for other backends

9 years agowith this commit, we remove the implicit DNSName string constructors, which hid many...
bert hubert [Sun, 27 Sep 2015 11:54:47 +0000 (13:54 +0200)]
with this commit, we remove the implicit DNSName string constructors, which hid many many issues, including passing all DNS query packets as DNS domain names and converting them back again (WOW). To slightly compensate, we added an ostream operator<< to make printing of DNSNames easier.
This commit will start a world of pain and it isn't even done yet. Specifically forwarding to another nameserver is broken now (was broken already, we tried to push a :port number into a DNSName and parse it again). The webserver API was lovingly DNSNamed but will also likely have changes in case sensitivity, . termination and other things.

9 years agoimprove logging a bit, complete move to dnsname
bert hubert [Sun, 27 Sep 2015 11:49:39 +0000 (13:49 +0200)]
improve logging a bit, complete move to dnsname

9 years agosplit up auth latency stats between v4 and v6 since you need to be able to see them...
bert hubert [Fri, 25 Sep 2015 21:30:30 +0000 (23:30 +0200)]
split up auth latency stats between v4 and v6 since you need to be able to see them separately. Also add 4 and 6 versions of timeouts.

9 years agoMerge remote-tracking branch 'main/master' into ednssurg
bert hubert [Fri, 25 Sep 2015 13:04:40 +0000 (15:04 +0200)]
Merge remote-tracking branch 'main/master' into ednssurg

9 years agoimplement & document keeping track of authoritative latency distribution in the pdns_...
bert hubert [Fri, 25 Sep 2015 07:54:18 +0000 (09:54 +0200)]
implement & document keeping track of authoritative latency distribution in the pdns_recursor, inspired by Allan Eising. Update to metronome forthcoming.

9 years agoMerge remote-tracking branch 'main/master' into ednssurg
bert hubert [Thu, 24 Sep 2015 14:49:23 +0000 (16:49 +0200)]
Merge remote-tracking branch 'main/master' into ednssurg

Conflicts:
pdns/recursor_cache.cc
pdns/recursor_cache.hh
pdns/syncres.cc
pdns/syncres.hh

9 years agoimprove logging somewhat for #2758 and #2760.
bert hubert [Thu, 24 Sep 2015 08:31:24 +0000 (10:31 +0200)]
improve logging somewhat for #2758 and #2760.

9 years agoclarify qa-latency a bit
bert hubert [Mon, 21 Sep 2015 20:20:47 +0000 (22:20 +0200)]
clarify qa-latency a bit

9 years agoUpdate pdns.conf-dist to reflect 191f2e478b42a
Pieter Lexis [Mon, 21 Sep 2015 18:17:46 +0000 (20:17 +0200)]
Update pdns.conf-dist to reflect 191f2e478b42a

9 years agomake pdns_control and rec_control mention the 'help' command to query pdns for possib...
bert hubert [Thu, 17 Sep 2015 14:52:10 +0000 (16:52 +0200)]
make pdns_control and rec_control mention the 'help' command to query pdns for possible commands. Close #2686.

9 years agoimplement pid-file configuration switch, defaults to on & document it. Close #2671.
bert hubert [Thu, 17 Sep 2015 14:33:04 +0000 (16:33 +0200)]
implement pid-file configuration switch, defaults to on & document it. Close #2671.

9 years agoregression tests: Use environment vars to determine program location
Pieter Lexis [Wed, 9 Sep 2015 13:56:48 +0000 (15:56 +0200)]
regression tests: Use environment vars to determine program location

This wil allow us to run the regression tests on installed PowerDNS
versions.

9 years agoMerge pull request #2750 from cmouse/cid-1324500
Pieter Lexis [Wed, 16 Sep 2015 11:33:01 +0000 (13:33 +0200)]
Merge pull request #2750 from cmouse/cid-1324500

Initialize d_fnum, fixes cid#1324500

9 years agoMerge pull request #2752 from pieterlexis/run-geoip-tests
Pieter Lexis [Wed, 16 Sep 2015 11:32:20 +0000 (13:32 +0200)]
Merge pull request #2752 from pieterlexis/run-geoip-tests

Run geoip tests

9 years agoMerge remote-tracking branch 'origin/pr/2751' into run-geoip-tests
Pieter Lexis [Wed, 16 Sep 2015 09:20:36 +0000 (11:20 +0200)]
Merge remote-tracking branch 'origin/pr/2751' into run-geoip-tests

9 years agoFix geoip test suite
Aki Tuomi [Wed, 16 Sep 2015 09:16:30 +0000 (12:16 +0300)]
Fix geoip test suite

9 years agoInitialize d_fnum, fixes cid#1324500
Aki Tuomi [Wed, 16 Sep 2015 09:01:08 +0000 (12:01 +0300)]
Initialize d_fnum, fixes cid#1324500

9 years agoCompile the GeoIP backend in travis and run tests
Pieter Lexis [Mon, 14 Sep 2015 08:40:58 +0000 (10:40 +0200)]
Compile the GeoIP backend in travis and run tests

Install a newer boost (also needed for geosql later)

9 years agoMerge pull request #2646 from pieterlexis/SunOS
Pieter Lexis [Tue, 15 Sep 2015 09:40:53 +0000 (11:40 +0200)]
Merge pull request #2646 from pieterlexis/SunOS

SunOS additions and fixes

9 years agoMerge pull request #2736 from cmouse/geoip-direct-result
Pieter Lexis [Tue, 15 Sep 2015 07:23:47 +0000 (09:23 +0200)]
Merge pull request #2736 from cmouse/geoip-direct-result

Return result directly if available in GeoIPBackend

9 years agoMerge pull request #2742 from cmouse/gpgsql-truth
Peter van Dijk [Tue, 15 Sep 2015 06:34:26 +0000 (08:34 +0200)]
Merge pull request #2742 from cmouse/gpgsql-truth

Handle booleans correctly in gPGSql

9 years agoMerge pull request #2743 from cmouse/gsql-next-result-set
Peter van Dijk [Tue, 15 Sep 2015 06:33:44 +0000 (08:33 +0200)]
Merge pull request #2743 from cmouse/gsql-next-result-set

Support multiple results set in gMySQL and gPGSql

9 years agoMerge pull request #2679 from pieterlexis/issue-2432-check-zone-TLSA-wildcard-empty...
Pieter Lexis [Mon, 14 Sep 2015 12:12:28 +0000 (14:12 +0200)]
Merge pull request #2679 from pieterlexis/issue-2432-check-zone-TLSA-wildcard-empty-non-terminal

pdnssec: Check if addresses exist for TLSA hosts

9 years agoEscape portal identifier
Aki Tuomi [Mon, 14 Sep 2015 11:35:51 +0000 (14:35 +0300)]
Escape portal identifier

9 years agoSupport refcursor(s) in gPgSQL
Aki Tuomi [Sat, 12 Sep 2015 20:47:02 +0000 (23:47 +0300)]
Support refcursor(s) in gPgSQL

Allows stored procedures to use refcursor
or set of refcursors in order to return values.

9 years agoImplement multi result set support in gMySQL
Aki Tuomi [Sat, 12 Sep 2015 17:38:26 +0000 (20:38 +0300)]
Implement multi result set support in gMySQL

9 years agoMerge pull request #2744 from cmouse/goracle-improve-errors
Peter van Dijk [Mon, 14 Sep 2015 10:16:47 +0000 (12:16 +0200)]
Merge pull request #2744 from cmouse/goracle-improve-errors

Improve error logging in goracle

9 years agoMerge pull request #2738 from cmouse/geoip-rectify
Pieter Lexis [Mon, 14 Sep 2015 10:03:29 +0000 (12:03 +0200)]
Merge pull request #2738 from cmouse/geoip-rectify

Rectify records in GeoIPBackend

9 years agopdnssec: Check if records exist for TLSA hosts
Pieter Lexis [Thu, 28 May 2015 20:20:15 +0000 (22:20 +0200)]
pdnssec: Check if records exist for TLSA hosts

When a record _443._tcp.www.example.com.|TLSA exists and no record for
www.example.com., we emit a warning. Similarly, when
*.example.com. _does_ exist, we emit a warning, as
www.example.com. becomes an empty non-terminal at that point.

9 years agoUpdate test suite
Aki Tuomi [Mon, 14 Sep 2015 08:39:05 +0000 (11:39 +0300)]
Update test suite

Now tests direct and indirect response.

9 years agoSet scopemask for result during reply
Aki Tuomi [Mon, 14 Sep 2015 08:37:09 +0000 (11:37 +0300)]
Set scopemask for result during reply