DNS BIND ERRO

1. DNS BIND ERRO

Gedeone Melo
gedex

(usa Ubuntu)

Enviado em 17/10/2011 - 12:32h

Servidor de DNS CentOS 6

Alguém saberia me dizer onde estou cometendo um erro nesse arquivo do DNS BIND

Nome da maquina é: service
Arquivo /etc/named.conf

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; 200.241.126.2; 10.0.0.1; 192.168.10.14; };
listen-on-v6 port 53 { ::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";
allow-query { any; };
recursion yes;
allow-recursion {localhost; 200.241.126.0/24; 10.0.0.0/24; 192.168.10.0/29; };

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";

zone "gedex.com.br" IN {
type master ;
file "db.gedex.com.br";
};

arquivo /var/named/db.gedex.com.br

$TTL 86400

$ORIGIN gedex.com.br.

@1D IN SOA ns.gedex.com.br. service.gedex.com.br. (
2002 ; serial
3H ; refresh
15m ; retry
1w ; expire
3h ; minimum
)

IN NS ns.gedex.com.br.
IN MX 10 mail.gedex.com.br.
ns IN A 192.168.10.14



Erro ao iniciar o serviço
[root@service mestre]# service named restart
Parando o named: [ OK ]
Iniciando o named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
db.gedex.com.br:5: SOA record not at top of zone (\@1D.gedex.com.br)
db.gedex.com.br:14: \@1D.gedex.com.br: bad owner name (check-names)
dns_rdata_fromtext: db.gedex.com.br:15: near 'A': extra input text
zone gedex.com.br/IN: loading from master file db.gedex.com.br failed: not at top of zone
zone gedex.com.br/IN: not loaded due to errors.
_default/gedex.com.br/IN: not at top of zone
[FALHOU]



  


2. Re: DNS BIND ERRO

Eriton Almeida
eritonalmeida

(usa Debian)

Enviado em 17/10/2011 - 20:53h

dei uma arrumada, se der erro vc posta aqui.


options {
listen-on port 53 { 127.0.0.1; 200.241.126.2; 10.0.0.1; 192.168.10.14; };
listen-on-v6 port 53 { ::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";
allow-query { any; };
recursion yes;
allow-recursion {localhost; 200.241.126.0/24; 10.0.0.0/24; 192.168.10.0/29; };

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";

zone "gedex.com.br"{
type master;
file "/var/named/db.gedex.com.br";
};




arquivo /var/named/db.gedex.com.br

$TTL 86400

$ORIGIN gedex.com.br.

@ IN SOA ns.gedex.com.br. service.gedex.com.br. (
2002; serial
3H ; refresh
15m; retry
1w ; expire
3h ; minimum
)

@ IN NS ns.gedex.com.br.
@ IN MX 10 mail.gedex.com.br.
@ IN A 192.168.10.14
ns IN A 192.168.10.14
mail IN A 192.168.10.14


3. Continua o erro

Gedeone Melo
gedex

(usa Ubuntu)

Enviado em 18/10/2011 - 09:54h

O erro ainda continua amigo, estou como ip das placas de rede 200.241.126.2; 10.0.0.1; 192.168.10.14;

Parando o named: [ OK ]
Iniciando o named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
db.gedex.com.br:5: SOA record not at top of zone (\@1D.gedex.com.br)
zone gedex.com.br/IN: loading from master file db.gedex.com.br failed: not at top of zone
zone gedex.com.br/IN: not loaded due to errors.
_default/gedex.com.br/IN: not at top of zone
[FALHOU]







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts