Chimbanda
(usa Fedora)
Enviado em 23/10/2009 - 13:19h
Amigos isto é o que eu tenho no ficheiro named.conf
ideia principal é fazer da minha maquina um servidor DNS e DHCP e SAMBA
Nome do Servidor: Servidor1
Dominio: infolab
IP da maquina: 192.168.10.69
Máscara de rede: 255.255.255.0
Gateway: não tem saida para o esterior por enquanto.
IP da maquina DHCP 192.168.10.69
// 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; };
listen-on port 53 { 192.168.10.69; };
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 { localhost; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside . trust-anchor dlv.isc.org.;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.dnssec.keys";
include "/etc/pki/dnssec-keys/dlv/dlv.isc.org.conf";
Editei igualmente o ficheiro named.rfc1912.zones
és o conteudo do ficheiro:
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and
http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
//zone "localhost.localdomain" IN {
zone "servidor.infolab" IN {
type master;
file "named.localhost";
allow-update { none; };
};
//zone "localhost" IN {
zone "servidor" IN {
type master;
file "named.localhost";
allow-update { none; };
};
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 {
type master;
file "named.loopback";
allow-update { none; };
};
//zone "1.0.0.127.in-addr.arpa" IN {
zone "69.10.168.192.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};
Por favor ajudem-me a resolver o meu problema.......