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.74 by root, Thu Aug 21 18:45:16 2008 UTC vs.
Revision 1.81 by root, Fri Nov 21 01:35:59 2008 UTC

35 35
36use AnyEvent (); 36use AnyEvent ();
37use AnyEvent::Handle (); 37use AnyEvent::Handle ();
38use AnyEvent::Util qw(AF_INET6); 38use AnyEvent::Util qw(AF_INET6);
39 39
40our $VERSION = 4.232; 40our $VERSION = 4.33;
41 41
42our @DNS_FALLBACK = (v208.67.220.220, v208.67.222.222); 42our @DNS_FALLBACK = (v208.67.220.220, v208.67.222.222);
43 43
44=item AnyEvent::DNS::a $domain, $cb->(@addrs) 44=item AnyEvent::DNS::a $domain, $cb->(@addrs)
45 45
1116 1116
1117 push @{ $self->{queue} }, [dns_pack $req, $cb]; 1117 push @{ $self->{queue} }, [dns_pack $req, $cb];
1118 $self->_scheduler; 1118 $self->_scheduler;
1119} 1119}
1120 1120
1121=item $resolver->resolve ($qname, $qtype, %options, $cb->($rcode, @rr)) 1121=item $resolver->resolve ($qname, $qtype, %options, $cb->(@rr))
1122 1122
1123Queries the DNS for the given domain name C<$qname> of type C<$qtype>. 1123Queries the DNS for the given domain name C<$qname> of type C<$qtype>.
1124 1124
1125A C<$qtype> is either a numerical query type (e.g. C<1> for A records) or 1125A C<$qtype> is either a numerical query type (e.g. C<1> for A records) or
1126a lowercase name (you have to look at the source to see which aliases are 1126a lowercase name (you have to look at the source to see which aliases are

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines