]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
13 years agoskip dyndns tests for non mysql backends
Kees Monshouwer [Thu, 18 Jul 2013 22:27:05 +0000 (00:27 +0200)] 
skip dyndns tests for non mysql backends

13 years agos/AhuException/PDNSException/g
Ruben d'Arco [Thu, 18 Jul 2013 20:10:55 +0000 (22:10 +0200)] 
s/AhuException/PDNSException/g

13 years agoCorrect --launch line.
Ruben d'Arco [Thu, 18 Jul 2013 20:10:37 +0000 (22:10 +0200)] 
Correct --launch line.

It's the funky new stuff!

13 years agoMerge branch 'rfc2136' of https://github.com/mind04/pdns into rfc2136
Ruben d'Arco [Thu, 18 Jul 2013 19:58:05 +0000 (21:58 +0200)] 
Merge branch 'rfc2136' of https://github.com/mind04/pdns into rfc2136

Conflicts:
.travis.yml
pdns/common_startup.cc
pdns/dnspacket.cc
pdns/dnspacket.hh
regression-tests/start-test-stop

13 years agofix recursor build due to CONFIGDIR/SYSCONFDIR change
Peter van Dijk [Thu, 18 Jul 2013 17:01:51 +0000 (19:01 +0200)] 
fix recursor build due to CONFIGDIR/SYSCONFDIR change

13 years agoMerge pull request #848 from zeha/f/issue-734
Peter van Dijk [Thu, 18 Jul 2013 16:47:58 +0000 (09:47 -0700)] 
Merge pull request #848 from zeha/f/issue-734

Allow overriding of SYSCONFDIR, LOCALSTATEDIR from recursor Makefile

13 years agoMerge pull request #881 from cmouse/config-incremental-support
Peter van Dijk [Thu, 18 Jul 2013 16:45:40 +0000 (09:45 -0700)] 
Merge pull request #881 from cmouse/config-incremental-support

Support for += syntax for options, candidate for ticket #502

13 years agoMerge pull request #908 from mind04/locking
Peter van Dijk [Thu, 18 Jul 2013 16:42:15 +0000 (09:42 -0700)] 
Merge pull request #908 from mind04/locking

add transaction-isolation=READ-COMMITTED to my.cnf

13 years agoMerge pull request #910 from stbuehler/gpgsql-backend-config
Peter van Dijk [Thu, 18 Jul 2013 16:41:42 +0000 (09:41 -0700)] 
Merge pull request #910 from stbuehler/gpgsql-backend-config

Gpgsql backend config

13 years agocleanup, remove whitespace
Kees Monshouwer [Sat, 13 Jul 2013 09:06:19 +0000 (11:06 +0200)] 
cleanup, remove whitespace

13 years agoRevert "Use new DNSResourceRecord constructor in resolver."
Kees Monshouwer [Fri, 12 Jul 2013 22:04:11 +0000 (00:04 +0200)] 
Revert "Use new DNSResourceRecord constructor in resolver."
It broke on the _root._tcp.dc.test.com SVR record

This reverts commit 53840390bb31e6176e2955a26bd494099d19ac1e.

13 years agoenable 1dyndns-big-package test
Kees Monshouwer [Fri, 12 Jul 2013 19:21:55 +0000 (21:21 +0200)] 
enable 1dyndns-big-package test

13 years agobump TCP receice buffer to maximum size
Kees Monshouwer [Fri, 12 Jul 2013 14:11:40 +0000 (16:11 +0200)] 
bump TCP receice buffer to maximum size

13 years agoMerge pull request #916 from mind04/dnskey
Peter van Dijk [Thu, 18 Jul 2013 12:30:53 +0000 (05:30 -0700)] 
Merge pull request #916 from mind04/dnskey

output ZSK DNSKEY records if experimental-direct-dnskey support is enabl...

13 years agooutput ZSK DNSKEY records if experimental-direct-dnskey support is enabled 916/head
Kees Monshouwer [Mon, 15 Jul 2013 15:11:57 +0000 (17:11 +0200)] 
output ZSK DNSKEY records if experimental-direct-dnskey support is enabled

