Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: AnyEvent and strange DNS queries

by zwon (Abbot)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018521]
help
Chatterbox?
[james28909]: coffee <3

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-12-18 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (485 votes). Check out past polls.

    Notices?