- Sites Internos
+ Responder ao Tópico
-
Sites Internos
Pessoal,,
To com 2 DNS, 1 primário(Ruindows) e outro secundário("super-debian"). Quando eu tiro o DNS primário de uma estação da rede interna, para fazer uma simulação , o DNS secundário resolve todos os sites externos, mas não os sites internos que tenho em minha rede. A sincroniização tá aparentemente OK, alguém sabe o que pode ser? Eu habilitei o squid para ver o erro que dava no browser e vi que ele não consegue resolver os sites internos.
-
Sites Internos
posta sua configurações do DNS do debian para nos da uma olhada :lol:
-
Sites Internos
experimente colocar no /etc/resolv o ip de sua máquina.
-
named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
forwarders {
192.168.XXX.XX;
};
};
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// add entries for other zones below here
zone "aldeia.com" {
type slave;
file "/var/cache/bind/aldeia.com.hosts";
masters {
192.168.XXX.XX;
};
allow-query {
192.168.XXX.XX;
192.168.XXX.XX;
};
allow-transfer {
192.168.XXX.XX;
192.168.XXX.XX;
};
allow-update {
192.168.XXX.XX;
192.168.XXX.XX;
};
};
server 192.168.200.31 {
};
-
Resultado do NSlookup
dei um nslookup e consegui os seguintes resultados.
siteinterno[enter]
Resposta:
*** meuservidor.com.br não é possível encontrar siteinterno: Query refused.
www.terra.com.br[enter]
Nome: www.terra.com.br
Address: XXX.XX.XX.XX
[Resultado OK!]