neorix
(usa Arch Linux)
Enviado em 17/09/2012 - 13:54h
eabreu escreveu:
Posta aqui como está seu named.conf ou named.conf.local e os arquivos de configuração de cada zona, pode ser ?
============================================================================
named.conf [MASTER]
============================================================================
options {
version "1.0";
listen-on port 53 { 186.202.139.XXX; 127.0.0.1; };
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";
recursion yes;
allow-recursion { 186.202.139.XXX; 186.202.166.XXX; 127.0.0.1; };
allow-query { 186.202.139.XXX; 186.202.166.XXX; 127.0.0.1; };
allow-transfer { 186.202.166.XXX; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "[dominio-X].com.br" {
type master;
file "zone.[dominio-X]";
allow-query { any; };
notify yes;
also-notify { 186.202.166.XXX; };
};
zone "XXX.139.202.186.in-addr.arpa" {
type master;
file "zone.186.202.139.XXX";
allow-query { any; };
notify yes;
also-notify { 186.202.166.XXX; };
};
zone "XXX.166.202.186.in-addr.arpa" {
type master;
file "zone.186.202.166.XXX";
allow-query { any; };
notify yes;
also-notify { 186.202.166.XXX; };
};
============================================================================
named.conf [SLAVE]
============================================================================
options {
version "1.0";
listen-on port 53 { 186.202.166.XXX; 127.0.0.1; };
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";
recursion yes;
allow-recursion { 186.202.166.XXX; 186.202.139.XXX; 127.0.0.1; };
allow-query { 186.202.166.XXX; 186.202.139.XXX; 127.0.0.1; };
allow-notify { 186.202.139.XXX; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "[dominio-X].com.br" {
type slave;
masters { 186.202.139.XXX; };
file "zone.[dominio-X]";
allow-query { any; };
};
zone "XXX.139.202.186.in-addr.arpa" {
type slave;
masters { 186.202.139.XXX; };
file "zone.186.202.139.XXX";
allow-query { any; };
};
zone "XXX.166.202.186.in-addr.arpa" {
type slave;
masters { 186.202.139.XXX; };
file "zone.186.202.166.XXX";
allow-query { any; };
};
============================================================================
zone.[dominio-X] [MASTER][SLAVE]
============================================================================
$TTL 300
@ IN SOA ns1.[dominio-X].com.br. it.[dominio-Z].com. (
2012091400 ; Serial
1200 ; Refresh
120 ; Retry
1209600 ; Expire
300 ) ; Minimum TTL
IN NS ns1.[dominio-X].com.br.
IN NS ns2.[dominio-X].com.br.
IN A 186.202.139.XXX
ns1 IN A 186.202.139.XXX
ns2 IN A 186.202.166.XXX
www IN A 186.202.139.XXX
============================================================================
(ns1) zone.186.202.139.XXX [MASTER][SLAVE]
============================================================================
$TTL 300
@ IN SOA ns1.[dominio-X].com.br. it.[dominio-Z].com. (
2012091700 ; Serial
1200 ; Refresh
120 ; Retry
1209600 ; Expire
300 ) ; Minimum
IN NS ns1.[dominio-X].com.br.
IN NS ns2.[dominio-X].com.br.
IN PTR ns1.[dominio-X].com.br.
============================================================================
(ns2) zone.186.202.166.XXX [MASTER][SLAVE]
============================================================================
$TTL 300
@ IN SOA ns1.[dominio-X].com.br. it.[dominio-Z].com. (
2012091700 ; Serial
1200 ; Refresh
120 ; Retry
1209600 ; Expire
300 ) ; Minimum
IN NS ns1.[dominio-X].com.br.
IN NS ns2.[dominio-X].com.br.
IN PTR ns2.[dominio-X].com.br.
============================================================================
resolv.conf
============================================================================
domain [dominio-X].com.br
nameserver 186.202.139.XXX
nameserver 186.202.166.XXX
search ns1.[dominio-X].com.br ns2.[dominio-X].com.br
============================================================================
hosts [MASTER]
============================================================================
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
186.202.139.XXX ns1.[dominio-X].com.br ns1
============================================================================
hosts [SLAVE]
============================================================================
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
186.202.166.XXX ns2.[dominio-X].com.br ns2
============================================================================
host.conf
============================================================================
order bind,hosts
multi on
============================================================================
nsswitch.conf
============================================================================
hosts: dns files