c3bonx said the following on 23/08/05 1:16 PM:
- Cygnus - wrote:
Ini konfigurasi yg baru:

[EMAIL PROTECTED] named]# cat /usr/local/named/etc/named.conf
options {
       directory "/var/named";
       pid-file "/var/named/named.pid";
       listen-on {192.168.10.3; };
       query-source address * port 53;
       forward first;
          forwarders {
               202.158.3.6;
               202.158.3.7;
          };
};

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

zone "." IN {
       type hint;
       file "named.root";
};

zone "localhost" IN {
       type master;
       file "db.localhost";
       allow-update { none; };
};

zone "tokai.co.id" IN {
      type master;
      file "db.tokai.co.id";
      allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
       type master;
       file "db.127.0.0";
       allow-update { none; };
};

zone "10.168.192.in-addr.arpa" IN {
       type master;
       file "db.192.168.10";
};

key "rndc-key" {
       algorithm hmac-md5;
       secret "TMQA+ofbmLEGiEbu44p07g==";
};

controls {
       inet 127.0.0.1 port 953
       allow { 127.0.0.1; } keys { "rndc-key"; };
};

------------------------------------------------------------

[EMAIL PROTECTED] named]# cat db.127.0.0
$TTL 86400
@       IN      SOA   localhost. root.localhost. (
                     2005082300      ; serial
                     28800           ; refresh
                     14400           ; retry
                     3600000         ; expiry
                     86400 )         ; minimum

       IN      NS      localhost.
1       IN      PTR     localhost.


[EMAIL PROTECTED] named]# cat db.192.168.10
$TTL 86400
@       IN      SOA   localhost. root.localhost. (
                     2003021500      ; serial
                     28800           ; refresh
                     14400           ; retry
                     3600000         ; expiry
                     86400 )         ; minimum

       IN      NS      localhost.
1       IN      PTR     localhost.


[EMAIL PROTECTED] named]# cat db.localhost
$TTL 86400
$ORIGIN localhost.
@       IN      SOA     localhost. root.localhost. (
                       2005082300      ; serial
                       28800           ; refresh
                       14400           ; retry
                       3600000         ; expiry
                       86400 )         ; minimum

       IN      NS      localhost.
       IN      A       127.0.0.1


[EMAIL PROTECTED] named]# cat db.tokai.co.id
$TTL 86400
$ORIGIN tokai.co.id.
@       IN      SOA      tokai.co.id. admin.tokai.co.id. (
                        2005082300      ; serial
                        28800           ; refresh
                        14400           ; retry
                        3600000         ; expiry
                        86400 )         ; minimum


                       NS      ns.tokai.co.id.
TOKAI.          IN      A       192.168.10.2
DONI.           IN      A       192.168.10.4
JAELANI.        IN      A       192.168.10.17
PROXY.          IN      A       192.168.10.3


[EMAIL PROTECTED] named]# ps ax |grep named
23871 ? Ss 0:00 /usr/local/named/sbin/named -u named -c /usr/local/named/etc/named.conf
23900 pts/0    S+     0:00 grep named
[EMAIL PROTECTED] named]# ping JAELANI
ping: unknown host JAELANI


Utk mengecek apakah file konfigurasinya sdh benar bisa
menggunakan command 'host' atau 'dig'.

--
m4z3

--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke