Making Web Browsing faster under Linux
At the office, the network is badly configured. Apparently, name resolution is not a priority and it is really slow. So, what I did was to install bind and use my own name server.
Disclaimer: expect bad English or rather, techno-babble to follow.
As I use gentoo, I first had to install bind.
emerge bind bind-tools
Then, you have to
rc-update named default
so that bind is always started when the machine reboots. Start bind with
/etc/init.d/named start
I modified /etc/resolv.conf by adding
nameserver 127.0.0.1
and I made sure that dhcpcd wouldn’t rewrite my /etc/resolv.conf file by adding the line
dhcpcd_eth1=”-R”
to the file /etc/conf.d/net. Finally, restart your network by
/etc/init.d/net.eth0 restart
or
/etc/init.d/net.eth1 restart
like here where for some reason I have eth1 has my network adapter.