Pessoal,
Iniciei hoje a configura��o do servidor DNS, seguindo o HOWTO apresentado
aqui na lista. Estou usando o BIND 9.1.2
Ao testar com "dig -x 127.0.0.1", recebo a resposta correta. Mas ao testar
maquina.dominio.com.br, eu n�o obtenho nenhuma resposta. Agradeceria se
algu�m pudesse me ajudar... estou apanhando um pouco :-) A configura��o �
essa, mas antes, vejam as mensagens de "erro" que apareceram em
/var/log/messages
Mai 25 07:07:24 cerebro named: named startup succeeded
May 25 07:07:24 cerebro named[1355]: loading configuration from
'/etc/named.conf'
May 25 07:07:24 cerebro named[1355]: option 'memstatistics-file' is not yet
implemented
May 25 07:07:24 cerebro named[1355]: the default for the 'auth-nxdomain'
option is now 'no'
May 25 07:07:24 cerebro named[1355]: no IPv6 interfaces found
May 25 07:07:24 cerebro named[1355]: listening on IPv4 interface lo,
127.0.0.1#53
May 25 07:07:24 cerebro named[1355]: command channel listening on
127.0.0.1#953
May 25 07:07:24 cerebro named[1355]: dns_zone_load: zone
coc-uberlandia.com.br/IN: no NS records
May 25 07:07:24 cerebro named[1355]: running
May 25 07:07:33 cerebro named[1355]: loading configuration from
'/etc/named.conf'
May 25 07:07:33 cerebro named[1355]: option 'memstatistics-file' is not yet
implemented
May 25 07:07:33 cerebro named[1355]: the default for the 'auth-nxdomain'
option is now 'no'
May 25 07:07:33 cerebro named[1355]: no IPv6 interfaces found
/ETC/NAMED.CONF
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "dominio.com.br" {
type master;
notify no;
file "dominio.com.br";
};
/VAR/NAMED/NAMED.CA
; <<>> DiG 9.1.2 <<>>
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56537
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 5
;; QUESTION SECTION:
;. IN NS
;; ANSWER SECTION:
. 192878 IN NS C.ROOT-SERVERS.NET.
. 192878 IN NS D.ROOT-SERVERS.NET.
. 192878 IN NS E.ROOT-SERVERS.NET.
. 192878 IN NS F.ROOT-SERVERS.NET.
. 192878 IN NS G.ROOT-SERVERS.NET.
. 192878 IN NS H.ROOT-SERVERS.NET.
. 192878 IN NS I.ROOT-SERVERS.NET.
. 192878 IN NS J.ROOT-SERVERS.NET.
. 192878 IN NS K.ROOT-SERVERS.NET.
. 192878 IN NS L.ROOT-SERVERS.NET.
. 192878 IN NS M.ROOT-SERVERS.NET.
. 192878 IN NS A.ROOT-SERVERS.NET.
. 192878 IN NS B.ROOT-SERVERS.NET.
;; ADDITIONAL SECTION:
C.ROOT-SERVERS.NET. 591626 IN A 192.33.4.12
J.ROOT-SERVERS.NET. 591626 IN A 198.41.0.10
K.ROOT-SERVERS.NET. 591626 IN A 193.0.14.129
L.ROOT-SERVERS.NET. 279278 IN A 198.32.64.12
M.ROOT-SERVERS.NET. 279278 IN A 202.12.27.33
;; Query time: 94 msec
;; SERVER: 200.243.224.3#53(200.243.224.3)
;; WHEN: Fri May 24 11:05:12 2002
;; MSG SIZE rcvd: 308
DOMINIO.COM.BR
; Zona para dominio.com.br
;
$TTL 43200
@ IN SOA maquina.dominio.com.br. root.dominio.com.br. (
24052002 ; Serial
3600 ; Refresh
900 ; Retry
1209600 ; Expire
43200 ) ; Minimum TTL
;
IN NS maquina
IN A 200.251.xxx.xxx
;
;
;Maquinas com IP Fixo
localhost A 127.0.0.1
cerebro A 200.251.xxx.xxx
/ETC/NAMED.LOCAL
$TTL 43200
@ IN SOA maquina.dominio.com.br. root.dominio.com.br. (
24052002 ; Serial
3600 ; Refresh
900 ; Retry
1209600 ; Expire
43200 ) ; Minimum TTL
;
NS maquina.dominio.com.br.
1 IN PTR localhost.
Assinantes em 24/05/2002: 2270
Mensagens recebidas desde 07/01/1999: 168284
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]