Jump to content

Recommended Posts

Posted (edited)

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 { 192.168.1.10; }; # 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 { 192.168.1.11; }; # 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 {
        8.8.8.8;
        8.8.4.4;
        };
};

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 { 192.168.1.11; };# DNS Slave 
    };

zone "1.168.192.in-addr.arpa" {
    type master;
    file "/var/named/192.168.1.rev";
    allow-update {
        none;
        };
    allow-transfer {
        192.168.1.11; };# 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

Posted

sim fiz a configuração ai em cima porem tenho 2 ips e assim igual o texto acima preciso configurar a dns slave para dar certo pois assim so funciona a master e dai que nao sei como fazer.

se quiser posto toda a configuração.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...

Important Information

Do you agree with our terms?

-