Subject: Re: reverse lookup file
To: None <>
From: Andrew Brown <>
List: tech-net
Date: 01/27/2000 13:48:48
>	current netbsd src/etc/namedb configuration is:
>"127" supplies (contains "1.0.0")
>"0000:0000:0000:0000:0000:0000:000" supplies
>	(contains "1")
>	My preference is the following.  I use this configuration in my home.
>	I split IPv6 address in 64bit boundary since most of IPv6 addresses
>	has prefix length of /64 (so the filename will align nicely with
>	others).
>"127.0.0.rev" supplies (contains "1")
>"0000:0000:0000:0000.rev" supplies
>	(contains "")
>"0.0.0.rev" supplies (contains "1")
>	any opinions?

my preference is usually to declare the zone and the file with respect
to where they fall in the global address space.  thus, since
is under the class a space, i use a file called 127.rev
for the zone

likewise, the loopback address for ip16 falls under

2.4 Address Type Representation

   The specific type of an IPv6 address is indicated by the leading bits
   in the address.  The variable-length field comprising these leading
   bits is called the Format Prefix (FP).  The initial allocation of
   these prefixes is as follows:

    Allocation                            Prefix         Fraction of
                                          (binary)       Address Space
    -----------------------------------   --------       -------------
    Reserved                              0000 0000      1/256

so i'd be tempted to do

    zone "" { type master; file ""; };

and the same with the zone.

sure, it makes the zone files a little more ugly to look at, but
they're *supposed* to be relatively static anyway.  :)

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."