IPv4/6 swapping doesn't change record type in dns zones

Version 1.38

Bugfix
Finished

When changing the IP of a User, the code successfully changes the IPs in the dns db file. However, if you're swapping from IPv4 to IPv6, or from IPv6 to IPv4, the code failed to also change the record type from A to AAAA, or vice versa. Added code to check all A and AAAA records, and put them in their correct place if they're not after the ip swsp has completed.

Interested to try DirectAdmin? Get a 30-day Free Trial!