Ola pessoa abaixo esta os arquivos de configuracao do bind funcionando
corretamente, gostaria que pessoal que � fera no BIND comentassem esses
arquivos para que possam ser melhorados e aproveitado por todos da nossa
lista... A rede que foi configurado � 10.1.1.0 o server master �
10.1.1.252 e o slave 10.1.1.5

Sds
Pedro 

############### named.conf #############

options {
        directory "/var/named";
        listen-on{
                127.0.0.1/32; 10.1.1.252/32; 10.1.1.5/32; 10.1.1.0/32;
        };
        allow-query{ 127.0.0.1/32;  10.1.1.252/32; 10.1.1.5/32;
10.1.1.0/32;
        };

                                        /*
         * 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;
        dump-file "/var/named/dump/named_dump.db";
        statistics-file "/var/named/dump/named.stats";
        memstatistics-file "/var/named/dump/named.memstats";
};
//
// a shared secret for the rndc tool
// this key must be the same one that is in the
// /etc/rndc.conf file
//
        key key_rndc{
        algorithm "hmac-md5";
        secret "ZRfdOQhXMk1CJJEyrRHTjA==";
};
//
// a control channel for the new rndc tool
//
        controls{
        inet 127.0.0.1 allow{
                localhost;
        }       keys{
                key_rndc;
        };
};
zone "." {
        type hint;
        file "named.ca";
};
zone "teste.com.br" {
        type master;
        file "db.teste.com.br";
};
zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

//zone "sti-passaura.com.br" {
//      type master;
//      file "db.sti-passaura.com.br";  
//};

zone "1.1.10.IN-ADDR.ARPA" {
        type master;
        file "dbrede.10.1.1";
};

############### named.ca #############
$TTL 86400
@       IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

1       IN      PTR     localhost.

############### db.teste.com.br #############

$TTL    86400
@               IN      SOA     sfl.passura.com.br.
root.serv1.teste.com.br. (
                        2002022801      ; serial
                        10800           ; refresh
                        3600            ; retry
                        604800          ; expire
                        86400  )        ; minimum
                        

                IN      MX      5 mx.teste.com.br.
@               IN      NS      serv1.teste.com.br.
@               IN      NS      serv2.teste.com.br.
@               IN      A       10.1.1.252

www             IN  A 10.1.1.252
smtp            IN  A 10.1.1.252
pop             IN  A 10.1.1.252
mx              IN  A 10.1.1.252
ftp             IN  A 10.1.1.252
serv1           IN  A 10.1.1.252
serv2           IN  A 10.1.1.5


############### db.rede.10.1.1 #############
$TTL    86400
@               IN      SOA     sfl.passaura.com.br.
root.serv1.teste.com.br. (
                        2002022801 ; serial
                        10800      ; refresh
                        3600       ; retry
                        604800     ; expire
                        86400    ) ; minimum
                        
252             IN      PTR     serv1.
5               IN      PTR     serv2.
@               IN      NS      serv1.
@               IN      NS      serv2.
############### named.conf do servidor slave do dominio #############
options {
        directory "/var/named";
        listen-on{ 127.0.0.1/32;  10.1.1.5/32; 10.1.1.252/32;
10.1.1.0/32; };
        allow-query { 127.0.0.1/32; 10.1.1.5/32; 10.1.1.252/32;
10.1.10/32; };
        
/*
         * 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;
        dump-file "/var/named/dump/named_dump.db";
        statistics-file "/var/named/dump/named.stats";
        memstatistics-file "/var/named/dump/named.memstats";
};
//
// a shared secret for the rndc tool
// this key must be the same one that is in the
// /etc/rndc.conf file
//
//      key key_rndc{
//      algorithm "hmac-md5";
//      secret "UwQPJ1qMxUxow6uD+xztWA==";
//};
//
// a control channel for the new rndc tool
//
//      controls{
//      inet 127.0.0.1 allow{
//              localhost;
//      }       keys{
//              key_rndc;
//      };
//};
zone "." {
        type hint;
        file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

//zone "1.1.10.in-addr.arpa" {
//      type master;
//      file "db.reverso.10.1.1"
//};
zone "teste.com.br" {
        type slave;
        file "dbslave.teste.com.br";
        masters {
        10.1.1.252;
   };
};

//zone "sti-passaura.com.br" {
//      type slave;
//      file "dbslave.sti-passaura.com.br" ;
//      notify no;
//      masters {10.1.1.252; };
//};
zone "1.1.10.in.addr.arpa" {
        type master;
        file "db.reverso.10.1.1";
};






//




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.332 / Virus Database: 186 - Release Date: 6/3/2002
 


Assinantes em 11/03/2002: 2231
Mensagens recebidas desde 07/01/1999: 157748
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a