13 years agoSUNWotis suggests using AF_UNIX over AF_LOCAL - http://stackoverflow.com/questions...
bert hubert [Sun, 14 Jul 2013 21:11:29 +0000 (23:11 +0200)] 
SUNWotis suggests using AF_UNIX over AF_LOCAL - http://stackoverflow.com/questions/6729366/what-is-the-difference-between-af-inet-and-pf-inet-in-socket-programming

13 years agoadd unit test to check if we detected byte order correctly
bert hubert [Sun, 14 Jul 2013 18:24:04 +0000 (20:24 +0200)] 
add unit test to check if we detected byte order correctly

13 years agoRemoved debugging 881/head
Aki Tuomi [Sun, 14 Jul 2013 16:41:15 +0000 (19:41 +0300)] 
Removed debugging

13 years agoFixed argument handling
Aki Tuomi [Sun, 14 Jul 2013 16:39:39 +0000 (19:39 +0300)] 
Fixed argument handling

13 years agoImplement sort properly with POSIX locale
Aki Tuomi [Sun, 14 Jul 2013 15:28:15 +0000 (18:28 +0300)] 
Implement sort properly with POSIX locale

13 years agoNow sorts includes, fixes #913
Aki Tuomi [Sun, 14 Jul 2013 14:32:36 +0000 (17:32 +0300)] 
Now sorts includes, fixes #913

13 years agoallow empty parent
Kees Monshouwer [Sun, 14 Jul 2013 00:02:37 +0000 (02:02 +0200)] 
allow empty parent

13 years agoSupport for += syntax for options, candidate for ticket #502
Aki Tuomi [Wed, 26 Jun 2013 20:40:52 +0000 (23:40 +0300)] 
Support for += syntax for options, candidate for ticket #502

13 years agoadd launch+= option to regression tests
Kees Monshouwer [Thu, 27 Jun 2013 08:02:38 +0000 (10:02 +0200)] 
add launch+= option to regression tests

13 years agomake sure we have a parrent option
Kees Monshouwer [Thu, 27 Jun 2013 07:41:51 +0000 (09:41 +0200)] 
make sure we have a parrent option

13 years agoSupport for += syntax for options, candidate for ticket #502
Aki Tuomi [Wed, 26 Jun 2013 20:40:52 +0000 (23:40 +0300)] 
Support for += syntax for options, candidate for ticket #502

13 years agoour OPT testing appears to have been little-endian only, this might improve things
bert hubert [Sun, 14 Jul 2013 09:04:09 +0000 (11:04 +0200)] 
our OPT testing appears to have been little-endian only, this might improve things

13 years agofor ages... we messed up base64 decoding on big endian platforms. The shame.
bert hubert [Sun, 14 Jul 2013 08:27:06 +0000 (10:27 +0200)] 
for ages... we messed up base64 decoding on big endian platforms. The shame.

13 years agoSOA-EDIT: fix INCEPTION-INCREMENT handling 911/head
Stefan Bühler [Sat, 13 Jul 2013 11:37:27 +0000 (13:37 +0200)] 
SOA-EDIT: fix INCEPTION-INCREMENT handling

13 years agogpsqlbackend: use empty defaults for dbname and user; libpq will use the current... 910/head
Stefan Bühler [Sat, 13 Jul 2013 10:37:49 +0000 (12:37 +0200)] 
gpsqlbackend: use empty defaults for dbname and user; libpq will use the current user name for both by default

13 years agogpsqlbackend: don't append empty dbname=/user= values to connect string
Stefan Bühler [Sat, 13 Jul 2013 10:36:04 +0000 (12:36 +0200)] 
gpsqlbackend: don't append empty dbname=/user= values to connect string

13 years agoincrease UDP receive buffer size
Kees Monshouwer [Fri, 12 Jul 2013 12:04:21 +0000 (14:04 +0200)] 
increase UDP receive buffer size

