mi sa che devi farlo lato server...

esempio in php

http://www.hostingsolutions.it/guide/phpwhois.php