Reverse DNS allows host to map IP addresses to hostnames.
To delegate the reverse DNS of our /48 or /64 to our dns server, we have to do the following:
zone "4.3.2.1.0.8.b.0.e.f.f.3.ip6.int" {
type master;
file "reverse-3ffe-b80-1234.ip6.int";
allow-transfer {none;};
};
$TTL 3D
@ IN SOA ipv6.nowhere.net. postmaster.nowhere.net. (
2001110500 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; mininum
IN NS ns.nowhere.net.
;
;----------------------------------------,
; network part /64 | Host part 64 bits |
;--------------------|-------------------'
; 3ffe:0b80:1234:0001:0000:0000:0000:0001
; -------------------------------,
; Your Network| Your prefix (48 bits) |
; -------|-------|-------|-------|
$ORIGIN 1.0.0.0.4.3.2.1.0.8.b.0.e.f.f.3.ip6.int.
; Hosts of your network
;------------------------------
; 64 bit host address part.
;------|-------|-------|-------
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 in ptr first.ipv6.nowhere.net.
; End of zone
dig 4.3.2.1.0.8.b.0.e.f.f.3.ip6.int NS
and now test your dns:
dig 4.3.2.1.0.8.b.0.e.f.f.3.ip6.int SOA
Ok, that's all. Now you can start to play with IPv6, try if your tools are IPv6 compatible and amuse with it.