Bobcares

IPv6 reverse DNS configuration – How to configure IPV6 RDNS in cPanel/WHM Linux servers

by | Aug 5, 2015

On July 1st, ARIN (American Registry for Internet Numbers) sent out a notification that it may not be able to give out IPv4 blocks of larger than 512 addresses. This officially makes the decade old prediction of IPv4 running out a reality, and makes it necessary for web hosts to start using IPv6 addresses.

Major Linux vendors like CentOS and Ubuntu already has IPv6 support, and web hosts have started enabling IPv6 for their services. As with any new technology, IPv6 also has its share of support requests, the most common one being setting reverse DNS for IPv6 addresses. IPv6 RDNS is a part of anti-spam measures some carriers use to block mail. So, setting the right RDNS is a priority for customers with IP blocks assigned to their dedicated servers. Here we’ll see how to setup IPv6 reverse DNS for cPanel/WHM servers.

Step 1 : Changing your IPv6 to RDNS nibble format

Let’s say your IP is “0:0:0:0:0:ffff:80b1:641e”, which can also be represented as “::ffff:80b1:641e”. This can be changed to a series of numbers separated by periods (.). For this, first expand double colons to full zeroes. Eg., “::ffff:80b1:641e” will become “0000:0000:0000:0000:0000:ffff:80b1:641e”.

Now, reverse the order of the characters, and put a period between each character. Eg., “0000:0000:0000:0000:0000:ffff:80b1:641e” will become “e.1.4.6.1.b.0.8.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”.

Now, just add “ip6.arpa.” at the end of it like below, and you have the reverse DNS for “::ffff:80b1:641e”.

“e.1.4.6.1.b.0.8.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.”

Step 2 : Updating IPv6 RDNS settings in WHM

Login to WHM and go to Home >> DNS Functions >> Add a DNS Zone

Enter your IP in the “IP” field, and the zone name as we created in the “Domain” field. In our example it will be “::ffff:80b1:641e” and “e.1.4.6.1.b.0.8.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.” respectively.

Now go to Home >> DNS Functions >> Edit DNS Zone, and edit the PTR records for the domain you want to assign the RDNS for. For example, to assign the IP to mydomain.com, input “e.1.4.6.1.b.0.8.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.” under “Add New Entries Below this Line”, choose the record type as “PTR” and input “mydomain.com” in the corresponding domain field.

Note: This procedure is applicable only if this cPanel/WHM server is assigned as the authoritative name server for your IPv6 address. You can find the authoritative name server of an IP by using the “nssearch” option of “dig” like shown below:


dig -6 +nssearch e.1.4.6.1.b.0.8.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.

Our systems engineers routinely help server owners and service providers configure their server infrastructure.

SEE HOW WE HELP WITH INFRASTRUCTURE CONFIGURATION

0 Comments

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF