From owner-freebsd-net Sat Jan 6 11: 6:54 2001 From owner-freebsd-net@FreeBSD.ORG Sat Jan 6 11:06:51 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mercury.ccmr.cornell.edu (mercury.ccmr.cornell.edu [128.84.231.97]) by hub.freebsd.org (Postfix) with ESMTP id 3657A37B400 for ; Sat, 6 Jan 2001 11:06:51 -0800 (PST) Received: from ruby.ccmr.cornell.edu (IDENT:0@ruby.ccmr.cornell.edu [128.84.231.115]) by mercury.ccmr.cornell.edu (8.9.3/8.9.3) with ESMTP id OAA17658; Sat, 6 Jan 2001 14:06:47 -0500 Received: from localhost (mitch@localhost) by ruby.ccmr.cornell.edu (8.9.3/8.9.3) with ESMTP id OAA28275; Sat, 6 Jan 2001 14:06:46 -0500 X-Authentication-Warning: ruby.ccmr.cornell.edu: mitch owned process doing -bs Date: Sat, 6 Jan 2001 14:06:46 -0500 (EST) From: Mitch Collinsworth To: Peter Brezny Cc: freebsd-net@FreeBSD.ORG Subject: Re: general question re: PTR records. In-Reply-To: <000101c0781d$9b4a5ae0$46010a0a@sysadmininc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 6 Jan 2001, Peter Brezny wrote: > Why are PTR records placed in zone db files separate from all other resource > records? Because they're not in the same zone. > For small domains, wouldn't it be simpler to just have your reverse ip to > name mappings in the same zone db file as your forward name to ip mappings? No. There's not necessarily a one-to-one mapping. Consider the case of a web server that servers hundreds of domain names for example. > Something like > > jack.com. IN A x.y.z.q > ... > q.z.y.x-in.addr.arpa. IN PTR jack.com. Notice that jack.com. belongs to the com. zone, while q.z.y.x.in-addr.arpa. belongs to the in-addr.arpa. zone. > I realize the advantage of having one big reverse zone db file for your > subnet as far as the amount of raw data entry is required, but for a small > host it seems a little more straight forward to put everything for a domain > in one db file. I've read through all of ch4 in dns & bind, and haven't > come across anything that says you couldn't do it this way... You can't do it. > Will named accept this? No. > Is it just a really bad idea? It's an interesting idea, but it assumes a picture of the world that doesn't correspond with actual reality. -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message