get it from http://www.bind9.net/download for source file or get your rpms from installation package
i use rpms for easier installation procedure ;D
you'll need the ff:
bind, bind-utils, bind-libs, bind-chroot
your /var/named/chroot/etc/named.conf should contain:
// Default named.conf generated upon installation of bind-9.2.4-30.el4_7.2
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders {8.8.8.8; 8.8.4.4;}; // i use google's dns servers
forward only;
};
include "/etc/rndc.key";
your /etc/resolv.conf should have:
nameserver 127.0.0.1
tada!!
(source: http://www.redhat.com/magazine/025nov06/features/dns/)
No comments:
Post a Comment