dear all

ane lagi coba virtualbox nih  tadinya mau di jadi dns server  slave.
mesin ubuntu 10.10  dan dns server yg dipakai bind9 ( bawanyaa)
berikut config
named.conf.local  :
bajigur ~: cat /etc/bind/named.conf.local
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "company.co.id" {
        type slave;
        masters {
             192.168.0.13;
          };
        file "/etc/bind/db.company";
};

bajigur ~:
bajigur ~: ls -la /etc/bind/
total 64
drwxr-sr-x  2 root bind 4096 2010-10-25 19:42 .
drwxr-xr-x 85 root root 4096 2010-10-25 18:47 ..
-rw-r--r--  1 root root  601 2010-08-05 03:39 bind.keys
-rw-r--r--  1 root root  237 2010-08-05 03:39 db.0
-rw-r--r--  1 root root  271 2010-08-05 03:39 db.127
-rw-r--r--  1 root root  237 2010-08-05 03:39 db.255
-rw-r--r--  1 root root  353 2010-08-05 03:39 db.empty
-rwxrwxrwx  1 bind bind    0 2010-10-26 09:04 db.company
-rw-r--r--  1 root root  270 2010-08-05 03:39 db.local
-rw-r--r--  1 root root 2994 2010-08-05 03:39 db.root
-rw-r--r--  1 root bind  463 2010-08-05 03:39 named.conf
-rw-r--r--  1 root bind  490 2010-08-05 03:39 named.conf.default-zones
-rw-r--r--  1 root bind  341 2010-10-25 19:42 named.conf.local
-rw-r--r--  1 root bind  572 2010-08-05 03:39 named.conf.options
-rw-r-----  1 bind bind   77 2010-10-25 17:54 rndc.key
-rw-r--r--  1 root root 1317 2010-08-05 03:39 zones.rfc1918
bajigur ~: rndc reload
server reload successful
bajigur ~: ping 192.168.0.13
PING 192.168.48.13 (192.168.0.13) 56(84) bytes of data.
64 bytes from 192.168.0.13: icmp_req=1 ttl=255 time=4.23 ms
64 bytes from 192.168.0.13: icmp_req=2 ttl=255 time=0.767 ms
64 bytes from 192.168.0.13: icmp_req=3 ttl=255 time=0.779 ms
64 bytes from 192.168.0.13: icmp_req=4 ttl=255 time=1.55 ms
64 bytes from 192.168.0.13: icmp_req=5 ttl=255 time=0.959 ms
^C
--- 192.168.0.13 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4010ms
rtt min/avg/max/mdev = 0.767/1.657/4.230/1.317 ms
bajigur ~:
bajigur ~: nslookup yahoo.com 192.168.0.13
Server:         192.168.0.13
Address:        192.168.0.13#53

Non-authoritative answer:
Name:   yahoo.com
Address: 98.137.149.56
Name:   yahoo.com
Address: 209.191.122.70
Name:   yahoo.com
Address: 67.195.160.76
Name:   yahoo.com
Address: 69.147.125.65
Name:   yahoo.com
Address: 72.30.2.43
bajigur ~:
bajigur ~: rndc reload
server reload successful
bajigur ~: /etc/init.d/bind9 restart
 * Stopping domain name service... bind9
                                            [ OK ]
 * Starting domain name service... bind9
                                            [ OK ]
bajigur ~:
bajigur ~: ls -la /etc/bind/
total 64
drwxr-sr-x  2 root bind 4096 2010-10-25 19:42 .
drwxr-xr-x 85 root root 4096 2010-10-25 18:47 ..
-rw-r--r--  1 root root  601 2010-08-05 03:39 bind.keys
-rw-r--r--  1 root root  237 2010-08-05 03:39 db.0
-rw-r--r--  1 root root  271 2010-08-05 03:39 db.127
-rw-r--r--  1 root root  237 2010-08-05 03:39 db.255
-rw-r--r--  1 root root  353 2010-08-05 03:39 db.empty
-rwxrwxrwx  1 bind bind    0 2010-10-26 09:28 db.company
-rw-r--r--  1 root root  270 2010-08-05 03:39 db.local
-rw-r--r--  1 root root 2994 2010-08-05 03:39 db.root
-rw-r--r--  1 root bind  463 2010-08-05 03:39 named.conf
-rw-r--r--  1 root bind  490 2010-08-05 03:39 named.conf.default-zones
-rw-r--r--  1 root bind  341 2010-10-25 19:42 named.conf.local
-rw-r--r--  1 root bind  572 2010-08-05 03:39 named.conf.options
-rw-r-----  1 bind bind   77 2010-10-25 17:54 rndc.key
-rw-r--r--  1 root root 1317 2010-08-05 03:39 zones.rfc1918
bajigur ~:

ini setingan di dns server ( master )

acl slavedns {
        192.168.0.18;
};
options {
        version "ucinx"; // remove this to allow version queries

        listen-on    { any; };
        listen-on-v6 { any; };

        empty-zones-enable yes;

        allow-recursion { clients; };
        allow-transfer { slavedns; };
};

logging {
        category lame-servers { null; };
};

zone "company.co.id" {
        type master;
        file "master/db.company";
        allow-transfer {
        slavedns;
        };
};


nah kira kira kenapa yach , apakah enviroment virtual box untuk dns
kurang mantab ? padahal semua di local network blm up ke production
server .

-- 
sonjaya
http://sharenupload.com

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke