neo x wrote:

ini file named.conf nya
acl intranet {
       192.168.1.0/24;
       };
acl internet {
       222.124.32.208/28;
       };
acl slaveserver {
       222.124.32.217/32;
       };
// generated by named-bootconf.pl

options {
       directory "/var/named";
       allow-query {
       intranet;
       internet;
       };

       allow-transfer {
               slaveserver;
       };

       allow-recursion {
      intranet;
       internet;
       };
       /*
        * If there is a firewall between you and
nameservers you want
        * to talk to, you might need to uncomment the
query-source
        * directive below.  Previous versions of BIND
always asked
        * questions using port 53, but BIND 8.1 uses
an unprivileged
        * port by default.
        */




// query-source address * port 53;
// a caching only nameserver config
//
};

controls {
       inet 127.0.0.1 allow { localhost; }
       keys { rndckey;};
};

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

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

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

zone "pln-pikal.co.id" {
       type master;
       file "pln-pikal.co.id.hosts";
};

zone "1.168.192.in-addr.arpa" {
       type master;
       file "222.124.32.rev";
       };

include "/etc/rndc.key";


dan ini file pln-pikal.co.id.hosts  :

$TTL 38400
@       IN      SOA     proxy.pln-pikal.co.id.
root.localhost (
                       22;
                       28800;
                       7200;
                       604800;
                       86400;
               )

                       IN      NS      192.168.1.253
web                     IN      A       222.124.32.217
proxy                   IN      A       192.168.1.253
PLN_PIKITRING           IN      A       222.124.32.209
ns                      IN      A       192.168.1.251
tuc                     IN      A       222.124.32.219

www                     IN      CNAME   web



Kalo di #dig @ip_dns_server abc.co.id any , ada hasilnya gak?

trus gmn kalo konfigurasi zone filesnya begini

$TTL 38400
@       IN      SOA     ns.pln-pikal.co.id.
root.localhost (
                       22;
                       28800;
                       7200;
                       604800;
                       86400;
               )

                       IN      NS      ns
web                     IN      A       222.124.32.217
proxy                   IN      A       192.168.1.253
PLN_PIKITRING           IN      A       222.124.32.209
ns                      IN      A       192.168.1.251
tuc                     IN      A       222.124.32.219

www                     IN      CNAME   web




--
- Cygnus -


--
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