]> granicus.if.org Git - pdns/log
pdns
10 years agoAPI: Don't require nameservers list for Slave zones
Christian Hofstaedtler [Tue, 20 May 2014 10:08:07 +0000 (12:08 +0200)]
API: Don't require nameservers list for Slave zones

When creating a Slave zone, it usually doesn't make a lot of sense
to create NS records, as they'll be overwritten by the slaving mechanism
anyway.
This allows not passing 'nameservers' in at all.

Fixes PowerDNS/pdnsapi#2.

10 years agoMerge pull request #1420 from zeha/api-testsuite-cleanup
Peter van Dijk [Tue, 20 May 2014 09:51:34 +0000 (11:51 +0200)]
Merge pull request #1420 from zeha/api-testsuite-cleanup

Cleanup regression-tests.api test suite

10 years agoMerge pull request #1419 from mind04/suck
Peter van Dijk [Tue, 20 May 2014 08:58:19 +0000 (10:58 +0200)]
Merge pull request #1419 from mind04/suck

fix an other uninitalized var in suck()

10 years agofix uninitalized var in suck()
Kees Monshouwer [Mon, 19 May 2014 13:41:56 +0000 (15:41 +0200)]
fix uninitalized var in suck()

10 years agoAPI: Fix decoding of symbols
Christian Hofstaedtler [Mon, 19 May 2014 15:48:41 +0000 (17:48 +0200)]
API: Fix decoding of symbols

=2F needs to be a slash, but we thought it was a #.

10 years agoCleanup regression-tests.api test suite
Christian Hofstaedtler [Mon, 19 May 2014 15:04:45 +0000 (17:04 +0200)]
Cleanup regression-tests.api test suite

Fix PEP8 stuff.
Also fix a not-actually-testing-the-output case.

10 years agoMerge pull request #1418 from mind04/bind
Peter van Dijk [Mon, 19 May 2014 13:17:19 +0000 (15:17 +0200)]
Merge pull request #1418 from mind04/bind

fix uninitialised values in bind backend

10 years agofix uninitialised values in bind backend
Kees Monshouwer [Mon, 19 May 2014 12:56:50 +0000 (14:56 +0200)]
fix uninitialised values in bind backend

10 years agoactually honour disabled (from json) during zone2sql for mysql or oracle
Peter van Dijk [Mon, 19 May 2014 11:24:14 +0000 (13:24 +0200)]
actually honour disabled (from json) during zone2sql for mysql or oracle

10 years agoMerge pull request #1414 from mind04/packetcache
Peter van Dijk [Mon, 19 May 2014 08:45:49 +0000 (10:45 +0200)]
Merge pull request #1414 from mind04/packetcache

packet cache improvements for recursive answers

10 years agoMerge pull request #1415 from mind04/bindcrash
Peter van Dijk [Mon, 19 May 2014 07:39:42 +0000 (09:39 +0200)]
Merge pull request #1415 from mind04/bindcrash

catch non-fatal exceptions in control listener loop

10 years agocatch non-fatal exceptions in control listener loop
Kees Monshouwer [Sat, 17 May 2014 22:37:56 +0000 (00:37 +0200)]
catch non-fatal exceptions in control listener loop

10 years agopacket cache improvements for recursive answers
Kees Monshouwer [Sat, 17 May 2014 17:17:00 +0000 (19:17 +0200)]
packet cache improvements for recursive answers
- fix tagging of recursive packets
- age ttl in packet cache for recursive results
- respect allow-recursion in packet cache

10 years agoMerge pull request #1399 from mind04/delete-tsig
Peter van Dijk [Fri, 16 May 2014 08:59:26 +0000 (10:59 +0200)]
Merge pull request #1399 from mind04/delete-tsig

pdnssec: fix segfault in delte-tsig-key

10 years agoMerge pull request #1407 from mind04/pdnssec
Peter van Dijk [Thu, 15 May 2014 12:45:15 +0000 (14:45 +0200)]
Merge pull request #1407 from mind04/pdnssec

pdnssec: fix segfault in list-all-zones without type and a little cleanup

10 years agoMerge pull request #1408 from mind04/pdnssec1
Peter van Dijk [Thu, 15 May 2014 12:44:09 +0000 (14:44 +0200)]
Merge pull request #1408 from mind04/pdnssec1

pdnssec: add increase-serial option to secure-all-zones

10 years agoMerge pull request #1409 from mind04/remote
Peter van Dijk [Thu, 15 May 2014 12:43:36 +0000 (14:43 +0200)]
Merge pull request #1409 from mind04/remote

add more remote-backend workaround magic to travis build

10 years agoMerge pull request #1410 from mind04/loglevel
Peter van Dijk [Thu, 15 May 2014 12:38:13 +0000 (14:38 +0200)]
Merge pull request #1410 from mind04/loglevel

lower loglevel to Info for fresh zones

10 years agolower loglevel to Info for fresh zones
Kees Monshouwer [Thu, 15 May 2014 06:48:21 +0000 (08:48 +0200)]
lower loglevel to Info for fresh zones

10 years agoadd more remote-backend workaround magic to travis build
Kees Monshouwer [Wed, 14 May 2014 20:26:50 +0000 (22:26 +0200)]
add more remote-backend workaround magic to travis build

10 years agopdnssec: add 'increase-serial' to secure-all-zones
Kees Monshouwer [Wed, 14 May 2014 19:33:38 +0000 (21:33 +0200)]
pdnssec: add 'increase-serial' to secure-all-zones
this option increases SOA serial for new signed zones

10 years agopdnssec: remove transaction in secure-all-zones
Kees Monshouwer [Wed, 14 May 2014 19:32:45 +0000 (21:32 +0200)]
pdnssec: remove transaction in secure-all-zones

10 years agopdnssec: clean up unnecessary scoped_ptr in listAllZones()
Kees Monshouwer [Wed, 14 May 2014 18:32:43 +0000 (20:32 +0200)]
pdnssec: clean up unnecessary scoped_ptr in listAllZones()

10 years agopdnssec: fix segfault in list-all-zones without type
Kees Monshouwer [Wed, 14 May 2014 18:16:58 +0000 (20:16 +0200)]
pdnssec: fix segfault in list-all-zones without type

10 years agoMerge pull request #1368 from mind04/signing-master
Peter van Dijk [Tue, 13 May 2014 14:59:27 +0000 (16:59 +0200)]
Merge pull request #1368 from mind04/signing-master

add rectify step before outgoing AXFR

10 years agoadd secure-all-zones command to pdnssec
Kees Monshouwer [Tue, 21 May 2013 22:21:29 +0000 (00:21 +0200)]
add secure-all-zones command to pdnssec

10 years agoMerge pull request #1305 from cmouse/experimental-pkcs11-support
Peter van Dijk [Tue, 13 May 2014 13:04:54 +0000 (15:04 +0200)]
Merge pull request #1305 from cmouse/experimental-pkcs11-support

Experimental pkcs11 support

10 years agoMerge pull request #1405 from fobser/addCMsgSrcAddr
Peter van Dijk [Tue, 13 May 2014 13:01:41 +0000 (15:01 +0200)]
Merge pull request #1405 from fobser/addCMsgSrcAddr

Only access cmsg->cmsg_len when cmsg is initialized.

10 years agoOnly access cmsg->cmsg_len when cmsg is initialized.
Florian Obser [Mon, 12 May 2014 09:10:42 +0000 (11:10 +0200)]
Only access cmsg->cmsg_len when cmsg is initialized.

When neither IP_PKTINFO nor IP_SENDSRCADDR are defined cmsg is not
initialized and leads to random crashes. While there initialize cmsg
to NULL which would have made it easier to find this bug.

10 years agoMerge pull request #1403 from rubenk/typos
bert hubert [Sun, 11 May 2014 17:40:02 +0000 (19:40 +0200)]
Merge pull request #1403 from rubenk/typos

Fix a few typos

10 years agoFix a few typos
Ruben Kerkhof [Sun, 11 May 2014 11:04:56 +0000 (13:04 +0200)]
Fix a few typos

10 years agoNow uses correct template for key material creation
Aki Tuomi [Tue, 15 Apr 2014 18:28:06 +0000 (21:28 +0300)]
Now uses correct template for key material creation

10 years agopdnssec hsm assign and create-key
Aki Tuomi [Tue, 15 Apr 2014 17:20:15 +0000 (20:20 +0300)]
pdnssec hsm assign and create-key

10 years agoAdd p11-kit-1 support
Aki Tuomi [Mon, 24 Feb 2014 10:33:02 +0000 (12:33 +0200)]
Add p11-kit-1 support

Skeleton for PKCS#11 signers

Add exceptions for key format

Rudimentary version, still needs cleanup

Some small tweaks for pkcs11

Remove dnssecinfra.cc from zone2*

Use pkcs11 when such file is detected

Code cleanup

Added pkcs11signers to test suite builds

Added few comments

Support key creation

Add p11-kit-1 support

Skeleton for PKCS#11 signers

Add exceptions for key format

Rudimentary version, still needs cleanup

Some small tweaks for pkcs11

Code cleanup

Added few comments

Support key creation

Avoid base64 for PKCS11 attributes

hsm assign and hsm create-key methods

10 years agoadd disable-axfr-rectify config option
Kees Monshouwer [Thu, 17 Apr 2014 22:05:10 +0000 (00:05 +0200)]
add disable-axfr-rectify config option

10 years agoadd rectify step before outgoing AXFR
Kees Monshouwer [Wed, 16 Apr 2014 19:39:51 +0000 (21:39 +0200)]
add rectify step before outgoing AXFR

10 years agoattach comments to qname, not zonename
Peter van Dijk [Tue, 6 May 2014 10:28:27 +0000 (12:28 +0200)]
attach comments to qname, not zonename

10 years agoMerge pull request #1398 from mind04/travis1
Peter van Dijk [Tue, 6 May 2014 10:01:01 +0000 (12:01 +0200)]
Merge pull request #1398 from mind04/travis1

remote-backend disarm broken http travis tests for now

10 years agoremote-backend disarm broken http travis tests for now
Kees Monshouwer [Tue, 6 May 2014 08:23:15 +0000 (10:23 +0200)]
remote-backend disarm broken http travis tests for now

10 years agoremove 'bert hubert' from .deb build script and add generic name & email address
bert hubert [Fri, 2 May 2014 16:45:16 +0000 (19:45 +0300)]
remove 'bert hubert' from .deb build script and add generic name & email address

10 years agoMerge pull request #1388 from zeha/api-zone-export
Peter van Dijk [Wed, 30 Apr 2014 14:17:45 +0000 (16:17 +0200)]
Merge pull request #1388 from zeha/api-zone-export

API: Auth: Add zone/<id>/export route

10 years agoMerge pull request #1389 from paddg/help_is_not_an_error
Peter van Dijk [Tue, 29 Apr 2014 10:55:39 +0000 (12:55 +0200)]
Merge pull request #1389 from paddg/help_is_not_an_error

to ask for help is not an error

10 years agoto ask for help is not an error
Winfried Angele [Tue, 29 Apr 2014 09:20:31 +0000 (11:20 +0200)]
to ask for help is not an error

10 years agoAPI: Auth: Add zone/<id>/export route
Christian Hofstaedtler [Mon, 28 Apr 2014 22:44:46 +0000 (00:44 +0200)]
API: Auth: Add zone/<id>/export route

10 years agoMerge pull request #1387 from zeha/api-zone-creation-fixes
Peter van Dijk [Mon, 28 Apr 2014 13:39:53 +0000 (15:39 +0200)]
Merge pull request #1387 from zeha/api-zone-creation-fixes

API: Fixes to zone creation (Auth)

10 years agoAPI tests: rewrite test to ensure API stability
Christian Hofstaedtler [Mon, 28 Apr 2014 12:53:41 +0000 (14:53 +0200)]
API tests: rewrite test to ensure API stability

Let's test the fact that we don't need to send type/name in individual
comment entries for PATCH.

10 years agoAPI: Support adding records/comments at zone creation
Christian Hofstaedtler [Mon, 28 Apr 2014 12:36:50 +0000 (14:36 +0200)]
API: Support adding records/comments at zone creation

