diff --git a/.devilbox/www/include/functions.php b/.devilbox/www/include/functions.php index e22122cc..7a8700a2 100644 --- a/.devilbox/www/include/functions.php +++ b/.devilbox/www/include/functions.php @@ -327,17 +327,18 @@ function checkVirtualHost($vhost) $error[] = 'Missing htdocs directory in: '.$ENV['HOST_PATH_TO_WWW_DOCROOTS'].'/'.$vhost.'/'; } - - // 2. Check /etc/resolv DNS entry - $output; - if (my_exec('getent hosts '.$domain, $output) !== 0) { - $error[] = 'Missing entry in /etc/hosts:
127.0.0.1 '.$domain.''; - } - - // Temporarily comment out due to: // https://github.com/cytopia/devilbox/issues/8 // + + + // 2. Check /etc/resolv DNS entry + //$output; + //if (my_exec('getent hosts '.$domain, $output) !== 0) { + // $error[] = 'Missing entry in /etc/hosts:
127.0.0.1 '.$domain.''; + //} + + // 3. Check correct /etc/resolv entry //$dns_ip = '127.0.0.1'; //if (isset($output[0])) {