There is a little perl ipv6 calc that I use ipv6calc so I don't mis-typo it.
ipv6calc --addr_to_ip6arpa 2001:1930:c00::2 No input type specified, try autodetection...found type: ipv6addr 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.0.0.3.9.1.1.0.0.2.ip6.arpa. The web page is dead, but the ftp download works. http://mirrors.bieringer.de/www.deepspace6.net/projects/ipv6calc.html#id2860191 and of course one can easily run a script to spit out the reverses. On 7/28/11 12:31 PM, Khuu, Linh Contractor wrote: > Thanks Jay and Leonard for the pointers of IPv6 format. > > Linh Khuu > > > -----Original Message----- > From: Jay Ford [mailto:jay-f...@uiowa.edu] > Sent: Thursday, July 28, 2011 2:22 PM > To: Khuu, Linh Contractor > Cc: 'bind-users@lists.isc.org' > Subject: Re: Format of the IPv6 reversed zone > > On Thu, 28 Jul 2011, Khuu, Linh Contractor wrote: >> I'm new to IPv6 configuring in BIND. I need help. The forward zone is >> simple enough with AAAA record, but the reversed zone is a bit confusing to >> me. >> >> For example, I want to add a hostname of www.example.com to >> 2001:1930:c00::2. This IPv6 address is /48. >> >> How can I add this IPv6 address in a reversed format? >> >> $ORIGIN 0.0.0.0.0.0.0.c.0.3.9.1.1.0.0.2.ip6.arpa. IN SOA xxxx.xxxx.xxxx >> >> @ NS dnstemp1.example.com >> >> What should I put for the PTR??? >> >> Is the reversed for IPv6 in the ip6.arpa file or IP6.int file??? > It's in ip6.arpa. The whole name for 2001:1930:c00::2 should be: > 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.C.0.0.3.9.1.1.0.0.2.IP6.ARPA > > In your origin above you lost a "0" right of the "c". The ":c00:" chunk is > actually ":0c00:", so the correct origin is: > 0.0.0.0.0.0.c.0.0.3.9.1.1.0.0.2.ip6.arpa > in which the PTR RR would be: > 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.example.com > > ________________________________________________________________________ > Jay Ford, Network Engineering Group, Information Technology Services > University of Iowa, Iowa City, IA 52242 > email: jay-f...@uiowa.edu, phone: 319-335-5555, fax: 319-335-2951 > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- eugene tsuno NOAA Boulder/NOC 325 broadway, boulder,co 80305 303-497-6392 _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users