ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/DNS.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/DNS.pm (file contents):
Revision 1.40 by root, Thu May 29 06:15:24 2008 UTC vs.
Revision 1.43 by root, Thu May 29 06:19:22 2008 UTC

560 560
561=over 4 561=over 4
562 562
563=item server => [...] 563=item server => [...]
564 564
565A list of server addresses (default: C<v127.0.0.1>) in network format (4 565A list of server addresses (default: C<v127.0.0.1>) in network format
566octets for IPv4, 16 octets for IPv6 - not yet supported). 566(i.e. as returned by C<AnyEvent::Socket::parse_address> - both IPv4 and
567IPv6 are supported).
567 568
568=item timeout => [...] 569=item timeout => [...]
569 570
570A list of timeouts to use (also determines the number of retries). To make 571A list of timeouts to use (also determines the number of retries). To make
571three retries with individual time-outs of 2, 5 and 5 seconds, use C<[2, 572three retries with individual time-outs of 2, 5 and 5 seconds, use C<[2,
580The number of dots (default: C<1>) that a name must have so that the resolver 581The number of dots (default: C<1>) that a name must have so that the resolver
581tries to resolve the name without any suffixes first. 582tries to resolve the name without any suffixes first.
582 583
583=item max_outstanding => $integer 584=item max_outstanding => $integer
584 585
585Most name servers do not handle many parallel requests very well. This option 586Most name servers do not handle many parallel requests very well. This
586limits the number of outstanding requests to C<$n> (default: C<10>), that means 587option limits the number of outstanding requests to C<$integer>
587if you request more than this many requests, then the additional requests will be queued 588(default: C<10>), that means if you request more than this many requests,
588until some other requests have been resolved. 589then the additional requests will be queued until some other requests have
590been resolved.
589 591
590=item reuse => $seconds 592=item reuse => $seconds
591 593
592The number of seconds (default: C<300>) that a query id cannot be re-used 594The number of seconds (default: C<300>) that a query id cannot be re-used
593after a timeout. If there as no time-out then query id's can be reused 595after a timeout. If there as no time-out then query id's can be reused

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines