Hello Everybody,
I am new in DNS and I am trying configure authoritative servers’ internal use (home). After doing RND reached half road of my destination but facing a problem in remain configurations.
I have installed rhel5 on VMware workstation with NAT configuration and no internet for these virtual systems (DNS).
DNS configuration is:
Quote:
Server name: test.example.com
IP: 192.168.62.5
|
/etc/named.conf configuration is:
Quote:
options
{
listen-on port 53 { any; };
};
view "localhost_resolver"
{
match-clients { localhost; };
recursion yes;
include "/etc/named.root.hints";
};
view "internal"
{
match-clients { localnets; };
match-destinations { localnets; };
recursion yes;
include "/etc/named.root.hints";
zone "example.com" {
type master;
# allow-update { key ddns_key; };
file "test.example.internal.db";
};
view "external"
{
====Not Configuard====================
|
The file test.example.internal.db contains:
Quote:
$TTL 600
@ IN SOA test.example.com. root.test.example.com. (
20121 ; Serial
3H ; Refresh
15M ; Retry
1W ; Expire
10 ) ; Minimum
IN NS test.example.com.
IN MX 10 test.example.com.
test.example.com IN A 192.168.62.5
vxvm.example.com IN A 192.168.62.6
|
DNS resolve.conf file is:
Quote:
search localdomain
#nameserver 127.0.0.1
|
Client resolve.conf file is:
Quote:
search test.example.com
nameserver 192.168.62.5
|
PROBLEM
The dns server itself not able to resolve the query.
Error:
Quote:
# dig test.example.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> test.example.com
;; global options: printcmd
;; connection timed out; no servers could be reached
|
Client resolving the query but not giving any answer on it.
Output:
Quote:
# dig vxvm.example.com
; <<>> DiG 9.2.4 <<>> vxvm.example.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63963
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;vxvm.example.com. IN A
;; AUTHORITY SECTION:
example.com. 10 IN SOA test.example.com. root.test.example.com. 20121 10800 900 604800 10
;; Query time: 20 msec
;; SERVER: 192.168.62.5#53(192.168.62.5)
;; WHEN: Wed Dec 12 20:30:08 2012
;; MSG SIZE rcvd: 80
|
I tried to solve this issue by myself but no success
. Even tried search and read many articles and solution suggested on similar issue but doesn't helped me more.
Finally I decided to get help from you guys and Expert advice in that.
Please! Please! Help me in this..
Thanks in Advance…..