Zone Delegation

ANG Choon Gei (CSC) cgang at nie.edu.sg
Tue May 16 03:22:51 UTC 2000


Thanks Kevin

So, my final configuration is as follows for the Primary DNS server
166.22.1.1 (BIND v4):

	> directory       /etc/name
	>
	> primary         abc.com                 		abc.db
	> primary         def.com
def.db
	> secondary    abc.com 166.22.2.1   		xyz.db
	> primary         0. 0.0.127.in-addr.arpa		lookback.db
	> cache           .    		                          cache.db
	forwarders	 166.22.2.1


And my Slave DNS server 166.2.2.1

	> options	{	>         directory       "/etc/name"
			>         };
	>
	> zone "." in 	{	>         type hint;
				>         file "cache.db"
			>         };
	>
	> zone "abc.com" in {	>         type slave;
				>         file "xyz.db";
				>         masters {166.22.1.1;};
				>         };
	>
	for
	> zone "test.abc.com" in {
				type master;
				>         file "test.abc.db";
				> };
	>


I have add a statement "forwarders 166.22.2.1"  to forward any queries which
cannot resolve by 166.22.1.1.  I hope I did it correctly but I think it
works in the testing.

Regards
Gary Ang



More information about the bind-users mailing list