Delegating class C's

Joseph S D Yao jsdy at cospo.osis.gov
Tue May 15 22:35:39 UTC 2001


On Tue, May 15, 2001 at 03:03:45PM -0700, Robert Gahl wrote:
> Okay, let me see if I have this straight. ...

Close.  Very close.

...
> a) Create 192.168 in-addr:
> 
> ; File /etc/dns/primary/zone.192.168.0

No, zone.192.168.  Your zone.192.168.0 file is for your QA network.

> $TTL 86400
...
>                          86400 )                         ; default_ttl (1d)

Now negative TTL, not default TTL.  The default TTL is that $TTL macro
up above.

...
> b) Create reference in named.conf:
> 
>          zone "24/0.168.192.in-addr.arpa" {

No, this is the most important part:

	// 16-bit zone, not 24, and we don't use the subnet mask!
	zone "168.192.in-addr.arpa" {
		type master;
		file "master/zone.192.168";
		...
	};

	...

	zone "17.168.192.in-addr.arpa" {
		type master;
		file "master/zone.192.168.17";
		...
	};

	// pretending that you had an "NS flame" for subnet 0,
	// and flame is a slave ...
	zone "0.168.192.in-addr.arpa" {
		type slave;
		file "slave/zone.192.168.0";
		masters { IP.addr.of.qans.qa; };
		...
	};

	// etc.

It is in the zone.192.168.* files that you will have your PTR records,
just as you currently do!

Please note: the NS records listed for the child in the parent domain
MUST match those in the child domain.

OBTW: search in the archives for something with a name something like
reverse DNS tutorial.  If you can't find it, I'll re-post it.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
OSIS Center Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list