The library was a bit of a hit or miss back when I wrote the module and threads broke a lot of stuff, then the library was updated but we never added the threads back to it. The reason I keep the number low was from my initial testing from a hotel network where well the connection was a mess and it will just stay there not doing anything until you Ctrl-C and never changed it back. We can bring it up to 5 or 10 if you like to make it mat h other modules.

Sent from my iPad

On Feb 15, 2013, at 7:21 AM, Juan Vazquez <notifications@github.com> wrote:

> In modules/auxiliary/gather/dns_reverse_lookup.rb:
> 
> > +			'Author'		=> [ 'Carlos Perez <carlos_perez[at]darkoperator.com>' ],
> > +			'License'		=> BSD_LICENSE
> > +			))
> > +
> > +		register_options(
> > +			[
> > +				OptAddressRange.new('RANGE', [true, 'IP range to perform reverse lookup against.', nil]),
> > +				OptAddress.new('NS', [ false, "Specify the nameserver to use for queries, otherwise use the system DNS." ]),
> > +
> > +			], self.class)
> > +
> > +		register_advanced_options(
> > +			[
> > +				OptInt.new('RETRY', [ false, "Number of tries to resolve a record if no response is received.", 2]),
> > +				OptInt.new('RETRY_INTERVAL', [ false, "Number of seconds to wait before doing a retry.", 2]),
> > +				OptInt.new('THREADS', [ true, "Number of seconds to wait before doing a retry.", 2]),
> I guess the description for THREADS should be something like "The number of concurrent threads". Is just 2 threads the desired default value you want to set?
> 
> BTW, I'm also curious how the original enum_dns got the THREADS value, because it doesn't register the THREADS datastore option. Is it registered by any mixin? I guess I am forgetting something... just asking for clarification.
> 
> —
> Reply to this email directly or view it on GitHub.
>