Format of the IPv6 reversed zone
Jay Ford
jay-ford at uiowa.edu
Thu Jul 28 18:21:30 UTC 2011
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-ford at uiowa.edu, phone: 319-335-5555, fax: 319-335-2951
More information about the bind-users
mailing list