Bom, eu nao entendo nada de bind, mas vai algums palpites:

Adriano C. de Moura wrote:

Pessoal,

n�o consigo configurar DNS,BIND+DHCP. estou eviando
meu syslog, s� assim pra vc verem o que acontece.
me desculpem pelo tamanho do texto.
######### Iniciando BIND
Jan 25 16:20:18 ptbh-deb named[13126]: starting BIND
9.2.4 -u bind
Jan 25 16:20:18 ptbh-deb named[13126]: using 1 CPU
Jan 25 16:20:18 ptbh-deb named[13126]: loading
configuration from '/etc/bind/named.conf'
Jan 25 16:20:18 ptbh-deb named[13126]: listening on
IPv4 interface lo, 127.0.0.1#53
Jan 25 16:20:18 ptbh-deb named[13126]: listening on
IPv4 interface eth0, 201.17.135.86#53

isso aqui n�o � erro de configura��o?!?!?! Problema s�rio de seguran�a eu diria!

Jan 25 16:20:18 ptbh-deb named[13126]: listening on
IPv4 interface eth1, 13.13.13.1#53
Jan 25 16:20:18 ptbh-deb named[13126]: zone
'ptbh.net.br' allows updates by IP address, which is
insecure
Jan 25 16:20:18 ptbh-deb named[13126]: zone
'13.13.in-addr-arpa' allows updates by IP address,
which is insecure

N�o sei o que isso significa, mas pode ser um indicio do problema

Jan 25 16:20:18 ptbh-deb named[13126]: command channel
listening on 127.0.0.1#953
Jan 25 16:20:18 ptbh-deb named[13126]: zone
0.in-addr.arpa/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: zone
127.in-addr.arpa/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: zone
255.in-addr.arpa/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: zone
ptbh.net.br/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: zone
13.13.in-addr-arpa/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: zone
localhost/IN: loaded serial 1
Jan 25 16:20:18 ptbh-deb named[13126]: running
Jan 25 16:20:18 ptbh-deb named[13126]: zone
13.13.in-addr-arpa/IN: sending notifies (serial 1)
######### Iniciando DHCP
Jan 25 16:21:15 ptbh-deb dhcpd: Internet Systems
Consortium DHCP Server V3.0.1
Jan 25 16:21:15 ptbh-deb dhcpd: Copyright 2004
Internet Systems Consortium.
Jan 25 16:21:15 ptbh-deb dhcpd: All rights reserved.
Jan 25 16:21:15 ptbh-deb dhcpd: For info, please visit
http://www.isc.org/sw/dhcp/
Jan 25 16:21:15 ptbh-deb dhcpd: Wrote 11 leases to
leases file.
Jan 25 16:21:15 ptbh-deb dhcpd: Jan 25 16:21:15 ptbh-deb dhcpd: No subnet declaration
for eth0 (201.17.135.86).
Jan 25 16:21:15 ptbh-deb dhcpd: ** Ignoring requests
on eth0. If this is not what
Jan 25 16:21:15 ptbh-deb dhcpd: you want, please
write a subnet declaration
Jan 25 16:21:15 ptbh-deb dhcpd: in your dhcpd.conf
file for the network segment
Jan 25 16:21:15 ptbh-deb dhcpd: to which interface
eth0 is attached. **
Jan 25 16:21:15 ptbh-deb dhcpd: ######## Esta��o pedindo IP *** SEM ptbh.db.jnl
Jan 25 16:21:57 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:21:57 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:21:57 ptbh-deb named[13126]: journal file
/etc/bind/ptbh.db.jnl does not exist, creating it
Jan 25 16:21:57 ptbh-deb named[13126]:
/etc/bind/ptbh.db.jnl: create: permission denied

Opa! Aqui � um problema, talves s�rio tentou um 'touch /etc/bind/ptbh.db.jnl' e um chown <id do processo do named?

Jan 25 16:21:57 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': error:
journal open failed: unexpected error
Jan 25 16:21:57 ptbh-deb dhcpd: Unable to add forward
map from ptbh-r.ptbh.net.br to 13.13.13.14: timed out

isso aqui eh erro tbm, ser� que est� relacionado com o de cima?

Jan 25 16:21:57 ptbh-deb dhcpd: DHCPREQUEST for
13.13.13.14 from 00:60:67:06:5b:cd (ptbh-r) via eth1
Jan 25 16:21:57 ptbh-deb dhcpd: DHCPACK on 13.13.13.14
to 00:60:67:06:5b:cd (ptbh-r) via eth1
Jan 25 16:22:15 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:22:15 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:22:15 ptbh-deb named[13126]: journal file
/etc/bind/ptbh.db.jnl does not exist, creating it
Jan 25 16:22:15 ptbh-deb named[13126]:
/etc/bind/ptbh.db.jnl: create: permission denied
Jan 25 16:22:15 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': error:
journal open failed: unexpected error
Jan 25 16:22:15 ptbh-deb dhcpd: Unable to add forward
map from ptbh-f.ptbh.net.br to 13.13.13.16: timed out
Jan 25 16:22:15 ptbh-deb dhcpd: DHCPREQUEST for
13.13.13.16 from 00:0b:cd:bb:99:41 (ptbh-f) via eth1
Jan 25 16:22:15 ptbh-deb dhcpd: DHCPACK on 13.13.13.16
to 00:0b:cd:bb:99:41 (ptbh-f) via eth1
######### Esta��o pedindo IP *** agora COM ptbh.db.jnl
(chmod 777)

chmod 777 � ruim, alguns programas se recusam a funcionar se encontrarem arquivos de configura��o com permissoes erradas. em geral eles avisam, mas n�o arrisque - use a permiss�o certa.


Jan 25 16:25:10 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:25:10 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': adding
an RR
Jan 25 16:25:10 ptbh-deb named[13126]: client
127.0.0.1#1765: updating zone 'ptbh.net.br/IN': error:
journal open failed: no$

Humm, aqui ele falou 'no$' - vai ver q esse arquivo tem q estar em algum formato especifico.... diferente do que vc usou.


Jan 25 16:25:10 ptbh-deb dhcpd: Unable to add forward
map from PTBH-g.ptbh.net.br to 13.13.13.12: timed out

aqui � o mesmo erro, entao nao tem a ver com o arquivo em quest�o, ou ent�o tem a ver com o fato de n�o conseguir registrar... sei lah :-)


Jan 25 16:25:10 ptbh-deb dhcpd: DHCPREQUEST for
13.13.13.12 from 00:0b:cd:bb:9e:01 (PTBH-g) via eth1
Jan 25 16:25:10 ptbh-deb dhcpd: DHCPACK on 13.13.13.12
to 00:0b:cd:bb:9e:01 (PTBH-g) via eth1

bom, meus coment�rios foram esses. Se ajudaram ou n�o, paciencia....


-- Marcos


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Responder a