Hi Team
we have created a DNS server at RHEL6.2 environment in 10.20.203.x/24 network.
Everything is going well on linux client as nslookup, ping by host etc in entire subnet. We are getting problem in windows client as nslookup working as well but not ping. all the firewall is disabled and alos port is opened for DNS server.
Here the /etc/named.conf
//
// 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; 10.20.203.4; };
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; 10.20.203.4; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "example.com" IN {
type master;
file "example.com.fwd";
allow-transfer { 10.20.203.0/24; };
};
zone "203.20.10.in-addr.arpa" IN {
type master;
file "example.com.rev";
allow-update { 10.20.203.0/24; };
};
include "/etc/named.rfc1912.zones";
Here the forward Zone
$TTL 86400
@ SOA example.com. root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
NS server.example.com.
server A 10.20.203.4
Reverse Zone file
$TTL 86400
@ SOA example.com. root.server.example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server.example.com.
4 IN PTR server.example.com.
One more problem in Dig as it can't resolve the host by IP but by hostname as well.
Can anyone explain 1> why ping not working with windos
2> Dig can't resolve host by IP
I would be appreciate if someone trace out the issue here.
Thanks in Advance