SOLVED IPv6 Addresses in DNS zones after transfer

amin alnasra

Member
Apr 16, 2015
9
0
1
palestine
cPanel Access Level
Root Administrator
Hello

Today After moving many websites from server to another , I faced a problem in dns zone in ipv6 records, all records copied from the old server and the records AAA become incorrect for all zones.

I have about 150 domains which have the same problem so the reset option in whm interface let me rest domains one by one .. no bulk option to reset all domains and that need too much effort and time.

I searched in the forum for a solution but there are some limitation on the suggested solutions for example some of them don't bring sub-domains and add on domains into zone.


finally I created my solution by whm api command line

to reset all domains zones include sub-domains and add-on domains just simply apply this code

Code:
for i in `cat /etc/trueuserdomains | cut -d: -f1` ;do whmapi1 resetzone domain=$i ;done
best regards
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello @amin alnasra,

I'm happy to see you were able to find a suitable workaround. Note that internal case CPANEL-6541 is open to ensure the Transfer Tool overwrites or removes IPv6 addresses from the DNS zone when applicable. This is planned in a future cPanel & WHM version, but we do not have a time frame to offer at this time. I'll update this thread with new information as it becomes available.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

To update, it looks like an improvement stemming from internal case CPANEL-6541 is scheduled for inclusion with the product in cPanel & WHM version 74. Here's some information about the planned improvement:

While this improvement won't provide functionality for dedicated IPv6 addresses similar to how it works for IPv4 addresses, all AAAA records with any of the related IPv6 addresses are modified to use the shared IPv6 address on the destination server when the destination server has the shared IPv6 address set in Basic Settings and the source server has configured AAAA records with "related" IPv6 addresses. AAAA records that have addresses not "related" to the source server are not affected.
Thank you.

Update: The case was also published to version 72.0.12:

  • Fixed case CPANEL-6541: Implemented swap IPv6 for transfers, dedicated IPv6 not handled.

Update 2: The case was also published to version 70.0.59:

  • Fixed case CPANEL-6541: Implemented swap IPv6 for transfers, dedicated IPv6 not handled.
 
Last edited: