dnsenum Installation and Usage:

Navigate to: http://code.google.com/p/dnsenum/downloads/list

Download: dnsenum-*(Latest Version).tar.gz

Untar the files:

tar -zxvf dnsenum.*(Which ever Version you got).tar.gz

From the README File(You may need to install certain perl modules based on your current setup):

PREREQUISITES:

Modules that are included in perl 5.10.0:
Getopt::Long
IO::File
Thread::Queue

Other Necessary modules:
Must have:
Net::IP
Net::DNS
Net::Netmask
Optional:
Net::Whois::IP
HTML::Parser
WWW::Mechanize
XML::Writer

To install a module, simply run (as root):

perl -MCPAN -e shell

and then type: install <MODULE>
example:
cpan[1]> install XML::Writer
exit

dnsenum is a powerful PERL script that will attempt to do a bruteforce on a specific domain and has many good options.

Usage: sudo perl dnsenum.pl [Options] [Domain]

Couple of Examples:

Specify DNS Server to use:

sudo perl dnsenum.pl –dnsserver [DNS SERVER] -f [/path/to/wordlist] [Domain]

Scrape a number of Google pages for a number of results

sudo perl dnsenum.pl -p [Value] -s [Value] -f [/path/to/wordlist] [Domain]

Specify amount of Threads to use:

sudo perl dnsenum.pl –threads [value] -p 20 -f [/path/to/wordlist] [Domain]

Perform Whois Queries also:

sudo perl dnsenum.pl -w -f [/path/to/wordlist] [Domain]

Use Recursion also:

sudo perl dnsenum.pl -r -f [/path/to/wordlist] [Domain]

Be Verbose:

sudo perl dnsenum.pl -v -f [/path/to/wordlist] [Domain]

Output to a file:

sudo perl dnsenum.pl -o [/path/to/output.xml] -f [/path/to/wordlist] [Domain]

Perform 5 Threads 20 Google pages and do Whois:

sudo perl dnsenum.pl –enum -f [/path/to/wordlist] [Domain]