- DNS unknown class/type
+ Responder ao Tópico
-
DNS unknown class/type
Alguem poderia me ajudar estou com o named levantado para configurar o DNS interno e a mensagem no MESSAGES é a seguinte:
dns_master_load: zone/rev.greenline:1: unknown RR type 'Greenline'
zone 16.200.000.132.in-addr.arpa/IN: loading master file zone/rev.greenline: unknown class/type
dns_master_load: zone/db.greenline:1: unknown RR type 'DNS'
zone greenline.lan.br/IN: loading unknown class/type
zone localhost/IN: loaded serial 42
running
arranque do named succeeded
Mas não funciona usando o dig greenline.lan.br
-
DNS unknown class/type
posta seu arquivos de zona e suas conf do named.conf. ae qualquer coisa da uma olhada neste link aki http://www.linuxstar.com.br/modules.php?name=Content
-
Valeu la vai o arquivo
-------------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 "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "greenline.lan.br" {
type master;
file "zone/db.greenline";
};
zone "16.200.000.132.in-addr.arpa" {
type master;
file "zone/rev.greenline";
};
------------------fim-----------------------
-----------------rev.greenline------------
#DND Greenline
$TTL 86400
#linha abaixo esta comentada mas nãentendo o porque 4linux
@ IN SOA 4linux.com.br. postmaster.4linux.com.br. (
#@ IN SOA greenline.lan.br. postmaster.greenline.lan.br. (
2003092002 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS greenline.lan.br.
16.200.000.132.in-addr.arpa. IN PTR greenline.lan.br.
------------------fim-----------------------
-----------------db.greenline-------------
# DNS Claudio
$TTL 86400
@ IN SOA greenline.lan.br. postmaster.greenline.lan.br. (
2003090200 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS greenline.lan.br.
IN NS ns.greenline.lan.br.
IN A 132.0.200.16
IN MX 5 mail.greenline.lan.br.
ns IN A 132.0.200.16
ftp IN A 132.0.200.16
www IN CNAME greenline.lan.br.
mail IN A 132.0.200.16
pop IN CNAME mail.greenline.lan.br.
smtp IN CNAME mail.greenline.lan.br.
-------------------fim-----------------------------------
-
DNS unknown class/type
será por causa do # Greenline do inicio do arquivo???
se eu não me engano nestes arquivos o comentário é ; ou //, não me lembro agora, o # não é considerado comentário