13 years agoupdate pdns.conf-dist with udp-truncation-threshold setting
bert hubert [Fri, 12 Jul 2013 09:09:11 +0000 (11:09 +0200)] 
update pdns.conf-dist with udp-truncation-threshold setting

13 years agomerge: implement udp-truncation-threshold to override the previous 1680 byte maximum...
Kees Monshouwer [Fri, 12 Jul 2013 17:44:23 +0000 (19:44 +0200)] 
merge: implement udp-truncation-threshold to override the previous 1680 byte maximum response datagram size - no matter what EDNS0 said. Plus document it.

13 years agoadd transaction-isolation=READ-COMMITTED to my.cnf in travis.yml 908/head
Kees Monshouwer [Tue, 9 Jul 2013 14:12:08 +0000 (16:12 +0200)] 
add transaction-isolation=READ-COMMITTED to my.cnf in travis.yml

13 years agoFix DS and NS add in different order
Ruben d'Arco [Wed, 22 May 2013 17:40:31 +0000 (19:40 +0200)] 
Fix DS and NS add in different order

13 years agoCorrectly add DS record and correctly set ordername to NULL in narrow mode
Ruben d'Arco [Tue, 21 May 2013 20:08:33 +0000 (22:08 +0200)] 
Correctly add DS record and correctly set ordername to NULL in narrow mode

13 years agoHidesoadetails for deep-delegate test
Ruben d'Arco [Mon, 20 May 2013 22:20:21 +0000 (00:20 +0200)] 
Hidesoadetails for deep-delegate test

13 years agoFix deep-add-delete test again
Ruben d'Arco [Mon, 20 May 2013 22:08:56 +0000 (00:08 +0200)] 
Fix deep-add-delete test again

13 years agoredo rectify after delete NSEC3PARAM
Kees Monshouwer [Tue, 21 May 2013 17:56:29 +0000 (19:56 +0200)] 
redo rectify after delete NSEC3PARAM

13 years agodisable mysqldiff debug output
Kees Monshouwer [Mon, 20 May 2013 19:40:51 +0000 (21:40 +0200)] 
disable mysqldiff debug output

13 years agoredo rectify after add/update NSEC3PARAM
Kees Monshouwer [Mon, 20 May 2013 19:37:45 +0000 (21:37 +0200)] 
redo rectify after add/update NSEC3PARAM

13 years agoAdd add-delete-ds test and minor fix
Ruben d'Arco [Mon, 20 May 2013 21:46:59 +0000 (23:46 +0200)] 
Add add-delete-ds test and minor fix

13 years agoAdd mysqldiff to 1dyndns-update-delegate test
Ruben d'Arco [Mon, 20 May 2013 18:14:32 +0000 (20:14 +0200)] 
Add mysqldiff to 1dyndns-update-delegate test

13 years agoFix crash when deleting deep delegate with others
Ruben d'Arco [Sun, 19 May 2013 14:04:36 +0000 (16:04 +0200)] 
Fix crash when deleting deep delegate with others

13 years agoAdd optout flag to test
Ruben d'Arco [Sun, 19 May 2013 12:24:42 +0000 (14:24 +0200)] 
Add optout flag to test

13 years agoAdd mysqldiff to 1dyndns-update-nsec3params
Ruben d'Arco [Sun, 19 May 2013 12:21:26 +0000 (14:21 +0200)] 
Add mysqldiff to 1dyndns-update-nsec3params

13 years agoAvoid warning
Ruben d'Arco [Sun, 19 May 2013 09:49:27 +0000 (11:49 +0200)] 
Avoid warning

rfc2136handler.cc: In member function ‘uint16_t PacketHandler::performUpdate(const string&, const DNSRecord*, DomainInfo*, bool, bool*, bool*, NSEC3PARAMRecordContent*, bool*)’:
rfc2136handler.cc:475:14: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]

13 years agoFix rebase conflicts failures
Ruben d'Arco [Sun, 19 May 2013 09:13:52 +0000 (11:13 +0200)] 
Fix rebase conflicts failures

