If you can recall, during the installation of TreeWalk, one of the prompts on the later parts was: "You are currently using a PROXY. If the proxy is not a local one disable it if possible, otherwise you may not take full advantage from the local DNS resolver." Good! It detected our squid caching proxy.
Since we are using a local caching proxy, we can expect to gain the full benefit of having a local caching DNS server -- just the exact end state we want.
Open the squid configuration file on your favorite editor. On the default installation settings, the config file is in C:\squid\etc\squid.conf. Add this line:
dns_nameservers 127.0.0.1
Where: 127.0.0.1 is the IP address of the TreeWalk DNS cache. If the DNS cache resides on a different machine, replace the 127.0.0.1 with the corresponding IP address of the host. For some reason, squid doesn't like a host name in this directive. So IP address it is.
Save the configuration changes restart squid via Start > Run > C:\squid\sbin\squid -k reconfigure -n Squid.
To do a quick restart of squid, you might want to add this line to squid.conf:
shutdown_lifetime 2 second
With the above tweak you will notice restart or reconfigure is quicker. And finally, for a big speed boost enable pipelining on squid. Add this line to squid.conf:
pipeline_prefetch on
You will need to reconfigure (or restart) squid after making the tweaks above. Browsing will now be even faster given the benefits of both local caches. As always, don't forget to configure your browser to use the proxy. All this will be in vain if the browser will not take advantage of it.