Jump to content

erro dns bind9 centos 6

Thiago M

Recommended Posts

Estou com problema no bind-9 para configurar as dns.  fiz a configuração certinha e dns master funcionou porem a dns slave não funcionou. 

vi que alguns tutoriais eles editam o arquivo vi /etc/named.conf 

options {
listen-on port 53 {; }; # DNS MASTER
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
allow-transfer {; }; # DNS SLAVE
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */

bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
    forwarders {;;

logging {
channel default_debug {
file "data/named.run";
severity dynamic;

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

######## zonas ############

zone "dominio.com.br" {
    type master;
    file "/var/named/dominio.com.br.hosts";
        allow-update { none; };
        allow-transfer {; };# DNS Slave 

zone "1.168.192.in-addr.arpa" {
    type master;
    file "/var/named/192.168.1.rev";
    allow-update {
    allow-transfer {; };# DNS Slave 

e depois 

configuram o mesmo arquivo com ip slave e não consegui entender se esta certo ou não.


alguem pode me ajudar??? desde ja obrigado.

Edited by Thiago M
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...