For those who may be looking for a modern solution to this question, the WHOIS servers have been moved to /resources/domains/dist.whois.json and custom entries should be added to a custom file at /resources/domains/whois.json (this file prevents custom entries being overwritten on WHMCS updates).