Difference between revisions of "Filter Performance Fix"

From GroovixWiki
Jump to: navigation, search
(Groovix NetCusomization script)
Line 10: Line 10:
 
<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 />
 
/etc/init.d/networking restart<br />
 
</div><br />
 
</div><br />
 
After the install, the following files need to be updated as such:<br />
 
<div class="dashed-box">
 
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 /><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]

Revision as of 06:18, 1 April 2011

!!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.

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.

??Mike?? Can you check out this script and commands below are formatted properly, this is how my email client output the content you sent me ??Mike??

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