I am looking for a command line way to find all the domains hosted on the same IP address. Is there a way to scan all A records with nslookup?
How do Sites like: http://www.yougetsignal.com/tools/web-sites-on-web-server/ do this?
It's not done by an exact lookup...
Check here for a few methods on how to do it from the command line.