Records and comments can now be supplied at zone creation time;
a given SOA record replaces the automatically generated SOA.
If no nameservers are given, we assume the user supplied NS
records as well. (This now allows creating a zone without
NS records, which may be useful for slaves.)

Default SOA serial is now 0 to match other parts of PowerDNS.
SOA-EDIT-API is now honored at creation time.

Fixes #1379.
Fixes #1376.

10 years agoAPI: Don't crash when given non-string as nameserver
Christian Hofstaedtler [Mon, 28 Apr 2014 10:44:00 +0000 (12:44 +0200)]
API: Don't crash when given non-string as nameserver

Fixes #1375.

10 years agoMention default-soa-mail in docs
Christian Hofstaedtler [Mon, 28 Apr 2014 10:36:19 +0000 (12:36 +0200)]
Mention default-soa-mail in docs

Fixes #1382.

10 years agoMerge pull request #1367 from mind04/signing-slave
Peter van Dijk [Fri, 25 Apr 2014 10:18:09 +0000 (12:18 +0200)]
Merge pull request #1367 from mind04/signing-slave

fix axfr in metadata handling and code cleanup

10 years agoMerge pull request #1377 from cmouse/ensure_record_consumed
Peter van Dijk [Fri, 25 Apr 2014 09:36:22 +0000 (11:36 +0200)]
Merge pull request #1377 from cmouse/ensure_record_consumed

