ao iniciar o Bind ele dá Falhou, como descubro onde está o problema?
Quais os arquivos de configurações necessarios eu devo postar aqui pra vcs me ajudarem?
Versão Imprimível
ao iniciar o Bind ele dá Falhou, como descubro onde está o problema?
Quais os arquivos de configurações necessarios eu devo postar aqui pra vcs me ajudarem?
este é o meu /var/named/named.caCitação:
Postado originalmente por jrctec
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . "
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC registration services
; under anonymous FTP as
; file /domain/named.root
; on server FTP.RS.INTERNIC.NET
; -OR- under Gopher at RS.INTERNIC.NET
; under menu InterNIC Registration Services (NSI)
; submenu InterNIC Registration Archives
; file named.root
;
; last update: Aug 22, 1997
; related version of root zone: 1997082200
;
;
; formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; temporarily housed at NSI (InterNIC)
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10
;
; housed in LINX, operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
;
; temporarily housed at ISI (IANA)
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
;
; housed in Japan, operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
; End of File
este é o /var/named/named.local
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
esse é o /var/named/synapse.com.br.db
synapse.com.br. IN SOA lablinux.synapse.com.br. root.lablinux.synapse.com.br. (
950000
86400
3600
3600000
3600 )
synapse.com.br. IN A 192.168.0.254
synapse.com.br. IN NS lablinux.synapse.com.br.
synapse.com.br. IN MX 5 lablinux.synapse.com.br.
www IN A 192.168.0.254
esse é o /var/named/synapse.com.br.rev
0.168.192.in-addr.arpa. IN SOA lablinux.synapse.com.br. root.lablinux.synapse.com.br. (
950000
86400
3600
3600000
3600 )
0.168.192.in-addr.arpa. IN NS lablinux.synapse.com.br.
1 IN PTR lablinux.synapse.com.br.
e esse é o /etc/named/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;
dump-file "/var/named/dump/named_dump.db";
statistics-file "/var/named/dump/named.stats";
memstatistics-file "/var/named/dump/named.memstats";
// remove this next line if you want named to listen on
// all available interfaces, or adjust add new ones as
// you see fit
listen-on { 192.168.0.254;127.0.0.1/32; };
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "synapse.com.br" {
type master;
file "synapse.com.br.db";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "synapse.com.br.rev";
};
//
// a shared secret for the rndc tool
// this key must be the same one that is in the
// /etc/rndc.conf file
//
//
// a control channel for the new rndc tool
//
controls {
inet 127.0.0.1 allow { localhost; } keys { key_rndc; };
};
eu só fiz esses arquivos de acordo com o tutorial que eu li e estou tentando passo a passo.
e estão deste jeito que eu postei, na hora de startar ele só dá falhou e nenhuma mensagem.
inicia o servidor com -g;
não sei sua dist, mas localiza o executavel, tipo :
ele mostra a depuracao e te diz o erro.Código :
/usr/bin/named -g
A minha distro é conectiva 10.Citação:
Postado originalmente por 354mp
Não eu certo,
tentei /etc/init.d/named start -g
tentei /etc/init.d/named -g
tentei /etc/init.d/named -g start
só a primeira deu a mesma mensagem falhou
e mais nada
E no /var/log/messages não aparece nada de erro?