From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 09:36:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD4716A41C for ; Thu, 23 Jun 2005 09:36:22 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFF7043D53 for ; Thu, 23 Jun 2005 09:36:19 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j5N9aHK6003075; Thu, 23 Jun 2005 12:36:17 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j5N9aGHD016238; Thu, 23 Jun 2005 12:36:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j5N9aGRO016237; Thu, 23 Jun 2005 12:36:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 23 Jun 2005 12:36:15 +0300 From: Giorgos Keramidas To: Gary Kline Message-ID: <20050623093615.GE15615@orion.daedalusnetworks.priv> References: <20050623001343.GA63523@thought.org> <20050623005626.GB1523@gothmog.gr> <20050623023627.GA63945@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050623023627.GA63945@thought.org> Cc: freebsd-questions@freebsd.org Subject: Re: private/internal db file question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 09:36:22 -0000 On 2005-06-22 19:36, Gary Kline wrote: > In named.conf I have two files; one is the .rev table: > > zone "db.private" { > type master; > file "/etc/namedb/s/db.private"; > allow-query { > 127.0.0.1/32; 10.0.0.0/8; > }; > }; > > zone "db/private.rev" { > type master; > file "/etc/namedb/s/db.private.rev"; > allow-query { > 127.0.0.1/32; 10.0.0.0/8; > }; > }; Something is very wrong above. You're not supposed to use "db.private" (i.e. the name of the _FILE_ that stores the zone records) as the first argument of the "zone" configuration directive. >>> ;name ttl class type data >>> 1 IN PTR localhost >>> 1 IN PTR sage >>> 220 IN PTR ethic >>> 247 IN PTR tao >>> 249 IN PTR zen >> >> These look mostly ok, but you may want to fix the following: >> >> - "localhost" is usually assigned to 127.0.0.1, not 10.0.0.1 >> - the "IN" column is *NOT* the TTL (time to live) of a record > > > What would you replace these row tags with? ((I got these from > another database file, obv'ly.) > > ;name ttl class type data > > Would: > > ;record class pointer name More like: ;name class type data 1 IN PTR sage