]> granicus.if.org Git - pdns/log
pdns
11 years agoClean up after DynListener crash
Igor Maravic [Tue, 24 Sep 2013 11:47:39 +0000 (13:47 +0200)]
Clean up after DynListener crash

When DynListener crashes, kill all processes from his parent PGRP.

This way we'll certanly close the pdns.controlsocket (no more hanging pdns_control processes)
and we'll kill the processes that aren't managable via pdns_control any more.

11 years agopdns: Kill all spawned processes
Igor Maravic [Thu, 19 Sep 2013 21:04:00 +0000 (23:04 +0200)]
pdns: Kill all spawned processes

Pipe backend spawned processes can still be alive after the pdns_server-instance was killed.
If the children remain alive, sockets will not be released, and the pdns_server-instance can't be respawned.

To be sure that all the spawned processes are killed, we must kill by using the process GID.
To be able to do the soft reloads, pdns_server-instance is declared as process group lider.

Also, all forced kills must kill by GID, not by PID, so all the processes would properly die.

Signed-off-by: Igor Maravic <igor@spotify.com>
Signed-off-by: Alexey Lapitsky <alexey@spotify.com>
11 years agoupdate dns-to-query section
Peter van Dijk [Tue, 8 Oct 2013 07:33:24 +0000 (09:33 +0200)]
update dns-to-query section

11 years agoMerge pull request #1042 from mind04/mysql
Peter van Dijk [Thu, 3 Oct 2013 13:39:23 +0000 (06:39 -0700)]
Merge pull request #1042 from mind04/mysql

fix for "missing" libmysqlclient on RHEL/CentOS based systems

11 years agonit
Peter van Dijk [Thu, 3 Oct 2013 13:38:00 +0000 (15:38 +0200)]
nit

11 years agoMerge branch 'pdnssec' of github.com:mind04/pdns into mind04-pdnssec
Peter van Dijk [Thu, 3 Oct 2013 13:36:53 +0000 (15:36 +0200)]
Merge branch 'pdnssec' of github.com:mind04/pdns into mind04-pdnssec

11 years agofix for "missing" libmysqlclient on RHEL/CentOS based systems
Kees Monshouwer [Thu, 3 Oct 2013 12:47:13 +0000 (14:47 +0200)]
fix for "missing" libmysqlclient on RHEL/CentOS based systems

11 years agopoint to 3.3 upgrade notes
Peter van Dijk [Tue, 1 Oct 2013 12:28:15 +0000 (14:28 +0200)]
point to 3.3 upgrade notes

11 years agopdnssec check-zone, more tolerant IPv6 format check
Kees Monshouwer [Mon, 30 Sep 2013 22:04:57 +0000 (00:04 +0200)]
pdnssec check-zone, more tolerant IPv6 format check

11 years agoadd semicolon, thanks @pavel-odintsov
Peter van Dijk [Mon, 30 Sep 2013 09:21:25 +0000 (11:21 +0200)]
add semicolon, thanks @pavel-odintsov

11 years agoMerge pull request #1039 from zeha/issue/1038
Peter van Dijk [Mon, 30 Sep 2013 09:12:17 +0000 (02:12 -0700)]
Merge pull request #1039 from zeha/issue/1038

stat webserver: escape HTML characters

11 years agostat webserver: escape HTML characters
Christian Hofstaedtler [Mon, 30 Sep 2013 09:01:50 +0000 (11:01 +0200)]
stat webserver: escape HTML characters

Log messages, queries, etc. would let HTML characters through unfiltered.

Fixes #1038.

11 years agoMerge pull request #1036 from zeha/create-domain
Peter van Dijk [Mon, 30 Sep 2013 07:06:11 +0000 (00:06 -0700)]
Merge pull request #1036 from zeha/create-domain

Internal and HTTP API for creating and deleting domains

11 years agoMerge pull request #1032 from brimston3/rm_mysql_autodep
Peter van Dijk [Sun, 29 Sep 2013 20:13:05 +0000 (13:13 -0700)]
Merge pull request #1032 from brimston3/rm_mysql_autodep