13 years agoRemove duplicate test
Ruben d'Arco [Sat, 18 May 2013 18:25:07 +0000 (20:25 +0200)] 
Remove duplicate test

13 years agoFix optout results for delegate tests
Ruben d'Arco [Sat, 18 May 2013 17:54:58 +0000 (19:54 +0200)] 
Fix optout results for delegate tests

13 years agoCorrect update-delegate-in-between & add mysqldiff
Ruben d'Arco [Sat, 18 May 2013 12:18:10 +0000 (14:18 +0200)] 
Correct update-delegate-in-between & add mysqldiff

13 years agoCorrect update-deep-add-delete for auth=1 ENTs
Ruben d'Arco [Sat, 18 May 2013 11:57:52 +0000 (13:57 +0200)] 
Correct update-deep-add-delete for auth=1 ENTs

13 years agoCorrectly add NSEC3PARAM
Ruben d'Arco [Sat, 18 May 2013 10:14:50 +0000 (12:14 +0200)] 
Correctly add NSEC3PARAM

13 years agoKeep ENT's auth=1
Ruben d'Arco [Thu, 16 May 2013 20:49:51 +0000 (22:49 +0200)] 
Keep ENT's auth=1

13 years agoAlso set ordername on delegate below delegate
Ruben d'Arco [Thu, 16 May 2013 19:46:06 +0000 (21:46 +0200)] 
Also set ordername on delegate below delegate

13 years agoCorrectly remove NSEC3PARAM with delegate in zone
Ruben d'Arco [Wed, 15 May 2013 20:13:15 +0000 (22:13 +0200)] 
Correctly remove NSEC3PARAM with delegate in zone

13 years agoadd 'at apex' check for inserted DNSKEY records
Kees Monshouwer [Mon, 13 May 2013 21:16:42 +0000 (23:16 +0200)] 
add 'at apex' check for inserted DNSKEY records

13 years agoadd experimental direct dnskey support to rfc2136
Kees Monshouwer [Mon, 13 May 2013 20:10:28 +0000 (22:10 +0200)] 
add experimental direct dnskey support to rfc2136

13 years agoupdate expected testresults for NSEC3[optout]
Kees Monshouwer [Mon, 13 May 2013 19:41:14 +0000 (21:41 +0200)] 
update expected testresults for NSEC3[optout]

13 years agopermissions, permissions and more permissions
Kees Monshouwer [Mon, 13 May 2013 19:22:49 +0000 (21:22 +0200)] 
permissions, permissions and more permissions

13 years agoDelete NSEC3PARAM without extra query.
Ruben d'Arco [Mon, 13 May 2013 08:00:15 +0000 (10:00 +0200)] 
Delete NSEC3PARAM without extra query.

[ci skip]

13 years agoCorrect deletion of NSEC3PARAM
Ruben d'Arco [Mon, 13 May 2013 07:31:34 +0000 (09:31 +0200)] 
Correct deletion of NSEC3PARAM

13 years agotypo
Kees Monshouwer [Fri, 10 May 2013 19:31:53 +0000 (21:31 +0200)] 
typo

13 years agoCorrectly add delegate in NSEC3
Ruben d'Arco [Fri, 10 May 2013 19:09:43 +0000 (21:09 +0200)] 
Correctly add delegate in NSEC3

13 years agoAdd mysqldiff output to gitignore.
Ruben d'Arco [Fri, 10 May 2013 16:19:25 +0000 (18:19 +0200)] 
Add mysqldiff output to gitignore.

13 years agoAdd pdns.conf for testing
Ruben d'Arco [Fri, 10 May 2013 16:01:16 +0000 (18:01 +0200)] 
Add pdns.conf for testing

13 years agoLogline and test description updated
Ruben d'Arco [Fri, 10 May 2013 15:45:37 +0000 (17:45 +0200)] 
Logline and test description updated

13 years agoSet correct auth flag for adding APEX NS
Ruben d'Arco [Fri, 10 May 2013 06:15:03 +0000 (08:15 +0200)] 
Set correct auth flag for adding APEX NS

