Disable IPv6Open the file "/etc/modprobe.d/aliases" as super user and change the line from
alias net-pf-10 ipv6to
alias net-pf-10 offsave the file and close it.
Cache DNS requestsWe are going to install a local DNS server to cache first time requests. Subsequent lookups will be resolved locally with out contacting remote DNS server. dnsmasq is a tiny DNS server and it is useful for this purpose. To install dnsmasq execute following command.
sudo apt-get -y install dnsmasqOpen the file /etc/dnsmasq.conf as super user and change the line from
listen-address=127.0.0.1save the file and close it. Open another file /etc/dhcp3/dhclient.conf as super user. Find the following line and uncomment it.
#prepend domain-name-servers 127.0.0.1;save the file and close it. Restart the system for changes to take effect.
- Install Adblock plus addon to remove unnecessery ads from webpages.
- Install Fasterfox addon to tweak max simultanious connections, http pipelining, dns caching, web page rendering, etc...
- Use opendns DNS servers to block malicious urls, and speedup initial lookups. Use opendns "Get Started" guide to congiure your machine or router.