Frank Schröder 4b51d00458 agent: fix DNS recursor tests (#3190)
The makeRecursor function was using an unreliable mechanism
to start a server with a random port. This patch changes this
so that the server starts on port 0 to let the kernel pick
a free port.

In addition, to similar functions for starting a test DNS
server were folded into one.
2017-06-25 10:42:37 -07:00
..
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-25 10:32:35 -07:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00