We did not set auth correctly, because of that, we started seeing that as a delegate being added.

13 years agoDo not insert ENT when adding delegate
Ruben d'Arco [Thu, 9 May 2013 21:34:47 +0000 (23:34 +0200)] 
Do not insert ENT when adding delegate

13 years agoCorrect inserting of ENT records
Ruben d'Arco [Thu, 9 May 2013 21:00:53 +0000 (23:00 +0200)] 
Correct inserting of ENT records

13 years agoFix narrow test result
Ruben d'Arco [Thu, 9 May 2013 19:54:39 +0000 (21:54 +0200)] 
Fix narrow test result

13 years agoCorrect odername/auth when increasing serial
Ruben d'Arco [Thu, 9 May 2013 19:44:44 +0000 (21:44 +0200)] 
Correct odername/auth when increasing serial

13 years agoAdd regression test for previous commit
Ruben d'Arco [Thu, 9 May 2013 18:43:40 +0000 (20:43 +0200)] 
Add regression test for previous commit

13 years agoshow ent records in mysqldiff output
Kees Monshouwer [Thu, 9 May 2013 18:36:08 +0000 (20:36 +0200)] 
show ent records in mysqldiff output

13 years agoDo not insert ENT when delegate above delegate
Ruben d'Arco [Thu, 9 May 2013 18:18:53 +0000 (20:18 +0200)] 
Do not insert ENT when delegate above delegate

consider these records:
a.b.c.delegate.test.dyndns 600 NS ns1.test.dyndns
c.delegate.test.dyndns 600 NS ns1.test.dyndns

When deleting c.delegate.test.dynds we would search for records below
and find a.b.c.delegate.test.dyndns. This would cause a ENT to be inserted.

So, if we delete something at a high level, we make sure we ignore NS records that are below it when searching to see
if we need to insert ENT's.

13 years agoimprove mysqldiff output format
Kees Monshouwer [Thu, 9 May 2013 10:41:08 +0000 (12:41 +0200)] 
improve mysqldiff output format

13 years agoadd dyndns db based test
Kees Monshouwer [Wed, 8 May 2013 22:48:46 +0000 (00:48 +0200)] 
add dyndns db based test

13 years agoSkip all dyndns tests when testing presigned
Ruben d'Arco [Tue, 23 Apr 2013 19:52:14 +0000 (21:52 +0200)] 
Skip all dyndns tests when testing presigned

The test are performed on the slave, which forwards the package to the master.
This in theorie should make it work, but for the slave to receive the update, means we have to wait for the slave to receive an update of the domain. This is something that impacts the testset a bit too much and thus all dyndns tests are skipped when running in presigned more.

13 years agoAdd non-dnssec expected_result to deep-add-delete
Ruben d'Arco [Tue, 23 Apr 2013 19:38:25 +0000 (21:38 +0200)] 
Add non-dnssec expected_result to deep-add-delete

13 years agoAdd skip.nodyndns to nsec3param tests
Ruben d'Arco [Tue, 23 Apr 2013 19:06:21 +0000 (21:06 +0200)] 
Add skip.nodyndns to nsec3param tests

13 years agoCode cleanup, move commitTransaction within try-block
Ruben d'Arco [Sun, 10 Mar 2013 16:19:18 +0000 (17:19 +0100)] 
Code cleanup, move commitTransaction within try-block

13 years agoSmall optimization in deletion of 'deep' record
Ruben d'Arco [Sun, 10 Mar 2013 11:49:40 +0000 (12:49 +0100)] 
Small optimization in deletion of 'deep' record

13 years agoExtra test check to use correct NSEC3 params
Ruben d'Arco [Sun, 10 Mar 2013 09:32:17 +0000 (10:32 +0100)] 
Extra test check to use correct NSEC3 params

13 years agoAdd correct handling of DNSSEC records in rfc2136
Ruben d'Arco [Thu, 7 Mar 2013 14:42:00 +0000 (15:42 +0100)] 
Add correct handling of DNSSEC records in rfc2136

Ignore NSEC or NSEC3 records, as they are never stored in the records table.
Allow adding/removing/updating of NSEC3PARAM's
Also updated start-test-stop to remove *_tests files before starting, as we might have one left from
a previous test.

13 years agoReturn Refused when we are not forwarding a packet.
Ruben d'Arco [Sun, 3 Mar 2013 11:47:27 +0000 (12:47 +0100)] 
Return Refused when we are not forwarding a packet.

13 years agoAdd logging to increaseSerial and make sure we count it in rfc2136-changes
Ruben d'Arco [Sun, 3 Mar 2013 10:05:49 +0000 (11:05 +0100)] 
Add logging to increaseSerial and make sure we count it in rfc2136-changes

13 years agoAdd rfc2136-changes statbag
Ruben d'Arco [Sun, 3 Mar 2013 10:05:04 +0000 (11:05 +0100)] 
Add rfc2136-changes statbag

13 years agofix auth and ordername after replacing a record
Ruben d'Arco [Sun, 3 Mar 2013 07:14:00 +0000 (08:14 +0100)] 
fix auth and ordername after replacing a record

The replaceRRSet does not keep the auth & ordername fields.

13 years agoRemove old/unused code - Guard is never used
Ruben d'Arco [Sun, 3 Mar 2013 07:02:12 +0000 (08:02 +0100)] 
Remove old/unused code - Guard is never used

13 years agoAdd lock to rfc2136 handling to fix deadlock issue
Ruben d'Arco [Sun, 3 Mar 2013 07:01:41 +0000 (08:01 +0100)] 
Add lock to rfc2136 handling to fix deadlock issue

We receive
Mar 03 07:40:06 UPDATE (9044) from 127.0.0.3 for test.dyndns: Caught SSqlException: Failed to execute mysql_query, perhaps connection died? Err=1: Deadlock found when trying to get lock; try restarting transaction; Sending ServFail!

if we don't.

13 years agoAdd extra log output and message id to logline
Ruben d'Arco [Sun, 3 Mar 2013 06:32:19 +0000 (07:32 +0100)] 
Add extra log output and message id to logline

THe message id is useful when multiple updates come in, makes it unique.

13 years agoRectify SOA record after increaseSerial
Ruben d'Arco [Sat, 2 Mar 2013 22:02:18 +0000 (23:02 +0100)] 
Rectify SOA record after increaseSerial

13 years agoUpdate nobackend/runtests to exit with failure and add to travis build.
Ruben d'Arco [Fri, 1 Mar 2013 16:35:16 +0000 (17:35 +0100)] 
Update nobackend/runtests to exit with failure and add to travis build.

13 years agoUpdated pdns.conf-dist to have rfc2136 options
Ruben d'Arco [Fri, 1 Mar 2013 16:33:00 +0000 (17:33 +0100)] 
Updated pdns.conf-dist to have rfc2136 options

13 years agoAdd test.dyndns to tinydns-data-check test
Ruben d'Arco [Fri, 1 Mar 2013 16:03:17 +0000 (17:03 +0100)] 
Add test.dyndns to tinydns-data-check test

13 years agoAdd travis-ci build support.
Ruben d'Arco [Thu, 28 Feb 2013 20:30:15 +0000 (21:30 +0100)] 
Add travis-ci build support.

13 years agoMake start-test-stop return an error code on failure
Ruben d'Arco [Thu, 28 Feb 2013 20:29:33 +0000 (21:29 +0100)] 
Make start-test-stop return an error code on failure

13 years agoDocument forward-2136 option
Ruben d'Arco [Thu, 28 Feb 2013 17:39:07 +0000 (18:39 +0100)] 
Document forward-2136 option

13 years agoCode cleanup and removal of TODO's
Ruben d'Arco [Thu, 28 Feb 2013 17:22:23 +0000 (18:22 +0100)] 
Code cleanup and removal of TODO's