Ensure that entire text record gets consumed on parsing

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 25 Apr 2014 07:29:19 +0000 (09:29 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns

10 years agoactually insert the comments
bert hubert [Fri, 25 Apr 2014 07:28:58 +0000 (09:28 +0200)]
actually insert the comments

10 years agoMerge pull request #1378 from mind04/goracle-schema
Peter van Dijk [Thu, 24 Apr 2014 16:45:15 +0000 (18:45 +0200)]
Merge pull request #1378 from mind04/goracle-schema

goracle schema cleanup/update

10 years agocomment is a reserved word in oracle
Kees Monshouwer [Thu, 24 Apr 2014 16:23:07 +0000 (18:23 +0200)]
comment is a reserved word in oracle

10 years agodrop table comments in goracle-drop-schema.sql
Kees Monshouwer [Thu, 24 Apr 2014 16:21:31 +0000 (18:21 +0200)]
drop table comments in goracle-drop-schema.sql

10 years agocleanup goracle database schema
Kees Monshouwer [Thu, 24 Apr 2014 16:20:34 +0000 (18:20 +0200)]
cleanup goracle database schema

10 years agoCheck that parser throws when all data is not consumed
Aki Tuomi [Thu, 24 Apr 2014 14:24:41 +0000 (17:24 +0300)]
Check that parser throws when all data is not consumed

10 years agoRequire that all text data is consumed when parsing records
Aki Tuomi [Thu, 24 Apr 2014 14:24:28 +0000 (17:24 +0300)]
Require that all text data is consumed when parsing records

10 years agoMerge pull request #1373 from cmouse/fix-issue-1371
Peter van Dijk [Thu, 24 Apr 2014 12:41:54 +0000 (14:41 +0200)]
Merge pull request #1373 from cmouse/fix-issue-1371

Fix SSHFP record parsing

10 years agoMerge pull request #1374 from mind04/travis
Peter van Dijk [Thu, 24 Apr 2014 12:38:58 +0000 (14:38 +0200)]
Merge pull request #1374 from mind04/travis

disarm two api tests after 4bd3d119

10 years agodisarm two api tests after 4bd3d119
Kees Monshouwer [Thu, 24 Apr 2014 12:21:41 +0000 (14:21 +0200)]
disarm two api tests after 4bd3d119

10 years agoI think this will finally give us working zone2sql merge
bert hubert [Thu, 24 Apr 2014 07:34:53 +0000 (09:34 +0200)]
I think this will finally give us working zone2sql merge

10 years agoMerge branch 'jsonzone2sql'
bert hubert [Thu, 24 Apr 2014 07:26:39 +0000 (09:26 +0200)]
Merge branch 'jsonzone2sql'

Conflicts:
pdns/zone2sql.cc
pdns/zoneparser-tng.hh

10 years agomake json-comments optional & off by default, remove switch from zoneparser-tng,...
bert hubert [Thu, 24 Apr 2014 07:23:14 +0000 (09:23 +0200)]
make json-comments optional & off by default, remove switch from zoneparser-tng, turn on with get()

10 years agoMerge branch 'jsonzone2sql' of github.com:ahupowerdns/pdns into jsonzone2sql
bert hubert [Thu, 24 Apr 2014 07:14:14 +0000 (09:14 +0200)]
Merge branch 'jsonzone2sql' of github.com:ahupowerdns/pdns into jsonzone2sql

10 years agothe ever vigilant Job Snijders spotted a typo & general lack of comments
bert hubert [Wed, 23 Apr 2014 21:38:07 +0000 (23:38 +0200)]
the ever vigilant Job Snijders spotted a typo & general lack of comments

10 years agomake pdns-distributes-queries use a hash so queries get sent to the same thread....
bert hubert [Wed, 23 Apr 2014 20:33:18 +0000 (22:33 +0200)]
make pdns-distributes-queries use a hash so queries get sent to the same thread. Original ideal from https://github.com/paddg/pdns/commit/9e176976e2499998787e15a45fbe5da250d20fc1
Astoundingly effective, approximately halves CPU usage.

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Wed, 23 Apr 2014 19:47:47 +0000 (21:47 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns

10 years agodnsreplay had odd race conditions in sending/reseinding packets
bert hubert [Wed, 23 Apr 2014 19:42:31 +0000 (21:42 +0200)]
dnsreplay had odd race conditions in sending/reseinding packets
We had logic to pre-read the first packet for better error reporting, and then not read it at the top of the while loop,
but process the pre-read packet. However, this logic kept engaging, causing us to retransmit the previous packet a lot, depending
on the size of our retransmit window, which in turn depended on the receiver characteristic. Horrible.
dnsreplay may previously have overstated the number of duplicate packets because of this.

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Wed, 23 Apr 2014 14:57:28 +0000 (16:57 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns

10 years agocomment out full database linear search for the API for now.
bert hubert [Wed, 23 Apr 2014 14:57:04 +0000 (16:57 +0200)]
comment out full database linear search for the API for now.

10 years agoTest for issue 1371, SSHFP record parser truncates at white space
Aki Tuomi [Wed, 23 Apr 2014 13:32:06 +0000 (16:32 +0300)]
Test for issue 1371, SSHFP record parser truncates at white space

10 years agoMake SSHFP read space separated fingerprints
Aki Tuomi [Wed, 23 Apr 2014 13:31:36 +0000 (16:31 +0300)]
Make SSHFP read space separated fingerprints

10 years agofix how we emit 'disabled' for 't' and 'f' SQL, plus implement feature to supress...
bert hubert [Wed, 23 Apr 2014 12:59:56 +0000 (14:59 +0200)]
fix how we emit 'disabled' for 't' and 'f' SQL, plus implement feature to supress duplicate SOAs and turn it on by default

10 years agoRevert "appears to do something"
bert hubert [Wed, 23 Apr 2014 07:09:26 +0000 (09:09 +0200)]
Revert "appears to do something"

This reverts commit a2e9e5a5891f74ce4f15fa79395085915f449340.

10 years agofix botched fix for s_quiet
bert hubert [Wed, 23 Apr 2014 05:50:03 +0000 (07:50 +0200)]
fix botched fix for s_quiet

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Wed, 23 Apr 2014 05:54:24 +0000 (07:54 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns

10 years agofix botched fix for s_quiet
bert hubert [Wed, 23 Apr 2014 05:50:03 +0000 (07:50 +0200)]
fix botched fix for s_quiet

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns into jsonzone2sql
bert hubert [Wed, 23 Apr 2014 05:49:18 +0000 (07:49 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns into jsonzone2sql

10 years agopdnssec: fix segfault in delte-tsig-key
Kees Monshouwer [Mon, 21 Apr 2014 19:20:59 +0000 (21:20 +0200)]
pdnssec: fix segfault in delte-tsig-key

10 years agodnsreplay emitted output even with --quiet, fixed
bert hubert [Tue, 22 Apr 2014 13:28:59 +0000 (15:28 +0200)]
dnsreplay emitted output even with --quiet, fixed

10 years agoappears to do something
bert hubert [Tue, 22 Apr 2014 11:22:03 +0000 (13:22 +0200)]
appears to do something

10 years agoMerge pull request #1370 from mind04/check-zone
bert hubert [Fri, 18 Apr 2014 18:57:22 +0000 (20:57 +0200)]
Merge pull request #1370 from mind04/check-zone

pdnssc check-zone, ignore RRSIGs in presigned zones

10 years agopdnssc check zone, ignore RRSIGs in presigned zones
Kees Monshouwer [Fri, 18 Apr 2014 18:01:15 +0000 (20:01 +0200)]
pdnssc check zone, ignore RRSIGs in presigned zones

10 years agoit is 2014, also on the web
bert hubert [Fri, 18 Apr 2014 12:25:26 +0000 (14:25 +0200)]
it is 2014, also on the web

10 years agomove a common error behind log-common-errors filter
bert hubert [Fri, 18 Apr 2014 10:16:10 +0000 (12:16 +0200)]
move a common error behind log-common-errors filter

10 years agodocument minimum-ttl-override, rec_control set-minimum-ttl, status of pdns-distribute...
bert hubert [Fri, 18 Apr 2014 09:58:39 +0000 (11:58 +0200)]
document minimum-ttl-override, rec_control set-minimum-ttl, status of pdns-distributes-queries

10 years agot_id check was wrong for pdns-distributes-queries
bert hubert [Fri, 18 Apr 2014 07:14:52 +0000 (09:14 +0200)]
t_id check was wrong for pdns-distributes-queries

10 years agoimplement minimum-ttl-override setting and rec_constrol set-minimum-ttl for dealing...
bert hubert [Fri, 18 Apr 2014 06:48:43 +0000 (08:48 +0200)]
implement minimum-ttl-override setting and rec_constrol set-minimum-ttl for dealing with DoS

10 years agoprevent duplicate logging of TCP overflows
bert hubert [Fri, 18 Apr 2014 05:37:40 +0000 (07:37 +0200)]
prevent duplicate logging of TCP overflows

10 years agomissed a bit of rec 3.6 release notes
bert hubert [Thu, 17 Apr 2014 15:20:13 +0000 (17:20 +0200)]
missed a bit of rec 3.6 release notes

10 years agocandidate 3.6 recursor release notes
bert hubert [Thu, 17 Apr 2014 10:28:03 +0000 (12:28 +0200)]
candidate 3.6 recursor release notes

10 years agowhitespace
Kees Monshouwer [Tue, 15 Apr 2014 22:29:15 +0000 (00:29 +0200)]
whitespace

10 years agofix axfr in metadata handling and code cleanup
Kees Monshouwer [Tue, 15 Apr 2014 22:26:48 +0000 (00:26 +0200)]
fix axfr in metadata handling and code cleanup

10 years agoMerge pull request #1363 from mind04/fix
Peter van Dijk [Mon, 14 Apr 2014 12:52:11 +0000 (14:52 +0200)]
Merge pull request #1363 from mind04/fix

cleanup regression test scripts

10 years agorun nodnssec slave tests without the (backend)-dnssec option
Kees Monshouwer [Mon, 14 Apr 2014 11:35:03 +0000 (13:35 +0200)]
run nodnssec slave tests without the (backend)-dnssec option

10 years agofix feedEnt query
Kees Monshouwer [Mon, 14 Apr 2014 06:54:21 +0000 (08:54 +0200)]
fix feedEnt query

10 years agoadd tests new tests to travis.yml
Kees Monshouwer [Mon, 14 Apr 2014 06:51:20 +0000 (08:51 +0200)]
add tests new tests to travis.yml

10 years agouse pdnssec for tsig keys and metadata in tests
Kees Monshouwer [Mon, 14 Apr 2014 06:47:38 +0000 (08:47 +0200)]
use pdnssec for tsig keys and metadata in tests