]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
Peter van Dijk [Thu, 18 Jul 2013 17:01:51 +0000 (19:01 +0200)]
fix recursor build due to CONFIGDIR/SYSCONFDIR change
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
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
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
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
Kees Monshouwer [Sat, 13 Jul 2013 09:06:19 +0000 (11:06 +0200)]
cleanup, remove whitespace
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 .
Kees Monshouwer [Fri, 12 Jul 2013 19:21:55 +0000 (21:21 +0200)]
enable 1dyndns-big-package test
Kees Monshouwer [Fri, 12 Jul 2013 14:11:40 +0000 (16:11 +0200)]
bump TCP receice buffer to maximum size
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...
Kees Monshouwer [Mon, 15 Jul 2013 15:11:57 +0000 (17:11 +0200)]
output ZSK DNSKEY records if experimental-direct-dnskey support is enabled
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
bert hubert [Sun, 14 Jul 2013 18:24:04 +0000 (20:24 +0200)]
add unit test to check if we detected byte order correctly
Aki Tuomi [Sun, 14 Jul 2013 16:41:15 +0000 (19:41 +0300)]
Removed debugging
Aki Tuomi [Sun, 14 Jul 2013 16:39:39 +0000 (19:39 +0300)]
Fixed argument handling
Aki Tuomi [Sun, 14 Jul 2013 15:28:15 +0000 (18:28 +0300)]
Implement sort properly with POSIX locale
Aki Tuomi [Sun, 14 Jul 2013 14:32:36 +0000 (17:32 +0300)]
Now sorts includes, fixes #913
Kees Monshouwer [Sun, 14 Jul 2013 00:02:37 +0000 (02:02 +0200)]
allow empty parent
Aki Tuomi [Wed, 26 Jun 2013 20:40:52 +0000 (23:40 +0300)]
Support for += syntax for options, candidate for ticket #502
Kees Monshouwer [Thu, 27 Jun 2013 08:02:38 +0000 (10:02 +0200)]
add launch+= option to regression tests
Kees Monshouwer [Thu, 27 Jun 2013 07:41:51 +0000 (09:41 +0200)]
make sure we have a parrent option
Aki Tuomi [Wed, 26 Jun 2013 20:40:52 +0000 (23:40 +0300)]
Support for += syntax for options, candidate for ticket #502
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
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.
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
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
Kees Monshouwer [Fri, 12 Jul 2013 12:04:21 +0000 (14:04 +0200)]
increase UDP receive buffer size
bert hubert [Fri, 12 Jul 2013 09:09:11 +0000 (11:09 +0200)]
update pdns.conf-dist with udp-truncation-threshold setting
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.
Kees Monshouwer [Tue, 9 Jul 2013 14:12:08 +0000 (16:12 +0200)]
add transaction-isolation=READ-COMMITTED to my.cnf in travis.yml
Ruben d'Arco [Wed, 22 May 2013 17:40:31 +0000 (19:40 +0200)]
Fix DS and NS add in different order
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
Ruben d'Arco [Mon, 20 May 2013 22:20:21 +0000 (00:20 +0200)]
Hidesoadetails for deep-delegate test
Ruben d'Arco [Mon, 20 May 2013 22:08:56 +0000 (00:08 +0200)]
Fix deep-add-delete test again
Kees Monshouwer [Tue, 21 May 2013 17:56:29 +0000 (19:56 +0200)]
redo rectify after delete NSEC3PARAM
Kees Monshouwer [Mon, 20 May 2013 19:40:51 +0000 (21:40 +0200)]
disable mysqldiff debug output
Kees Monshouwer [Mon, 20 May 2013 19:37:45 +0000 (21:37 +0200)]
redo rectify after add/update NSEC3PARAM
Ruben d'Arco [Mon, 20 May 2013 21:46:59 +0000 (23:46 +0200)]
Add add-delete-ds test and minor fix
Ruben d'Arco [Mon, 20 May 2013 18:14:32 +0000 (20:14 +0200)]
Add mysqldiff to 1dyndns-update-delegate test
Ruben d'Arco [Sun, 19 May 2013 14:04:36 +0000 (16:04 +0200)]
Fix crash when deleting deep delegate with others
Ruben d'Arco [Sun, 19 May 2013 12:24:42 +0000 (14:24 +0200)]
Add optout flag to test
Ruben d'Arco [Sun, 19 May 2013 12:21:26 +0000 (14:21 +0200)]
Add mysqldiff to 1dyndns-update-nsec3params
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]
Ruben d'Arco [Sun, 19 May 2013 09:13:52 +0000 (11:13 +0200)]
Fix rebase conflicts failures
Ruben d'Arco [Sat, 18 May 2013 18:25:07 +0000 (20:25 +0200)]
Remove duplicate test
Ruben d'Arco [Sat, 18 May 2013 17:54:58 +0000 (19:54 +0200)]
Fix optout results for delegate tests
Ruben d'Arco [Sat, 18 May 2013 12:18:10 +0000 (14:18 +0200)]
Correct update-delegate-in-between & add mysqldiff
Ruben d'Arco [Sat, 18 May 2013 11:57:52 +0000 (13:57 +0200)]
Correct update-deep-add-delete for auth=1 ENTs
Ruben d'Arco [Sat, 18 May 2013 10:14:50 +0000 (12:14 +0200)]
Correctly add NSEC3PARAM
Ruben d'Arco [Thu, 16 May 2013 20:49:51 +0000 (22:49 +0200)]
Keep ENT's auth=1
Ruben d'Arco [Thu, 16 May 2013 19:46:06 +0000 (21:46 +0200)]
Also set ordername on delegate below delegate
Ruben d'Arco [Wed, 15 May 2013 20:13:15 +0000 (22:13 +0200)]
Correctly remove NSEC3PARAM with delegate in zone
Kees Monshouwer [Mon, 13 May 2013 21:16:42 +0000 (23:16 +0200)]
add 'at apex' check for inserted DNSKEY records
Kees Monshouwer [Mon, 13 May 2013 20:10:28 +0000 (22:10 +0200)]
add experimental direct dnskey support to rfc2136
Kees Monshouwer [Mon, 13 May 2013 19:41:14 +0000 (21:41 +0200)]
update expected testresults for NSEC3[optout]
Kees Monshouwer [Mon, 13 May 2013 19:22:49 +0000 (21:22 +0200)]
permissions, permissions and more permissions
Ruben d'Arco [Mon, 13 May 2013 08:00:15 +0000 (10:00 +0200)]
Delete NSEC3PARAM without extra query.
[ci skip]
Ruben d'Arco [Mon, 13 May 2013 07:31:34 +0000 (09:31 +0200)]
Correct deletion of NSEC3PARAM
Kees Monshouwer [Fri, 10 May 2013 19:31:53 +0000 (21:31 +0200)]
typo
Ruben d'Arco [Fri, 10 May 2013 19:09:43 +0000 (21:09 +0200)]
Correctly add delegate in NSEC3
Ruben d'Arco [Fri, 10 May 2013 16:19:25 +0000 (18:19 +0200)]
Add mysqldiff output to gitignore.
Ruben d'Arco [Fri, 10 May 2013 16:01:16 +0000 (18:01 +0200)]
Add pdns.conf for testing
Ruben d'Arco [Fri, 10 May 2013 15:45:37 +0000 (17:45 +0200)]
Logline and test description updated
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.
Ruben d'Arco [Thu, 9 May 2013 21:34:47 +0000 (23:34 +0200)]
Do not insert ENT when adding delegate
Ruben d'Arco [Thu, 9 May 2013 21:00:53 +0000 (23:00 +0200)]
Correct inserting of ENT records
Ruben d'Arco [Thu, 9 May 2013 19:54:39 +0000 (21:54 +0200)]
Fix narrow test result
Ruben d'Arco [Thu, 9 May 2013 19:44:44 +0000 (21:44 +0200)]
Correct odername/auth when increasing serial
Ruben d'Arco [Thu, 9 May 2013 18:43:40 +0000 (20:43 +0200)]
Add regression test for previous commit
Kees Monshouwer [Thu, 9 May 2013 18:36:08 +0000 (20:36 +0200)]
show ent records in mysqldiff output
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.
Kees Monshouwer [Thu, 9 May 2013 10:41:08 +0000 (12:41 +0200)]
improve mysqldiff output format
Kees Monshouwer [Wed, 8 May 2013 22:48:46 +0000 (00:48 +0200)]
add dyndns db based test
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.
Ruben d'Arco [Tue, 23 Apr 2013 19:38:25 +0000 (21:38 +0200)]
Add non-dnssec expected_result to deep-add-delete
Ruben d'Arco [Tue, 23 Apr 2013 19:06:21 +0000 (21:06 +0200)]
Add skip.nodyndns to nsec3param tests
Ruben d'Arco [Sun, 10 Mar 2013 16:19:18 +0000 (17:19 +0100)]
Code cleanup, move commitTransaction within try-block
Ruben d'Arco [Sun, 10 Mar 2013 11:49:40 +0000 (12:49 +0100)]
Small optimization in deletion of 'deep' record
Ruben d'Arco [Sun, 10 Mar 2013 09:32:17 +0000 (10:32 +0100)]
Extra test check to use correct NSEC3 params
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.
Ruben d'Arco [Sun, 3 Mar 2013 11:47:27 +0000 (12:47 +0100)]
Return Refused when we are not forwarding a packet.
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
Ruben d'Arco [Sun, 3 Mar 2013 10:05:04 +0000 (11:05 +0100)]
Add rfc2136-changes statbag
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.
Ruben d'Arco [Sun, 3 Mar 2013 07:02:12 +0000 (08:02 +0100)]
Remove old/unused code - Guard is never used
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.
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.
Ruben d'Arco [Sat, 2 Mar 2013 22:02:18 +0000 (23:02 +0100)]
Rectify SOA record after increaseSerial
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.
Ruben d'Arco [Fri, 1 Mar 2013 16:33:00 +0000 (17:33 +0100)]
Updated pdns.conf-dist to have rfc2136 options
Ruben d'Arco [Fri, 1 Mar 2013 16:03:17 +0000 (17:03 +0100)]
Add test.dyndns to tinydns-data-check test
Ruben d'Arco [Thu, 28 Feb 2013 20:30:15 +0000 (21:30 +0100)]
Add travis-ci build support.
Ruben d'Arco [Thu, 28 Feb 2013 20:29:33 +0000 (21:29 +0100)]
Make start-test-stop return an error code on failure
Ruben d'Arco [Thu, 28 Feb 2013 17:39:07 +0000 (18:39 +0100)]
Document forward-2136 option
Ruben d'Arco [Thu, 28 Feb 2013 17:22:23 +0000 (18:22 +0100)]
Code cleanup and removal of TODO's
Ruben d'Arco [Wed, 27 Feb 2013 23:11:34 +0000 (00:11 +0100)]
Added option to disable forwarding to master
Ruben d'Arco [Wed, 27 Feb 2013 22:52:37 +0000 (23:52 +0100)]
We used setSwitch() on allow-2136-from, move to set
Ruben d'Arco [Tue, 26 Feb 2013 22:09:58 +0000 (23:09 +0100)]
Add support for forwarding to master
We now forward to masters whenever we are a slave.
Code is not very well tested, but works on simple test setup.
We need to add an option to enable/disable dis behaviour
Ruben d'Arco [Fri, 15 Feb 2013 17:08:40 +0000 (18:08 +0100)]
New test to check if soa-serial updates