Ol� Thiago, o arqwuivo tem que ficar assim, conforme o exemplo que estou enviando ?

Grato

Stenio

options {
        forwarders { 200.154.100.162; };
        forward first;
        directory "/var/named";
        allow-query{
                127.0.0.1/32;
                192.168.0.0/24;
                192.168.10.0/24;
        };
        listen-on{
                127.0.0.1/32;
                192.168.0.0/24;
                192.168.10.0/24;
        };
                                /*
         * 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";
};
//
// 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 "DVWDXkNuw3fbfM4KoK932A==";
};
//
// 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 "dominio.com.br" {
        type master;
        file "dominio.com.br";
};
zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};
zone "0.168.192.IN-ADDR.ARPA" {
        type master;
        file "192.168.0";
};



From: Thiago Macieira <[EMAIL PROTECTED]>
To: [email protected]
CC: "Stenio Cordeiro de Paula" <[EMAIL PROTECTED]>
Subject: Re: (linux-br)Arquivo named Duvida
Date: Mon, 7 Mar 2005 20:21:59 -0300

Stenio Cordeiro de Paula wrote:
>Ol�,
>
>Gostaria que me fosse tirado uma duvida, tenho um servidor de e-mail Red
> Hat 9 utilizando QmailRocks + Spamassassim + Clamav + Squirremail, meu
> problema � o seguinte, o site da empresa est� hospedado no Terra, teria
> como fazer o named utilizar o IP do servidor Terra para resolver os
> nomes do sites interno e tamb�m do e-mail ?

Sim.

Na se��o options, coloque:

        forwarders { ip.do.terra; ip2.do.terra; };
        forward first;

n�o se esque�a dos pontos-e-v�rgulas.
--
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. T� cennan his weorc gearu, ymbe se circolwyrde, wear� se c�gbord and se
leohtspeccabord, and �a m�s c�mon lator. On �one d�g, he hine reste.
<< attach3 >>


ICQ: 106841709

_________________________________________________________________
MSN Messenger: converse online com seus amigos . http://messenger.msn.com.br


---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a