Date: Thu, 23 Jun 2005 10:06:39 -0700 From: Gary Kline <kline@tao.thought.org> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: Gary Kline <kline@tao.thought.org>, freebsd-questions@freebsd.org Subject: Re: private/internal db file question... Message-ID: <20050623170639.GB67114@thought.org> In-Reply-To: <20050623093615.GE15615@orion.daedalusnetworks.priv> References: <20050623001343.GA63523@thought.org> <20050623005626.GB1523@gothmog.gr> <20050623023627.GA63945@thought.org> <20050623093615.GE15615@orion.daedalusnetworks.priv>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 23, 2005 at 12:36:15PM +0300, Giorgos Keramidas wrote: > On 2005-06-22 19:36, Gary Kline <kline@tao.thought.org> 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. > I stared at named.conf for ten minutes before seeing what you meant. I think. How about ^zone "private"{ }; and ^zone "private.rev" { } ??? This is my entry for db.thought.org. The zone name is simply "thought.org". zone "thought.org" { type master; file "/etc/namedb/s/db.thought.org"; allow-update{ }; ... }; > >>> ;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 > Ok, thanks much! gary -- Gary Kline kline@thought.org www.thought.org Public service Unix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050623170639.GB67114>