Konfigurasi DNS server at Debian Lenny

oke guys ketemu lg nihhh dah lama gak posting blog,, heheheheehe, kemarin kan dah tuh video tutorial nya cara buat DNS, kali ini gw sih cuma kasih konfigurasinya DNS server di Debian yg simpel aja. hheheheheh oke mari kita mulai belajar nya heheheheh ( kyk guru aja nih gw ) #narsis. ok deh mari kita mulai setting konfigurasi nya pertama nihhhh masuk dulu deh ke root dulu, kalo udah seperti tanda kyk pagar ( # ). nah kalo udah 
pico /etc/bind/named.conf.local

zone "lks2.sch.id" {
    type master;
    file "/var/cache/bind/for";
};
zone "2.168.192.in-addr.arp" {
    type master;
    file "/var/cache/bind/rev";

cp /etc/bindd/db.local /var/cache/bind/for
cp /etc/bindd/db.127 /var/cache/bind/rev

pico /var/cache/bind/for

server.lks2.sch.id. root.lks2.sch.id {
    1 serial

@          IN    A     server.lks2.sch.id.
@          IN    A    192.168.2.1
server    IN    A    192.168.2.1
www     IN    CNAME    server.lks2.sch.id.

pico /var/cache/bind/rev


server.lks2.sch.id. root.lks2.sch.id {
    1 serial

@    IN    PTR     server.lks2.sch.id.
1    IN    PTR    server.lks2.sch.id.
1    IN    PTR    www.lks2.sch.id.

/etc/init.d/bind9 restart

dig lks2.sch.id

nslookup -sil
set type=any
lks2.sch.id

0 Response to "Konfigurasi DNS server at Debian Lenny"

Posting Komentar

powered by Blogger | WordPress by Newwpthemes | Converted by BloggerTheme