Install isc bind server
sudo apt-get install bind9
test if the dns query works
$ dig reea.net @127.0.0.1
make it default resolver for your system
sudo pico /etc/resolv.conf
or open it with any editor
sudo kate /etc/resolv.conf
add this entry
nameserver 127.0.0.1
delete all other nameservers or comment them if you want
and that is all (tested on ubuntu karmic and intrepid)
Tuesday, September 15, 2009
Subscribe to:
Post Comments (Atom)
1 comment:
well... bind will resolve the domains through the root server.. and it's not very efficient...
Post a Comment