Browse to your public_html/resources/domains folder and create a whois.json file.
Within the file, paste the following :
[
{
"extensions": ".africa",
"uri": "socket://whois.nic.africa",
"available": "Available"
}
]