DNS / Reverse Resolution
Configurations - IPv6 Blocks
In the same way as seen in Ipv4 configuration, in order to configure the inverse resolution for an IPv6 block it is necessary to configure a DNS server for a specific domain name.
For instance and considering the IPv6 block 2001:0DB8::/64, the domain name to be configured would be: 0.0.0.0.0.0.0.0.8.B.D.0.1.0.0.2.ip6.arpa.
Considering also the DNS server running the BIND software in an Unix environment, its configuration would have the following steps:
To create a general configuration file containing the following lines (not to mention other configuration lines needed for correct server operation):
The lines above indicates the zone for which this servers should answer as authority, the type of server (master or slave), and the file name where specific informations about the zone will reside. The file name could be any; in this example we used one that is based on the name of the zone.
Then, next step would be to create the file which will contain information about the zone itself. The file must have the same name as indicated in the general configuration (as seen on previous step).
Basically, this file will contain the following information set:
0.0.0.0.0.0.0.0.8.B.D.0.1.0.0.2.ip6.arpa. IN SOA ns.example.org root.example.org (
1 ; serial
3600 ; refresh
3600 ; retry
3600 ; expire
900) ; minimum
0.0.0.0.0.0.0.0.8.B.D.0.1.0.0.2.ip6.arpa. IN NS ns.example.org.
18.104.22.168.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR host1.example.org.
22.214.171.124.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR host2.example.org.
The lines above indicates the zone name and its RR (Resource Records), as for instance, the SOA (Start of Authority), which indicates the server with authority for this zone. The information that follows are used for synchronization purposes among master and slaves servers. And then, there is information about DNS servers for the zone, which can be more than one. And finally the information about the inverse resolution, which are the ones indicating names assigned to each IP address in this block. The Resource Record PTR indicates a pointer between an IP address and its name. For instance, the IP address 2001:0db8:0000:0000:0000:0000:0000:0001, which can also be represented as 2001:0DB8::1, has the name host1.example.org.