bind-supermaster-lock: use different lock for supermaster config file
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>
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.
Add timeout to pdns_control connect, send and recv calls

If any of the connect, send and recv calls are timedout, TimeoutException is thrown.
main loop catches that exception and returns code 2.
code 1 is returned for all other exceptions.

In init.d script we now have 3 states:
UP
DOWN
UNRESPONSIVE

If the pdns_server is unresponsive, it will be killed.
After that, script continues as usual.
Clean up after the pdns_server-instance

Make sure that all children are killed after the pdns_server-instance dies
PDNS should always be the leader of the process group

That way, we can properly kill all of it's subprocesses!
remove all windows code from PowerDNS
s/dnswasher/dnsreplay in dnsreplay manpage
Use the inet data type for supermasters.ip on postgrsql.

Use pgsql’s inet data type for v4 and v6 IP addresses in the
supermasters table.

The guarantees that the address will fit, that the queries will
return the addresses in canonical format, and correctness in that
nothing other than an IP address can be stored in that column.

Signed-off-by: James Cloos <cloos@jhcloos.com>
support polarssl 1.3
also support polarssl 1.2.9+
Merge pull request #1063 from rubenk/autoconf

Some updates for configure.ac.
Merge pull request #1043 from mind04/windows

remove all windows code from PowerDNS
drop windows files from dist-recursor
drop rest of windows files from dist-recursor
add dist-recursor to travis.yml
Merge pull request #1065 from mind04/manpage

s/dnswasher/dnsreplay in dnsreplay manpage
Merge pull request #1064 from mind04/dist-recursor

add dist-recursor to travis.yml
nit
Fix some spelling errors

Found with codespell (https://github.com/lucasdemarchi/codespell)