]>
granicus.if.org Git - pdns/log
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
Ruben d'Arco [Fri, 15 Feb 2013 14:11:50 +0000 (15:11 +0100)]
disable-rfc2136 -> experimental-rfc2136
Ruben d'Arco [Fri, 15 Feb 2013 13:11:43 +0000 (14:11 +0100)]
Actually update the soa....
(woeps!)
Ruben d'Arco [Fri, 15 Feb 2013 12:48:42 +0000 (13:48 +0100)]
Add test for case-sensative add/remove of hostname.
Ruben d'Arco [Fri, 15 Feb 2013 12:33:20 +0000 (13:33 +0100)]
Fix issue with case sensative search for ENT
Peter van Dijk [Tue, 12 Feb 2013 07:10:24 +0000 (08:10 +0100)]
update more test cases
Peter van Dijk [Mon, 11 Feb 2013 15:00:49 +0000 (16:00 +0100)]
use cleannsupdate
Peter van Dijk [Mon, 11 Feb 2013 13:25:40 +0000 (14:25 +0100)]
introduce cleannsupdate
Peter van Dijk [Mon, 11 Feb 2013 12:56:34 +0000 (13:56 +0100)]
fix verify-dnssec-zone output
Ruben d'Arco [Tue, 25 Dec 2012 00:44:21 +0000 (01:44 +0100)]
Remove 127.0.0.2 to speed up unbound-host
Ruben d'Arco [Mon, 24 Dec 2012 20:05:50 +0000 (21:05 +0100)]
Fix dnssec/nodnssec responses.
Ruben d'Arco [Mon, 24 Dec 2012 19:01:06 +0000 (20:01 +0100)]
Correct options for gsqlite3 tests to run dyndns
Ruben d'Arco [Mon, 24 Dec 2012 18:56:35 +0000 (19:56 +0100)]
Remove NARROW results as they are now the same as normal expected_result
Ruben d'Arco [Mon, 24 Dec 2012 16:04:57 +0000 (17:04 +0100)]
Add skipping for nodyndns backends.
Ruben d'Arco [Mon, 24 Dec 2012 14:13:12 +0000 (15:13 +0100)]
New test that needs to be completed later.
Ruben d'Arco [Mon, 24 Dec 2012 14:12:19 +0000 (15:12 +0100)]
Update NSEC3 tests for r2932
Ruben d'Arco [Mon, 24 Dec 2012 12:41:59 +0000 (13:41 +0100)]
Updated result because of new root server.
Ruben d'Arco [Tue, 4 Dec 2012 07:20:35 +0000 (08:20 +0100)]
RFC2136 documentation
Including ugly fix to allow me to write rfc2136!
Ruben d'Arco [Tue, 4 Dec 2012 07:02:09 +0000 (08:02 +0100)]
Clearer counting of changes.
Ruben d'Arco [Tue, 4 Dec 2012 06:34:46 +0000 (07:34 +0100)]
Remove non-needed check on rrset size
Ruben d'Arco [Tue, 4 Dec 2012 06:21:27 +0000 (07:21 +0100)]
Add rfc2136 implementation with replaceRRSEt and dirty cache clean
This completes the RFC2136 implementation and passes all the dyndns tests using the replaceRRSet method.
The runtest now understands a 'once' option because a SOA-update can only be performed once.
dnsbackend.hh has a listSubZone() - this is not a pretty method, but it's required to fix delegation flags without
reading the complete zone.
replaceRRSet is also updated to understand 'ANY' as a Qtype. This performs the query without the where type-cause. It also allows for not adding any items which makes it usable to delete RRSET's.
Ruben d'Arco [Mon, 3 Dec 2012 05:55:02 +0000 (06:55 +0100)]
Add rfc2136handler to handle rfc2136 operation
Ruben d'Arco [Mon, 3 Dec 2012 05:52:23 +0000 (06:52 +0100)]
Actually use cachettl in start-test-stop
Ruben d'Arco [Mon, 3 Dec 2012 05:51:48 +0000 (06:51 +0100)]
Remove fancy-records from start-test-stop
Ruben d'Arco [Mon, 3 Dec 2012 05:51:00 +0000 (06:51 +0100)]
Add allow-2136-from and disable-rfc2136 options to start-test-stop
Ruben d'Arco [Mon, 3 Dec 2012 05:46:21 +0000 (06:46 +0100)]
This makes isc's dhcpd work with TSIG messages
Apperantly, isc's tsig code requires this to make pdns operate with dhcpd and tsig keys.
Ruben d'Arco [Mon, 3 Dec 2012 05:44:54 +0000 (06:44 +0100)]
Add mastermake that understands QClass
This is needed to parse the update packages correctly which do have
records in other QClasses then just 'IN'.
We don't need it always, only for specific classes, which this mastermake tries to filter
Ruben d'Arco [Mon, 3 Dec 2012 05:32:06 +0000 (06:32 +0100)]
Use new DNSResourceRecord constructor in resolver.
Ruben d'Arco [Mon, 3 Dec 2012 05:23:13 +0000 (06:23 +0100)]
Add option to purge a range out of packetcache.
Ruben d'Arco [Mon, 3 Dec 2012 05:21:29 +0000 (06:21 +0100)]
Make sure rfc2136 packets are not cached.
Ruben d'Arco [Mon, 3 Dec 2012 05:19:40 +0000 (06:19 +0100)]
Add rfc2136 statistics
Ruben d'Arco [Mon, 3 Dec 2012 05:18:30 +0000 (06:18 +0100)]
Add disable-rfc2136 and allow-2136-from options
Ruben d'Arco [Mon, 3 Dec 2012 05:13:01 +0000 (06:13 +0100)]
Add rfc2136 implementation basics
This commits adds a lot of files and code to implement rfc2136. The code was taken from a different branch and only added again.
There are still things missing.
Primary changes:
- Add rfc2136 methods to rfc2136handler.cc file and include file in build
- Add constructor for DNSResourceRecord to take a DNSRecord
- Add setContent and getZoneRepresentation to DNSResourceRecord for easy compare and set of content
This removes the need to consantly check if it's an MX record, etc.
- Add compare operator to DNSResourceRecord to easily compare DNSResourceRecords
- Move SOA-EDIT calculation/changes to seperate method for re-use in rfc2136 code
- Move rfc1982LessThan to misc.hh for reuse
- Added code to handle update packets in questionOrRecurse
Ruben d'Arco [Mon, 3 Dec 2012 04:18:04 +0000 (05:18 +0100)]
Add hidesoaserial option to sdig
This options removes the soa-serial from sdig output. This is used because dyndns updates the serial, resulting in failing tests if we include it.
Ruben d'Arco [Mon, 3 Dec 2012 04:12:57 +0000 (05:12 +0100)]
Add QClass NONE and ANY
RFC2136 uses NONE and ANY to check what type of operation to perform.
So, these QClasses are now added and registered as valid records.
Ruben d'Arco [Mon, 3 Dec 2012 04:06:40 +0000 (05:06 +0100)]
Add useful comparison and methods to QType
These methods are used for rfc2136 to determine some requirements. The comparison operaters simply make it easy to compare things
in the code itself.
Some QTypes have been added because that's how RFC2136 defines them.
Ruben d'Arco [Mon, 3 Dec 2012 03:51:25 +0000 (04:51 +0100)]
Add RCodes for RFC2136
This adds the needed RCodes to support RFC2136 (YXDomain, NotZone and others)
Ruben d'Arco [Sun, 2 Dec 2012 23:25:46 +0000 (00:25 +0100)]
Add tests for rfc2136 operation
nlmark [Wed, 19 Jun 2013 11:20:13 +0000 (13:20 +0200)]
Update pdns_server.8
Kees Monshouwer [Thu, 4 Jul 2013 18:55:25 +0000 (20:55 +0200)]
no rectify for presigned zones
Kees Monshouwer [Wed, 3 Jul 2013 22:32:51 +0000 (00:32 +0200)]
AXFR-in can handle secure and insecure NSEC3 optout delegations
Kees Monshouwer [Thu, 4 Jul 2013 17:28:54 +0000 (19:28 +0200)]
AXFR-out can handle secure and insecure NSEC3 optout delegations
Peter van Dijk [Thu, 4 Jul 2013 18:27:54 +0000 (20:27 +0200)]
drop useless index
bert hubert [Wed, 3 Jul 2013 10:05:46 +0000 (12:05 +0200)]
teach dnstcpbench to emit some nice statistics, plus document them
bert hubert [Tue, 2 Jul 2013 11:14:14 +0000 (13:14 +0200)]
implement reading queries from a file
Christian Hofstaedtler [Wed, 3 Jul 2013 21:45:23 +0000 (23:45 +0200)]
Fix linkage of RemoteLoader::RemoteLoader
Peter van Dijk [Thu, 4 Jul 2013 08:24:05 +0000 (10:24 +0200)]
avoid uninitialized values in LOC constructor
Peter van Dijk [Wed, 3 Jul 2013 18:24:51 +0000 (20:24 +0200)]
fix truncated LOC parsing, closes #894
Aki Tuomi [Mon, 1 Jul 2013 06:31:36 +0000 (09:31 +0300)]
Allow logging of non-string values.
Aki Tuomi [Thu, 27 Jun 2013 08:44:58 +0000 (11:44 +0300)]
Make sure webrick is running before testing
Aki Tuomi [Wed, 26 Jun 2013 21:33:52 +0000 (00:33 +0300)]
Support for /ping
Kees Monshouwer [Mon, 1 Jul 2013 23:17:23 +0000 (01:17 +0200)]
fix getAuth for DS queries at apex