ERRO BIND [RESOLVIDO]

1. ERRO BIND [RESOLVIDO]

Pedro Henrique de Almeida
Neo_X

(usa CentOS)

Enviado em 16/11/2012 - 15:19h

Estou tentando configurar o Bind e está gerando este erro, alguém pode me ajudar?




Failed to start BIND : Iniciando named: Erro na configuração do named: /etc/named.conf:111: when using 'view' statements, all zones must be in views [FALHOU]


Webmin:

Existing Client Views
Warning - the following zones are not in any view : 100.168.192.in.addr.arpa , empresa.local

BIND may not be able to start until they are moved to a view.







  


2. Re: ERRO BIND [RESOLVIDO]

3. Re: ERRO BIND [RESOLVIDO]

Pedro Henrique de Almeida
Neo_X

(usa CentOS)

Enviado em 16/11/2012 - 17:27h

Obrigado pela ajuda.

/etc/named/named.conf

options {
directory "/var/named";
version "PROTECT";
allow-transfer {192.168.100.1;};
listen-on {127.0.0.1; 192.168.100.1;};
allow-recursion {127.0.0.1; localhost; 192.168.100.0/24;};
/*
* 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

zone "empresa.local" IN {
type master;
file "/var/named/empresa.local.db";
allow-transfer { none ;};
};

zone "100.168.192.in-addr.arpa" IN {
type master;
file "/var/named/100.168.192.in.addr.arpa.db";
allow-transfer { none;};
};
######################################
/var/named/empresa.local.db

$TTL 86400
@ IN SOA nomedamaquina.empresa.local. root.nomedamaquina.empresa.local. (
7
28800
14400
3600000
86400 )
IN NS nomedamaquina.empresa.local.

nomedamaquina IN A 192.168.100.1
@ IN PTR nomedamaquina.empresa.local.

#####################################
/var/named/100.168.192.in.addr.arpa.db

$TTL 86400
@ IN SOA nomedamaquina.empresa.local. root.nomedamaquina.empresa.local. (
7
28800
14400
3600000
86400 )
IN NS nomedamaquina.empresa.local.
1 IN PTR nomedamaquina.empresa.local.

#####################################


















Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts