Page 1 of 1

All Sub-domains of a domain name

Posted: Wed May 11, 2005 2:24 pm
by anjanesh
Is there any way to figure out all sub-domains of a domain ?
I tried to search for a parsing method but no good - the links are different which finally gets to the subdomain and moreover not all links are available even if I could parse.

Any method to get all sub-domains of a domain name ? I think looking for a php method ? Or some other ?

Thanks

Posted: Wed May 11, 2005 5:24 pm
by Revan

Posted: Wed May 11, 2005 10:34 pm
by anjanesh
Ok. There is some info here : http://www.freebsdhowtos.com/62.html which is full of unix commands. Is there any way these commands (dig etc) can be integrated and executed in PHP ?
Thanks

Posted: Wed May 11, 2005 10:44 pm
by Skara
If you have shell access:

Code: Select all

exec('command-to-run');
I run fortune on my website by running:

Code: Select all

exec('fortune -s >fortune.out');

Posted: Thu May 12, 2005 12:06 am
by anjanesh
Thank you for your reply.
But is there any other method to get all sub-domain names of a domain ?

Posted: Thu May 12, 2005 1:26 am
by anjanesh
There is something I found here : http://inventory.overture.com/d/searchi ... uggestion/
Give yahoo.com it gives some sub-domain names. But only the ones that have large amt of hits - descending - all the sub-domains are not list but they've used a method that can retrieve all the subdomain names - any idea how this is done ?
Thanks