add whois endpoint to the rest api