Subject: reverse lookup file
To: None <tech-net@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 01/28/2000 02:25:11
>Module Name:	basesrc
>Committed By:	itojun
>Date:		Thu Jan 27 05:17:14 UTC 2000
>
>Modified Files:
>	basesrc/distrib/sets/lists/etc: mi
>	basesrc/etc/namedb: named.conf
>Added Files:
>	basesrc/etc/namedb: 0000:0000:0000:0000:0000:0000:000
>
>Log Message:
>add reverse lookup table for IPv6 loopback (::1).
>ugly...

	Yes, it is ugly.  and I think I need to decide how to rename it,
	and maybe "127".

	What we need to provide are the following PTR records:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int.
1.0.0.0.in-addr.arpa.
1.0.0.127.in-addr.arpa.
	and it is basically up to us where to split them.

	current netbsd src/etc/namedb configuration is:

"127" supplies 127.in-addr.arpa. (contains "1.0.0")
"0000:0000:0000:0000:0000:0000:000" supplies
	0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int.
	(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 0.0.127.in-addr.arpa. (contains "1")
"0000:0000:0000:0000.rev" supplies 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int.
	(contains "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0")
"0.0.0.rev" supplies 0.0.0.in-addr.arpa. (contains "1")

	any opinions?

itojun