Sabtu, 10 Maret 2012

Konfigurasi Bind di linux debian 4 / named.conf

# cd /etc/bind
# /etc/bind/cp db.local forward
# /etc/bind/cp db.127 reverse
# /etc/bind/cp named.conf master.conf

Edit named :
ketik perintah berikut
# pico /etc/bind/named.conf

hasilnya seperti ini yang sudah di edit
// This is the primary configuration file for the BIND DNS server named.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912




zone "localhost" {
type master;
file "/etc/bind/db.local";
};


zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

zone "smkbs.sch.id" {
type master;
file "/etc/bind/forward";
};
};
zone "4.100.202.in-addr.arpa" {
type master;
file "/etc/bind/reverse";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

Tidak ada komentar: