Details
Description
NameCheap's API doesn't like IPv6. A fix for this was posted at https://www.blesta.com/forums/index.php?/topic/16042-force-namecheap-module-to-ipv4-only/&do=findComment&comment=72214 to instead pass 127.0.0.1 to the API.
In our solution, I think we should check if we have an IPv4 or IPv6 address, and then return the actual IPv4 address if it exists, if not, then return 127.0.0.1