Have a look in the programming - code section here at NamePros, you'll see a recent thread where Jim_ posted a great starter script for domain scanning. Some others have made some advancements on it, and if you know PHP you'll be able to make the necessary modifications to fit your needs.
Not sure if this was also what you meant (Good work above, jim_), but check download.com for hostingdude's domain name analyzer.
It's free, and is widely used here so folks could help you if you needed it.
-Allan :gl: