Re: Format of the IPv6 reversed zone
On 7/28/2011 3:35 PM, eugene tsuno wrote: > > 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. Or 'arpaname' that comes with BIND: aclegg@baremetal:~$ arpaname 2001:1930:c00::2 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 AlanC signature.asc Description: OpenPGP digital signature ___ 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
Re: Format of the IPv6 reversed zone
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 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 .. >> >> @ 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-, 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
Re: Format of the IPv6 reversed zone
On Thu, 2011-07-28 at 14:07 -0400, Khuu, Linh Contractor wrote: > Hello, > > I’m new to IPv6 configuring in BIND. I need help. The forward zone is > simple enough with 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 > .. > > @ 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??? I have '2001:42a0::/32', in 'named.conf - I have... zone "0.a.2.4.1.0.0.2.ip6.arpa" { type master; file "pri/db.0.a.2.4.1.0.0.2.ip6.arpa"; }; Top of the file could look like $TTL 7200 @ IN SOA blah. usual stuff.. Then - networks are all /64's - so - using the $ORIGIN variable... do something like this per network ; 2001:42a0:0:ff02::/64, Some description of this network $ORIGIN 2.0.f.f.0.0.0.0.0.a.2.4.1.0.0.2.ip6.arpa. 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR cisco.posix.co.za. 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR dns1.posix.co.za. or simply delegate them off ; 2001:42a0:1:82::/64, another network 2.8.0.0.1.0.0.0.0.a.2.4.1.0.0.2.ip6.arpa. NS dns1.posix.co.za. NS dns2.posix.co.za. 'dig -x' is your friend for expanding the address! eg - dig -x 2001:42a0:1:82:: +noall +question ...then cut'n'paste! > > Thanks, > Linh Khuu > > > > > ___ > 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 -- . . ___. .__ Posix Systems - Sth Africa. e.164 VOIP ready /| /| / /__ m...@posix.co.za - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496 smime.p7s Description: S/MIME cryptographic signature ___ 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
RE: Format of the IPv6 reversed zone
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 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 .. > > @ 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-, 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
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 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 .. @ 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-, 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