Weird IPv6 issue?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Sep 11 21:35:56 UTC 2011


On 11/09/2011 21:00, ml at smtp.fakessh.eu wrote:
> I also think the creation of the reverse zone ipv6
> 
> i dont know how to

IPv6 reverse zones work in very much the same way as IPv4 reverse zones.

So, for an address 2001:8b0:151:1:e2cb:4eff:fe26:6481 you would generate
the LHS of a PTR record like so:

1.8.4.6.6.2.e.f.f.f.e.4.b.c.2.e.1.0.0.0.1.5.1.0.0.b.8.0.1.0.0.2.ip6.arpa

Expand each colon separated field to 4 digits by inserting leading
zeros, drop the colons, reverse the order of the whole thing, add dots
between each hex digit and tack on .ip6.arpa on the end.  Or use
arpaname(1) which comes with bind.

You'll need to have the reverse zone delegated to you -- usually by your
ISP and usually on the same /48 or /64 boundary used in routing.  Unlike
with IPv4, each label only counts for 16 addresses which is very much
less than the total of a typical allocation, so RFC 2317 style
delegation should become extinct.  Assuming you have $ORIGIN as
1.0.0.0.1.5.1.0.0.b.8.0.1.0.0.2.ip6.arpa, then a typical PTR record in
your zone file might look like:

1.8.4.6.6.2.e.f.f.f.e.4.b.c.2.e PTR     ns0.infracaninophile.co.uk.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110911/ad914d09/attachment.bin>


More information about the bind-users mailing list