Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dns:ipv6ptr [2009/05/01 18:46] a |
dns:ipv6ptr [2009/05/25 00:34] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Writing Reverse Zone For IPv6 addresses ====== | ||
| + | |||
| + | ===== Bind8/9 zonefile ===== | ||
| + | |||
| **Example subnet** | **Example subnet** | ||
| <code bind|f 2001: | <code bind|f 2001: | ||
| Line 40: | Line 44: | ||
| allow-transfer {xxxx}; | allow-transfer {xxxx}; | ||
| }; | }; | ||
| + | </ | ||
| + | |||
| + | ===== PTR calculation ===== | ||
| + | |||
| + | **Easy was for writting PTR records** | ||
| + | * Using **ipv6calc** | ||
| + | < | ||
| + | $ ipv6calc 2001: | ||
| + | No input type specified, try autodetection...found type: ipv6addr | ||
| + | 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.e.6.6.0.c.5.1.1.0.0.2.ip6.arpa. | ||
| + | </ | ||
| + | * Using **perl** | ||
| + | < | ||
| + | $ perl -e 'use Net:: | ||
| + | 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.c.0.0.2.0.a.2.ip6.arpa. | ||
| + | </ | ||
| + | * Using **sipcalc** | ||
| + | < | ||
| + | $ sipcalc -r 2a01: | ||
| + | -[ipv6 : 2a01: | ||
| + | |||
| + | [IPV6 DNS] | ||
| + | Reverse DNS (ip6.arpa) | ||
| + | 4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.0.c.0.1.0.a.2.ip6.arpa. | ||
| </ | </ | ||

