Newbie Zone File Question

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Dec 23 22:24:23 UTC 2003


> I finally got my first dns server working.  YeeHaa!
> 
> I am using BIND 8 and have the following files:
> 
> named.conf (with a forwarder defined, a nameserver at my isp)
> 
> named.ca (My cache file with only my name server as root server)

	This should have the real root servers in it.
 
> my_domain.zone (I have four hosts in this file counting the name server
> and localhost)
> 
> my_domain_rev.zone (I have three hosts in this file counting the name
> server)
> 
> local.rev (I have one host in this file, 1.0.0.127.in-addr.arpa.) 
> 
> It works fine.
> 
> I have a couple of questions with respect to expanding my nameserver.
> 
> Currently I am providing name resolution for one subnet only, 192.168.1.0
> 
> I have two others: 192.168.2.0 and 192.168.3.0
> 
> My question is:
> 
> Can I just add hosts on these other subnets to my zone file
> (my_domain.zone above) or do I need a zone for each subnet?

	Insufficient information.  You have failed to give the name of the
	zone you currently have configured.

	168.192.in-addr.arpa or 1.168.192.in-addr.arpa

	If you use 168.192.in-addr.arpa you can add the records for all
	three ranges.

	If you use 1.168.192.in-addr.arpa you will need to create
	2.168.192.in-addr.arpa and 3.168.192.in-addr.arpa.
	 
> How about the in-addr.arpa file for my zone (my_domain.zone above)?

	You should NOT use IN-ADDR.ARPA.  You have NOT been delegated
	IN-ADDR.ARPA.  RFC 1918 delegates 168.192.IN-ADDR.ARPA to you
	and everyone who uses the address space defined there.

	Also if you use IN-ADDR.ARPA you will block reverse lookups for
	other sites.
 
> Thanks,
> 
> Tom Naves
> 
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list