[GTER] Configuração de DNS

Caio Zanolla zanolla at gmail.com
Mon Feb 7 09:45:16 -02 2011


Feb  6 22:47:51 ns named[1868]: /etc/named.conf:49: open:
/etc/rndc.key: permission denied
Feb  6 22:47:51 ns named[1868]: loading configuration: permission denied
Feb  6 22:47:51 ns named[1868]: exiting (due to fatal error)




Atenciosamente,

Caio Zanolla




2011/2/7 Ricardo Stock <ricardostock at bol.com.br>:
> Realmente pesquisar é tudo.
>
> ao parar o named com /etc/init.d/named stop
> tenho como retorno
> Parando o named: rndc: no key definition for name rndckey
>
> no log tenho como resultado
> Feb  6 22:47:51 ns named[1868]: starting BIND 9.2.1
> Feb  6 22:47:51 ns named[1868]: using 1 CPU
> Feb  6 22:47:51 ns named[1868]: loading configuration from '/etc/named.conf'
> Feb  6 22:47:51 ns named[1868]: /etc/named.conf:49: open: /etc/rndc.key:
> permission denied
> Feb  6 22:47:51 ns named[1868]: loading configuration: permission denied
> Feb  6 22:47:51 ns named[1868]: exiting (due to fatal error)
> Feb  6 22:57:04 ns named[1626]: shutting down: flushing changes
> Feb  6 22:57:04 ns named[1626]: stopping command channel on 127.0.0.1#953
> Feb  6 22:57:04 ns named[1626]: no longer listening on 127.0.0.1#53
> Feb  6 22:57:04 ns named[1626]: no longer listening on 192.168.0.11#53
> Feb  6 22:57:04 ns named[1626]: exiting
> Fev  6 22:57:04 ns named: desligar named succeeded
>
> eu gerei a chave com o comando
> dnssec-keygen -a HMAC-MD5 -b 512 -n HOST meudominio
> (estes arquivos ficaram em /etc)
>
> [root at ns etc]# service named status
> rndc: no key definition for name rndckey
>
> agora fica a pergunta, como gerar corretamente a chave e como e onde
> guarda-la.
>
> Novamente obrigado pela ajuda de todos e desculpem por algo.
>
> PS (só uso window no note :-);
>
>
>
> --
> gter list    https://eng.registro.br/mailman/listinfo/gter
>



More information about the gter mailing list