[U-co] ping no funciona en linux con bind dns
Jose Francisco Beltran Neira
jfbeltran en gmail.com
Jue Sep 19 14:34:01 UTC 2013
buenos dias
compañeros
configure un servidor linux con bind para la lan de mi casa
el servidor resuelve internet sin problema
desde windows hago ping entre los equipos sin problema
pero en linux fuciona el nslookup bien pero el ping falla
los archivos dee configuracion son los siguientes
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;192.168.1.8; };
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;192.168.1.0/24; };
allow-recursion { localhost;192.168.1.0/24; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "casa.local" {
type master;
file "casa.local.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.zone";
};
casa.local.zone
;
; Addresses and other host information.
;
$TTL 86400
@ IN SOA dns1.casa.local. hostmaster.casa.local.(
2013042201 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum TTL
; Define the nameservers and the mail servers
@ IN NS dns1.casa.local.
dns1 IN A 192.168.1.8
alfresco IN A 192.168.1.21
jasper IN A 192.168.1.15
luis IN A 192.168.1.12
telma IN A 192.168.1.10
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
192.168.1.zone;
; Addresses and other host information.
;
$TTL 86400
@ IN SOA dns1.casa.local. hostmaster.casa.local. (
2013042201 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum TTL
@ IN NS dns1.casa.local.
dns1 IN A 192.168.1.8
21 IN PTR alfresco.casa.local.
15 IN PTR jasper.casa.local.
12 IN PTR luis.casa.local.
10 IN PTR telma.casa.local.
la salida del ping en linux es
jbeltran en debian7:~$ nslookup telma.casa.local
Server: 192.168.1.8
Address: 192.168.1.8#53
Name: telma.casa.local
Address: 192.168.1.10
jbeltran en debian7:~$ ping telma.casa.local
ping: unknown host telma.casa.local
jbeltran en debian7:~$
Más información sobre la lista de distribución Ubuntu-co