Remove unused mysql dependency from pdns_server and pdnssec.

11 years agoMerge pull request #1037 from mind04/pdnssec
Peter van Dijk [Sun, 29 Sep 2013 20:03:52 +0000 (13:03 -0700)]
Merge pull request #1037 from mind04/pdnssec

pdnssec check-zone improvements, fixes #684

11 years agopdnssec check-zone, fix record counting and improve out of zone check
Kees Monshouwer [Sun, 29 Sep 2013 17:11:32 +0000 (19:11 +0200)]
pdnssec check-zone, fix record counting and improve out of zone check

11 years agopdnssec check-zone, improve duplicate checks
Kees Monshouwer [Sun, 29 Sep 2013 17:06:35 +0000 (19:06 +0200)]
pdnssec check-zone, improve duplicate checks

11 years agopdnssec check-zone, improve SOA content check
Kees Monshouwer [Sun, 29 Sep 2013 16:58:52 +0000 (18:58 +0200)]
pdnssec check-zone, improve SOA content check

11 years agopdnssec check-zone, check for missing NS at apex and records in unlikely places
Kees Monshouwer [Sun, 29 Sep 2013 11:45:45 +0000 (13:45 +0200)]
pdnssec check-zone, check for missing NS at apex and records in unlikely places

11 years agopdnssec check-zone, warn if parsed and original content are not equal
Kees Monshouwer [Sun, 29 Sep 2013 11:11:29 +0000 (13:11 +0200)]
pdnssec check-zone, warn if parsed and original content are not equal

11 years agoexpose zone DELETE in JSON webserver
Christian Hofstaedtler [Fri, 27 Sep 2013 16:04:06 +0000 (18:04 +0200)]
expose zone DELETE in JSON webserver

11 years agoimplement deleteDomain in GSQLBackend
Christian Hofstaedtler [Fri, 27 Sep 2013 16:03:54 +0000 (18:03 +0200)]
implement deleteDomain in GSQLBackend

11 years agointroduce DNSBackend::deleteDomain
Christian Hofstaedtler [Fri, 27 Sep 2013 16:03:35 +0000 (18:03 +0200)]
introduce DNSBackend::deleteDomain

11 years agoexpose create zone in JSON webserver
Christian Hofstaedtler [Fri, 20 Sep 2013 13:03:29 +0000 (15:03 +0200)]
expose create zone in JSON webserver

11 years agoimplement setMaster/setKind in GSQLBackend
Christian Hofstaedtler [Fri, 27 Sep 2013 12:55:50 +0000 (14:55 +0200)]
implement setMaster/setKind in GSQLBackend

11 years agointroduce new setMaster/setKind functions
Christian Hofstaedtler [Fri, 27 Sep 2013 12:55:40 +0000 (14:55 +0200)]
introduce new setMaster/setKind functions

11 years agoallow reuse of DomainInfo::kind enum
Christian Hofstaedtler [Fri, 27 Sep 2013 12:55:11 +0000 (14:55 +0200)]
allow reuse of DomainInfo::kind enum

11 years agointroduce DNSBackend::createDomain
Christian Hofstaedtler [Fri, 20 Sep 2013 12:58:53 +0000 (14:58 +0200)]
introduce DNSBackend::createDomain

Includes an implementation for GSQLBackend.

11 years agows: split zone get/list into it's own function
Christian Hofstaedtler [Fri, 20 Sep 2013 12:54:39 +0000 (14:54 +0200)]
ws: split zone get/list into it's own function

11 years agoMerge pull request #1034 from mind04/logging
Peter van Dijk [Thu, 26 Sep 2013 16:55:08 +0000 (09:55 -0700)]
Merge pull request #1034 from mind04/logging

DLOG now eat semicolons for breakfast

11 years agoMerge pull request #1033 from mind04/oops
Peter van Dijk [Thu, 26 Sep 2013 16:54:36 +0000 (09:54 -0700)]
Merge pull request #1033 from mind04/oops

oops, 1bad4190cb removed one toLower() too many

