Bind notifica em exibições de DNS

4

Configurei dois servidores DNS baseados no Cent OS, um para mestre e outro para escravo com exibições internas e externas de um domínio. O problema é que recebo notificações e atualizações automáticas de zona quando executo uma recarga no mestre apenas para a visualização interna e não para a externa.

Qualquer ajuda?

Estou sentindo falta de algo?

Obrigado

arquivo de opções do mestre:

    options {

    directory "/var/named";

    listen-on port 53 { 127.0.0.1; master; };

    version "None of your business"; 
    server-id "None of your business";
    hostname "None of your business";
    blackhole {badips;};
    auth-nxdomain no;

    transfers-in 3;
    transfers-per-ns 3;
    transfers-out 9;

    recursion yes;
    allow-recursion {127.0.0.1; internals;};

    allow-query {any;};

    allow-transfer {127.0.0.1; slave;};

    max-transfer-time-in 60;

    rate-limit {

        responses-per-second 3;
        window 5;
        log-only yes;
        exempt-clients {mail-ad; slave; };

    };
};

arquivo de opções do escravo:

    options {

    directory "/var/named";

    listen-on port 53 { 127.0.0.1; slave; };

    version "None of your business"; 
    server-id "None of your business";
    hostname "None of your business";
    blackhole {badips;};
    auth-nxdomain no;

    transfers-in 3;
    transfers-per-ns 3;
    transfers-out 9;

    recursion yes;
    allow-recursion {127.0.0.1; internals;};

    allow-transfer {127.0.0.1; master;};

    max-transfer-time-in 60;

    allow-query {any;};

    rate-limit {

        responses-per-second 3;
        window 5;
        log-only yes;
        exempt-clients {mail-ad; master; };

    };
};

visão do mestre:

    view domain.com-external {

    match-clients {external;};

    zone "domain.com." IN {
        type master;
        file "/etc/named/db.domain.com.external.hosts";
        notify yes;
        also-notify {slave;};
    };

};

view domain.com-internal {

    match-clients {internals;};

    zone "domain.com." IN {
        type master;
        file "/etc/named/db.domain.com.internal.hosts";
        notify yes;
    };

    zone "." IN {
        type hint;
        file "/etc/named/db.root";

    };

    zone "localhost" IN {
        type master;
        file "/etc/named/db.local";

    };

    zone "127.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.127";

    };

    zone "0.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.0";

    };

    zone "255.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.255";

    };

    zone "10.in-addr.arpa"      { type master; file "/etc/named/db.empty"; };
    zone "16.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "17.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "18.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "19.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "20.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "21.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "22.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "23.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "24.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "25.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "26.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "27.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "28.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "29.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "30.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "31.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "168.192.in-addr.arpa" { type master; file "/etc/named/db.empty"; };


};

vistas do escravo:

v

iew domain.com-external {

    match-clients {external;};

    zone "domain.com." IN {
        type slave;
        masters {master;};
        file "slaves/db.domain.com.external.hosts";
        notify yes;
    };

};

view domain.com-internal {

    match-clients {internals;};

    zone "domain.com." IN {
        type slave;
        masters {masters;};
        file "slaves/db.domain.com.internal.hosts";
        notify yes;

    };

    zone "." IN {
        type hint;
        file "/etc/named/db.root";

    };

    zone "localhost" IN {
        type master;
        file "/etc/named/db.local";

    };

    zone "127.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.127";

    };

    zone "0.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.0";

    };

    zone "255.in-addr.arpa" IN {
        type master;
        file "/etc/named/db.255";

    };

    zone "10.in-addr.arpa"      { type master; file "/etc/named/db.empty"; };
    zone "16.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "17.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "18.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "19.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "20.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "21.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "22.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "23.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "24.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "25.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "26.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "27.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "28.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "29.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "30.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "31.172.in-addr.arpa"  { type master; file "/etc/named/db.empty"; };
    zone "168.192.in-addr.arpa" { type master; file "/etc/named/db.empty"; };


};
    
por subfire91 07.10.2016 / 13:03

0 respostas