tests: timeout DNS to 1 sec max

If a DNS request takes more than 1 second, this is not acceptable, then
the test have to fail.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>