11 years agooops, 1bad4190cb removed one toLower() too many
Kees Monshouwer [Tue, 24 Sep 2013 22:32:59 +0000 (00:32 +0200)]
oops, 1bad4190cb removed one toLower() too many

11 years agoRemove unused mysql dependency from pdns_server and pdnssec.
tw [Tue, 24 Sep 2013 04:09:47 +0000 (00:09 -0400)]
Remove unused mysql dependency from pdns_server and pdnssec.

11 years agoDLOG now eat semicolons for breakfast
Kees Monshouwer [Sun, 22 Sep 2013 10:30:47 +0000 (12:30 +0200)]
DLOG now eat semicolons for breakfast

11 years agoavoid compile error when not using --verbose-logging
Peter van Dijk [Sun, 22 Sep 2013 07:03:42 +0000 (09:03 +0200)]
avoid compile error when not using --verbose-logging

11 years agoMerge branch 'ds-nsec3' of github.com:mind04/pdns into mind04-ds-nsec3
Peter van Dijk [Sun, 22 Sep 2013 06:38:56 +0000 (08:38 +0200)]
Merge branch 'ds-nsec3' of github.com:mind04/pdns into mind04-ds-nsec3

11 years agoMerge pull request #1030 from stbuehler/libtool-object-files
Peter van Dijk [Sat, 21 Sep 2013 18:48:22 +0000 (11:48 -0700)]
Merge pull request #1030 from stbuehler/libtool-object-files

modules: use libtool object files - real object file might be in a .libs subdir

11 years agoMerge pull request #1029 from cmouse/improve-pdnssec-errors
Peter van Dijk [Sat, 21 Sep 2013 17:25:19 +0000 (10:25 -0700)]
Merge pull request #1029 from cmouse/improve-pdnssec-errors

Improve error reporting for pdnssec

11 years agomodules: use libtool object files - real object file might be in a .libs subdir
Stefan Bühler [Sat, 21 Sep 2013 10:06:41 +0000 (12:06 +0200)]
modules: use libtool object files - real object file might be in a .libs subdir

11 years agoFix zone into cmds[1] in few places
Aki Tuomi [Fri, 20 Sep 2013 20:14:23 +0000 (23:14 +0300)]
Fix zone into cmds[1] in few places

11 years agoImprove error reporting for pdnssec
Aki Tuomi [Fri, 20 Sep 2013 19:55:13 +0000 (22:55 +0300)]
Improve error reporting for pdnssec

11 years agofix NSEC3s for DS no data (mode 1)
Kees Monshouwer [Thu, 19 Sep 2013 22:53:47 +0000 (00:53 +0200)]
fix NSEC3s for DS no data (mode 1)

11 years agoMerge pull request #1026 from mind04/dominfo
Peter van Dijk [Wed, 18 Sep 2013 07:06:23 +0000 (00:06 -0700)]
Merge pull request #1026 from mind04/dominfo

fix getDomainInfo(), d_result is gone after getSOA - also adds missing default-soa-mail to pdnssec getSOA need this

11 years agofix getDomainInfo(), d_result is gone after getSOA
Kees Monshouwer [Wed, 18 Sep 2013 00:48:45 +0000 (02:48 +0200)]
fix getDomainInfo(), d_result is gone after getSOA

11 years agorecursor 3.5.3 docs
Peter van Dijk [Tue, 17 Sep 2013 09:05:57 +0000 (11:05 +0200)]
recursor 3.5.3 docs

11 years agocaveat caller
Peter van Dijk [Mon, 16 Sep 2013 10:15:25 +0000 (12:15 +0200)]
caveat caller

11 years agoMerge pull request #954 from paboldin/bind-add-zone
Peter van Dijk [Mon, 16 Sep 2013 10:12:41 +0000 (03:12 -0700)]
Merge pull request #954 from paboldin/bind-add-zone

BIND backend: Add zones on pdns_control

11 years agoMerge pull request #1018 from mind04/nsec
Peter van Dijk [Mon, 16 Sep 2013 07:48:28 +0000 (00:48 -0700)]
Merge pull request #1018 from mind04/nsec

fix NSEC wildcard denial

11 years agoMerge pull request #1017 from mind04/tsig
Peter van Dijk [Mon, 16 Sep 2013 06:42:57 +0000 (23:42 -0700)]
Merge pull request #1017 from mind04/tsig

improve tsig test

11 years agoadd bind slave to start-test-stop
Kees Monshouwer [Sun, 15 Sep 2013 18:08:14 +0000 (20:08 +0200)]
add bind slave to start-test-stop

11 years agostart-test-stop code formatting
Kees Monshouwer [Thu, 5 Sep 2013 19:46:27 +0000 (21:46 +0200)]
start-test-stop code formatting

11 years agoformat test descriptions
Kees Monshouwer [Fri, 13 Sep 2013 20:06:37 +0000 (22:06 +0200)]
format test descriptions

11 years agomake it possible to run presigned tests against backend of choice or nsd
Kees Monshouwer [Sat, 14 Sep 2013 16:49:24 +0000 (18:49 +0200)]
make it possible to run presigned tests against backend of choice or nsd

11 years agofix NSEC wildcard denial
Kees Monshouwer [Sat, 14 Sep 2013 21:14:58 +0000 (23:14 +0200)]
fix NSEC wildcard denial

11 years agoremove option to run with EDNS ping mode, clarified edns-disable option to leave...
bert hubert [Sat, 14 Sep 2013 19:10:55 +0000 (21:10 +0200)]
remove option to run with EDNS ping mode, clarified edns-disable option to leave it disabled, and warn if you run with it enabled. Thanks to Marcin Gondek for the suggestion!

11 years agoimprove tsig test
Kees Monshouwer [Fri, 13 Sep 2013 20:43:45 +0000 (22:43 +0200)]
improve tsig test

11 years agoMerge pull request #1014 from cmouse/fix-tsig-algo-name
Peter van Dijk [Fri, 13 Sep 2013 06:19:01 +0000 (23:19 -0700)]
Merge pull request #1014 from cmouse/fix-tsig-algo-name

Downcase algorithm names when doing TSIG. Fixes issue #1013

11 years agoFixed stupid mistake and now uses toLowerCanonic
Aki Tuomi [Thu, 12 Sep 2013 17:28:53 +0000 (20:28 +0300)]
Fixed stupid mistake and now uses toLowerCanonic

11 years agoDowncase algorithm names when doing TSIG. Fixes issue #1013
Aki Tuomi [Thu, 12 Sep 2013 13:49:59 +0000 (16:49 +0300)]
Downcase algorithm names when doing TSIG. Fixes issue #1013

11 years agobind-add-zone: protect file with s_state_lock
Pavel Boldin [Thu, 12 Sep 2013 11:27:14 +0000 (15:27 +0400)]
bind-add-zone: protect file with s_state_lock

11 years agobind-add-zone: lock reworked. caller of createDomain have to take lock
Pavel Boldin [Wed, 11 Sep 2013 15:47:03 +0000 (19:47 +0400)]
bind-add-zone: lock reworked. caller of createDomain have to take lock

11 years agobind-add-zone: add docs
Pavel Boldin [Tue, 10 Sep 2013 09:24:38 +0000 (13:24 +0400)]
bind-add-zone: add docs

11 years agobind-add-zone: rename test, fix timeout
Pavel Boldin [Mon, 9 Sep 2013 15:41:02 +0000 (19:41 +0400)]
bind-add-zone: rename test, fix timeout

11 years agobind-add-zone: verbose error message
Pavel Boldin [Tue, 20 Aug 2013 14:26:01 +0000 (18:26 +0400)]
bind-add-zone: verbose error message

11 years agobind-add-zone: fix for tests context
Pavel Boldin [Mon, 19 Aug 2013 02:05:53 +0000 (06:05 +0400)]
bind-add-zone: fix for tests context

11 years agobind-add-zone: Add stress-test for bind-add-zone
Pavel Boldin [Sun, 18 Aug 2013 23:48:40 +0000 (03:48 +0400)]
bind-add-zone: Add stress-test for bind-add-zone

