[Ubuntu-BR] bind com 2 zonas

Ronan Lucio ronanlucio em gmail.com
Quarta Junho 2 12:53:15 UTC 2010


Lucas,

Na view interna eu uso o seguinte:

--------------------------
view "interna" {
        match-clients { redes_permitidas; };
        recursion yes;

        zone "." {
                type hint;
                file "named.root";
        };

        zone "0.0.127.IN-ADDR.ARPA" {
                type master;
                file "master/localhost.rev";
        };

        // RFC 3152
        zone
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" {
                type master;
                file "master/localhost-v6.rev";
        };

        // RFC 1886 -- deprecated
        zone "
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
                type master;
                file "master/localhost-v6.rev";
        };
};
--------------------------

Quanto à sua view externa, parece estar correta.
No meu caso eu uso "recursion no" na view externa por questões de segurança.
Mas no seu caso, primeiro faça funcionar utilizando recursividade, vai ficar
mais fácil.

[]s
Ronan



More information about the ubuntu-br mailing list