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
best regards
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
Last edited: