Hi,
I am trying to set up lab which replicates the root server also. ( DNS
with Root server simulation for Intranet),
Basically I have two servers one abc.com as authoritative server and the
other rootns.man acting as root server. running BIND 9 on both.
I have done the following things in my named.conf file
options {
directory "/var/named";
recursion no;
};
zone "." {
type hint;
file "root";
};
zone "abc.com" IN {
type master;
file "forward";
};
zone "10.168.192.in-addr.arpa" IN {
type master;
file "reverse";
};
My root File (Points to another DNS acting as Root server let us call
rootns.man)
. 86400 IN NS rootns.man.
rootns.man. 86400 IN A 1.2.3.4
My Forward and reverse file
$TTL 3600
@ IN SOA abc.com. root.abc.com. (
42 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D) ; minimum
IN NS abc.com.
abc.com. IN A 192.168.10.12
$TTL 3600
@ IN SOA abc.com. root.abc.com.(
42 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D) ; minimum
IN NS abc.com.
12 IN PTR abc.com.
In the other DNS server rootns.man (acting root server)
zone "." IN {
type master;
file "forward";
};
Forward file in roons.man server
$TTL 86400
@ IN SOA rootns.man root.rootns.man (
42 ; serial (d.
adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
. IN NS rootns.man.
rootns.man. IN A 1.2.3.4
Once completing this I have a minor problem that is my abc.com server is
not able to determine the root server (rootns.man) IP address. attached
the DIG output from abc.com server. can any one please help me in
resolving this issue.
Regards
Mani
[r...@abc named]# dig
; <<>> DiG 9.3.4 <<>>
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48035
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;. IN NS
;; AUTHORITY SECTION:
. 86400 IN NS rootns.man.
;; Query time: 0 msec
;; SERVER: 192.168.10.12#53(192.168.10.12)
;; WHEN: Fri Mar 20 02:16:09 2009
;; MSG SIZE rcvd: 40
[r...@abc named]# dig abc.com
; <<>> DiG 9.3.4 <<>> abc.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65138
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;abc.com. IN A
;; ANSWER SECTION:
abc.com. 3600 IN A 192.168.10.12
;; AUTHORITY SECTION:
abc.com. 3600 IN NS abc.com.
;; Query time: 0 msec
;; SERVER: 192.168.10.12#53(192.168.10.12)
;; WHEN: Fri Mar 20 02:16:16 2009
;; MSG SIZE rcvd: 55
[r...@abc named]#
_______________________________________________
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users