After 3 years of sticking with Novell, I recently switched away from openSUSE to Debian. There are a few reasons why, but I won't bore you with them. So far I'm liking it. There are a few things to set up before I settle in, and one is slow DNS lookup.
I described how and why to make a caching-only DNS on openSUSE in July 2010. In Debian it's a little different:
# aptitude install bind9
/etc/bind
. For a simple caching-only server, you leave /etc/bind/named.conf untouched and instead change /etc/bind/named.conf.options
to have your forwarders:
// MJL20120111 - Adding Google2, OpenDNS1, gateway
forwarders {
8.8.4.4; 208.67.222.222; 192.168.1.1;
};
# service bind9 restart
/etc/resolv.conf
:
nameserver 127.0.0.1 #local bind
$ nslookup australia.gov.au Server:127.0.0.1 Address:127.0.0.1#53Non-authoritative answer: Name:australia.gov.au Address: 205.239.168.12
All good, and much faster. Happy surfing.