Reverse mapping?
Keith Owens
kaos@ocs.com.au
Sat, 31 Jul 1999 00:51:36 +1000
On Fri, 30 Jul 1999 14:21:38 +0200 (MET DST),
Xavier <xavier@euro.net> wrote:
>Someone has good tips, urls about reverse mapping for IPv6 adresses?
Nothing difficult. Get a version of BIND that understands IPv6
addresses, release 4 has security holes but any release 8 BIND
understands AAAA records. My /etc/named.conf contains
zone "6.0.0.0.0.0.9.0.e.f.f.3.ip6.int" {
type master;
file "db.3ffe.0900.0006";
};
File db.3ffe.0900.0006 contains
;
; origin is 6.0.0.0.0.0.9.0.e.f.f.3.ip6.int
;
@ IN SOA firewall.ocs.com.au. admin.ocs.com.au. (
199809301 ; Serial
172800 ; Refresh after 2 days
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name server(s)
;
IN NS firewall.ocs.com.au.
IN NS mail.ocs.com.au.
;
; Host addresses
;
6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR router-6.ocs.com.au.
db.ocs.com.au contains
;
; origin is ocs.com.au
;
@ IN SOA firewall.ocs.com.au. admin.ocs.com.au. (
199809301 ; Serial
172800 ; Refresh after 2 days
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name server(s)
;
IN NS firewall.ocs.com.au.
IN NS mail.ocs.com.au.
;
; Host addresses
;
router-6 IN AAAA 3ffe:900:6::6
To help writing out those long reverse addresses, try
ftp://ftp.ocs.com.au/pub/ip6_int.gz.
ip6_int 3ffe:900:6::6/48 gives 6.0.0.0.0.0.9.0.e.f.f.3.ip6.int
ip6_int 3ffe:900:6::6/-48 gives what is left after removing the first
48 bits, 6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0