1#
2# Check if we have a working DNS.
3# Some 'wildcard dns' return some address even for non-existing hosts. This
4# makes it hard to test connections to such host names.
5# The actual check for working DNS is done in Perl, and the result available
6# in an environment variable.
7#
8--require include/have_working_dns.require
9disable_query_log;
10eval SELECT LENGTH('$HAVE_BROKEN_DNS') = 0 AS 'have_working_dns';
11enable_query_log;
12