From dbe330298729cdaa9c07e72e8778daad0a87e1c3 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 3 Dec 2011 11:52:31 +1100 Subject: Avoid DNS timeouts by using `host` and cache if available --- inc/config.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index a2e5b8ae..e18f329f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -75,6 +75,10 @@ // Use syslog() for logging all error messages and unauthorized login attempts. $config['syslog'] = false; + // Use `host` via shell_exec() to lookup hostnames, avoiding query timeouts. May not work on your system. + // Requires safe_mode to be disabled. + $config['dns_system'] = false; + /* * ==================== * Database settings -- cgit v1.3