Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: AnyEvent and strange DNS queries

by zwon (Monsignor)
on Feb 13, 2013 at 11:11 UTC ( #1018521=note: print w/ replies, xml ) Need Help??

in reply to AnyEvent and strange DNS queries

That's because you are trying to connect to http service:

my $handle; $handle = new AnyEvent::Handle connect => [$host => 'http'],
It tries to find the SRV record for http service on $host. Replace it with the port number:
connect => [$host => 80],
and it will just resolve the host name.

Comment on Re: AnyEvent and strange DNS queries
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018521]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-08-31 01:08 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (351 votes), past polls