[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dúvida sobre Bind



Olá!!!

Vejam, eu estou configurando aqui um DNS e esses são os meus arquivos de configuração:

esse é o db.pgj.pb.gov.br

$ORIGIN .
$TTL 86400
@    IN SOA    servweb.pgj.pb.gov.br. desur.pgj.pb.gov.br. (
    2009051901 3H 15M 1W 1D )     
    NS servweb.pgj.pb.gov.br.
    NS zulu.triade-net.com.br.
    IN MX 10 servweb.pgj.pb.gov.br.
;
$ORIGIN pgj.pb.gov.br.
arquimedes    IN    A    200.199.79.85
www        IN    A    200.199.79.83
webmail        IN    A    200.199.79.82
servweb        IN    A    200.199.79.82

esse é o reverso (db.79.199.200)

$ORIGIN .
$TTL 86400
79.199.200.in-addr.arpa        IN SOA    servweb.pgj.pb.gov.br. desur.pgj.pb.gov.br. (
                2009051901 3H 15M 1W 1D )     
                NS servweb.pgj.pb.gov.br.
;
$ORIGIN pgj.pb.gov.br.
85    IN    PTR    arquimedes
83    IN    PTR    www
82    IN    PTR    webmail
82    IN    PTR    servweb

quando eu uso o named-checkconf para verificar erros ele apresenta o seguinte:

/db.pgj.pb.gov.br:2: unknown option '$ORIGIN'
/db.pgj.pb.gov.br:10: unknown option '$ORIGIN'
/db.pgj.pb.gov.br:15: unexpected token near end of file

Alguém sabe o pq?




2009/5/19 Fagner Patricio <fagner.patricio@gmail.com>
Estou configurando um servidor DNS aqui e tenho alguma dúvidas, qual a diferença dessas 3 linhas:

www            A    200.xxx.xxx.xxx
www    IN        A    200.xxx.xxx.xxx
www    604800    IN        A    200.xxx.xxx.xxx

e a diretiva abaixo significa oq?:

$ORIGIN dominio.com.br

--
Fagner Patrício
João Pessoa - PB
Brasil



--
Fagner Patrício
João Pessoa - PB
Brasil

Reply to: