
Megagram::ResolveSRV

Tells you the hosts and order to use for services using SRV records (like XMPP, etc).

use Megagram::ResolveSRV;
my $rsrv = Megagram::ResolveSRV->new;
my @hosts = $rsrv->resolve('_xmpp-server._tcp.google.com');
use Data::Dumper;
print Dumper(\@hosts);

Not really a bug, but the weighting logic is a little crummy. Feel free to send a patch for it. It works well enough for me for the moment.

Dusty Wilson Megagram Managed Technical Services http://www.megagram.com/

This module is free software, you can redistribute it and/or modify it under the same terms as Perl itself.