I'm assuming from the question (rather than title of post) that you mean reverse DNS rather than Whois as such.
Easy way to do reverse DNS lookup (IE get IP from hostname)
Open command prompt
Ping -a
www.sitename.comFor this site you'd see something like :
Pinging
www.winmxworld.com [212.227.64.159] with 32 bytes of data:
Then replies from the IP but that gets you the site IP
The same command with an IP will resolve hostname, if it's resolvable
Though quite why you need it, given your browser finds it anyhow via DNS ...