- probemas com DNS
+ Responder ao Tópico
-
probemas com DNS
Olá pessoal estou precisando da ajuda de vc's pois faz uns 15 dias que estou tentando configurar um servidor DNS local para testes mas nao estou conseguindo!
peguei um exemplo e o adaptei mas nao consgi fazer fucionar!!!
aki esta as configuracoes!
host.conf
order hosts,bind
hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 laboratorio.teste.com.br laboratorio localhost.localdomain localhost
192.168.0.1 laboratorio.teste.com.br laboratorio
named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* 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 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "teste.com.br" IN {
type master;
file "teste.com.br";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192";
allow-update { none; };
};
include "/etc/rndc.key";
named.local
$TTL 86400
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
localhost.zone
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS @
1D IN A 127.0.0.1
teste.com.br
$TTL 86400
@ IN SOA laboratorio.teste.com.br. root.teste.com.br. (
2004101101 ; serial
3H ; refresh
30 ; retry
70D ; expire
30 ; default_ttl
)
www IN CNAME laboratorio
ftp IN CNAME laboratorio
;mail IN CNAME laboratorio
pop IN CNAME laboratorio
smtp IN CNAME laboratorio
@ IN MX 5 laboratorio.teste.com.br.
@ IN NS 10
laboratorio IN A 192.168.0.1
0.168.192
$TTL 86400
@ IN SOA laboratorio.teste.com.br. root.teste.com.br. (
2004101101 ; serial
3H ; refresh
30 ; retry
70D ; expire
30 ; default_ttl
)
@ IN NS laboratorio.teste.com.br.
87 IN PTR laboratorio.teste.com.br.
#######################################
obs.: qdo ping www.teste.com.br ele me responde normal, mas qdo vou a uma estacao da rede ele nao da resposta!!!
agradeço desde já a colaboraçao de todos
-
probemas com DNS
ninguem pode me ajudar???
-
probemas com DNS
netstat -taunp
olha se a porta 53 do udp e tcp esta subindo na interface desejada (ou 0.0.0.0)
configura seus clientes para usar seu servidor de nomes