Uses dnsperf. See README for details.

11 years agobind-add-zone: add bind zones using pdns_control
Pavel Boldin [Sun, 18 Aug 2013 04:26:42 +0000 (08:26 +0400)]
bind-add-zone: add bind zones using pdns_control

Add pdns_control for loading new zones without reloading named.conf.
Zone is added but not loaded, you should do it manually, by querying
something. Beware of cache, it is better to purge it before.

11 years agodrop unused parameter
Peter van Dijk [Tue, 10 Sep 2013 09:47:33 +0000 (11:47 +0200)]
drop unused parameter

11 years agoMerge pull request #1007 from paboldin/bind-outline-parse
Peter van Dijk [Tue, 10 Sep 2013 09:36:16 +0000 (02:36 -0700)]
Merge pull request #1007 from paboldin/bind-outline-parse

bind: outline parseZoneFile

11 years agoMerge pull request #1008 from mind04/tests
Peter van Dijk [Tue, 10 Sep 2013 08:20:10 +0000 (01:20 -0700)]
Merge pull request #1008 from mind04/tests

tests and pdnssec

11 years agomake pdnssec check-all-zones case independent (Issue #684)
Kees Monshouwer [Mon, 9 Sep 2013 22:20:32 +0000 (00:20 +0200)]
make pdnssec check-all-zones case independent (Issue #684)

11 years agopdnssec check-all-zones now detect ttl differnce within a rrset
Kees Monshouwer [Mon, 9 Sep 2013 21:17:46 +0000 (23:17 +0200)]
pdnssec check-all-zones now detect ttl differnce within a rrset

11 years agocheck for duplicate records with pdnssec check-all-zones (Issue #607)
Kees Monshouwer [Mon, 9 Sep 2013 20:19:01 +0000 (22:19 +0200)]
check for duplicate records with pdnssec check-all-zones (Issue #607)

11 years agopdnssec check-all-zones now detect RRSIG records in non-presigned zones
Kees Monshouwer [Mon, 9 Sep 2013 19:30:28 +0000 (21:30 +0200)]
pdnssec check-all-zones now detect RRSIG records in non-presigned zones

11 years agodetect duplicate cnames with pdnssec check-all-zones (Issue #545)
Kees Monshouwer [Mon, 9 Sep 2013 19:12:05 +0000 (21:12 +0200)]
detect duplicate cnames with pdnssec check-all-zones (Issue #545)

11 years agobind: outline parseZoneFile
Pavel Boldin [Mon, 9 Sep 2013 14:33:10 +0000 (18:33 +0400)]
bind: outline parseZoneFile

11 years agomake test-start-stop TSIG algorithm and key configurable
Kees Monshouwer [Mon, 9 Sep 2013 14:08:27 +0000 (16:08 +0200)]
make test-start-stop TSIG algorithm and key configurable

11 years agoadd TSIG to ext-bind tests
Kees Monshouwer [Mon, 9 Sep 2013 12:56:30 +0000 (14:56 +0200)]
add TSIG to ext-bind tests

11 years agoMerge pull request #1006 from mind04/hmac
Peter van Dijk [Mon, 9 Sep 2013 12:26:55 +0000 (05:26 -0700)]
Merge pull request #1006 from mind04/hmac

cleanup hmac algorithm lookup and some (un)related test stuff

11 years agoadd skip-drill 'button' and ignore drill in secure-delagtion test #1005
Kees Monshouwer [Mon, 9 Sep 2013 10:49:47 +0000 (12:49 +0200)]
add skip-drill 'button' and ignore drill in secure-delagtion test #1005

11 years agoskip out of zone data in nztest.com for ext-nsd tests
Kees Monshouwer [Mon, 9 Sep 2013 10:39:26 +0000 (12:39 +0200)]
skip out of zone data in nztest.com for ext-nsd tests

11 years agocleanup hmac algorithm lookup
Kees Monshouwer [Mon, 9 Sep 2013 08:00:09 +0000 (10:00 +0200)]
cleanup hmac algorithm lookup

11 years agoMerge pull request #1003 from mind04/coverity
Peter van Dijk [Mon, 9 Sep 2013 10:06:16 +0000 (03:06 -0700)]
Merge pull request #1003 from mind04/coverity

coverity fixes

11 years agoMerge pull request #1002 from mind04/quantcast
Peter van Dijk [Mon, 9 Sep 2013 09:22:03 +0000 (02:22 -0700)]
Merge pull request #1002 from mind04/quantcast

add support for quantcast top million list in dnsbulktest

11 years agoMerge pull request #1004 from zeha/cleanup
Peter van Dijk [Mon, 9 Sep 2013 09:20:09 +0000 (02:20 -0700)]
Merge pull request #1004 from zeha/cleanup

Misc. cleanups

11 years agoremove dead store
Christian Hofstaedtler [Sun, 8 Sep 2013 16:33:37 +0000 (18:33 +0200)]
remove dead store

11 years agodisable dead timing code
Christian Hofstaedtler [Sun, 8 Sep 2013 16:32:15 +0000 (18:32 +0200)]
disable dead timing code

11 years agoluabackend: remove dead returns
Christian Hofstaedtler [Sun, 8 Sep 2013 11:54:17 +0000 (13:54 +0200)]
luabackend: remove dead returns

11 years agoadd support for quantcast top million list in dnsbulktest
Kees Monshouwer [Sun, 8 Sep 2013 15:05:03 +0000 (17:05 +0200)]
add support for quantcast top million list in dnsbulktest

11 years agoMerge pull request #1001 from mind04/travis
Peter van Dijk [Sun, 8 Sep 2013 15:26:40 +0000 (08:26 -0700)]
Merge pull request #1001 from mind04/travis

add recursor bulktest to travis

11 years agoadd recursor bulktest to travis
Kees Monshouwer [Sun, 8 Sep 2013 12:09:02 +0000 (14:09 +0200)]
add recursor bulktest to travis

11 years agogeobackend: fix possible nullptr deref
Christian Hofstaedtler [Sun, 8 Sep 2013 11:53:25 +0000 (13:53 +0200)]
geobackend: fix possible nullptr deref

11 years agoavoid division by 0, and make coverity happy, or not...
Kees Monshouwer [Sat, 7 Sep 2013 12:08:56 +0000 (14:08 +0200)]
avoid division by 0, and make coverity happy, or not...

11 years agoRevert "Remove possible devision by zero (coverity fix)"
Kees Monshouwer [Sat, 7 Sep 2013 11:48:39 +0000 (13:48 +0200)]
Revert "Remove possible devision by zero (coverity fix)"

This reverts commit 4855a559d3d1ce7c74c2f922fc74a71889fc1987.

11 years agoimplement coverity suggetions in packethandeler, and a little code cleanup
Kees Monshouwer [Sat, 7 Sep 2013 11:46:25 +0000 (13:46 +0200)]
implement coverity suggetions in packethandeler, and a little code cleanup

11 years agoMerge pull request #1000 from mind04/speedup-tests
Peter van Dijk [Sat, 7 Sep 2013 18:24:47 +0000 (11:24 -0700)]
Merge pull request #1000 from mind04/speedup-tests

improve travis tests and a little bit more

11 years agoMerge pull request #999 from cmouse/fix-tsig-resolver
Peter van Dijk [Sat, 7 Sep 2013 06:01:01 +0000 (23:01 -0700)]
Merge pull request #999 from cmouse/fix-tsig-resolver

Changed forced MD5 into proper selection for TSIG

11 years agobuild recursor in travis
Kees Monshouwer [Fri, 6 Sep 2013 23:09:46 +0000 (01:09 +0200)]
build recursor in travis

11 years agoChanged forced MD5 into proper selection for TSIG
Aki Tuomi [Fri, 6 Sep 2013 20:48:13 +0000 (23:48 +0300)]
Changed forced MD5 into proper selection for TSIG

11 years agoadd TSIG to nsd test
Kees Monshouwer [Fri, 6 Sep 2013 16:01:21 +0000 (18:01 +0200)]
add TSIG to nsd test