Difference between revisions of "Filter Performance Fix"

From GroovixWiki
Jump to: navigation, search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
!!UnderConstruction!!
+
If web browser speed has been reduced by >10% on workstations running web filtering, implementing the following GNC script will install and configure DNSmasq to create a local cache for DNS requests. More information on Groovix NetCustomization can be found on the [[Groovix NetCustomization]] page.<br /><br />
 
 
<div class="dashed-box">Note: Administrative privileges and knowledge of implementing Groovix NetCustomization scripts are both necessary to follow the steps indicated below. It is highly recommended that the following be handled by an IT professional or with assistance by Groovix Tech Support.</div><br /><br />
 
 
 
If web browser speed has been reduced by >10% on workstations running web filtering, implementing the following GNC script will install and configure DNSmasq to create a local cache for DNS requests. More information on Groovix NetCustomization can be found on the [[Groovix NetCustomization]] page.
 
  
 +
<div class="dashed-box">Note: Administrative privileges and knowledge of implementing Groovix NetCustomization scripts are both necessary to follow the steps indicated below. It is highly recommended that the following be handled by an IT professional or with assistance by Groovix Tech Support.</div><br />
  
 +
== Groovix NetCusomization script ==
 
<div class="dashed-box">
 
<div class="dashed-box">
 
apt-get-dontask install dnsmasq<br />
 
apt-get-dontask install dnsmasq<br />
gncget --mod=644 /etc/dhcp3/dhclient.conf<br />
+
perl -pi -e 's/#prepend domain-name-servers 127.0.0.1/prepend domain-name-servers 127.0.0.1/' /etc/dhcp3/dhclient.conf <br />
gncget --mod=644 /etc/dnsmasq.conf<br />
+
perl -pi -e 's/#listen-address=.*/listen-address=127.0.0.1/' /etc/dnsmasq.conf <br />
/etc/init.d/networking restart<br /><br />
+
/etc/init.d/networking restart<br />
 
+
</div><br />
diff dhclient.conf.default /etc/dhcp3/dhclient.conf<br />
 
20c20<br />
 
< #prepend domain-name-servers 127.0.0.1;<br />
 
---<br />
 
> prepend domain-name-servers 127.0.0.1;<br />
 
 
 
diff dnsmasq.conf.default /etc/dnsmasq.conf<br />
 
90c90<br />
 
< #listen-address=<br />
 
---<br />
 
> listen-address=127.0.0.1
 
</div><br /><br />
 
 
 
  
 
== See Also ==
 
== See Also ==
 
* [http://contentfilter.futuragts.com/wiki/doku.php?id=performance_tuning DansGuardian Performance Tuning]
 
* [http://contentfilter.futuragts.com/wiki/doku.php?id=performance_tuning DansGuardian Performance Tuning]
 
* [https://help.ubuntu.com/community/Dnsmasq Ubuntu DNSmasq Community Page]
 
* [https://help.ubuntu.com/community/Dnsmasq Ubuntu DNSmasq Community Page]

Latest revision as of 15:06, 2 April 2011

If web browser speed has been reduced by >10% on workstations running web filtering, implementing the following GNC script will install and configure DNSmasq to create a local cache for DNS requests. More information on Groovix NetCustomization can be found on the Groovix NetCustomization page.

Note: Administrative privileges and knowledge of implementing Groovix NetCustomization scripts are both necessary to follow the steps indicated below. It is highly recommended that the following be handled by an IT professional or with assistance by Groovix Tech Support.

Groovix NetCusomization script

apt-get-dontask install dnsmasq
perl -pi -e 's/#prepend domain-name-servers 127.0.0.1/prepend domain-name-servers 127.0.0.1/' /etc/dhcp3/dhclient.conf
perl -pi -e 's/#listen-address=.*/listen-address=127.0.0.1/' /etc/dnsmasq.conf
/etc/init.d/networking restart


See Also