Forward/Reverse DNS Zones for IPv4 and IPv6
PUQ Customization module WHMCS
Order now | Download | FAQ
Configuring Forward and Reverse DNS Zones for IPv4 and IPv6
DNS zones are used to translate domain names into IP addresses and vice versa. To properly configure forward and reverse DNS zones for IPv4 and IPv6, you need to know the subnets associated with the respective IP addresses. Below are instructions on how to build zones for IPv4 and IPv6.
Forward DNS Zones for IPv4/IPv6:
Forward DNS zones are used to map domain names to IPv4 addresses.
-
Determine the domain name for your server or device. For example: myserver.example.com.
-
Determine the IPv4 address that will correspond to this domain name. For example: 203.0.113.10.
myserver.example.com. IN A 203.0.113.10
- Determine the IPv6 address that will correspond to this domain name. For example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
myserver.example.com. IN AAAA 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Reverse DNS Zones for IPv4 and IPv6:
Reverse DNS zones convert IP addresses back into domain names. Please note that reverse DNS zones for IPv4 and IPv6 have slightly different formats.
Reverse DNS Zones for IPv4:
Reverse DNS zones for IPv4 are based on the four octets of an IPv4 address.
-
Split the IPv4 address into octets and reverse them, adding ".in-addr.arpa" at the end.
For example: 10.113.0.203.in-addr.arpa -
Create a new zone in the DNS configuration file (e.g., reverse.db) with the specified reverse domain name and your server's domain name:
10.113.0.203.in-addr.arpa. IN PTR myserver.example.com.
Reverse DNS Zones for IPv6:
Reverse DNS zones for IPv6 are based on the hexadecimal representation of the IPv6 address.
-
Write the IPv6 address in hexadecimal form, separating each group of digits with colons and adding ".ip6.arpa" at the end.
For example: 4.3.3.7.0.e.3.7.0.2.e.a.8.0.0.0.0.0.0.0.0.0.0.0.3.8.a.5.8.b.d.0.1.0.0.2.ip6.arpa -
Create a new zone in the DNS configuration file (e.g., reverse.db) with the specified reverse domain name and your server's domain name:
4.3.3.7.0.e.3.7.0.2.e.a.8.0.0.0.0.0.0.0.0.0.0.0.3.8.a.5.8.b.d.0.1.0.0.2.ip6.arpa. IN PTR myserver.example.com.
No Comments