aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-11 22:48:49 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-11 22:48:49 +0000
commite55f34c23d66c2b96e25a46a491d3430fcc20ea6 (patch)
tree6bee38f6b634c8b3728266e7a6b1314305dae310 /packages/squid/squid.inc
parent9289e8b32471eab8a34cdcd9f078e5ffb666c0c3 (diff)
downloadpfsense-packages-e55f34c23d66c2b96e25a46a491d3430fcc20ea6.tar.gz
pfsense-packages-e55f34c23d66c2b96e25a46a491d3430fcc20ea6.tar.bz2
pfsense-packages-e55f34c23d66c2b96e25a46a491d3430fcc20ea6.zip
allow squid to use separate DNS-servers
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r--packages/squid/squid.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index db647876..4c2cb82e 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -500,7 +500,6 @@ cache_effective_group proxy
error_directory $errordir
visible_hostname $hostname
cache_mgr $email
-
access_log $logdir_access
cache_log $logdir_cache
cache_store_log none
@@ -521,11 +520,12 @@ EOD;
}
if ($settings['disable_xforward']) $conf .= "forwarded_for off\n";
if ($settings['disable_via']) $conf .= "via off\n";
- if (!empty($settings['uri_whitespace'])) $conf .= "uri_whitespace {$settings['uri_whitespace']}\n";
-
+ $conf .= "uri_whitespace {$settings['uri_whitespace']}\n";
+ if (!empty($settings['dns_nameservers'])) $conf .= "dns_nameservers {$settings['dns_nameservers']}\n";
return $conf;
}
+
function squid_resync_cache() {
global $config;