Hi,
Thanks for your suggestion. The good news is that this is something WHMCS does as standard!
If you choose to use a Namespinning service you can get an even wider range of results: https://docs.whmcs.com/Domain_Pricing#Lookup_Provider