Net::DNS::RR::SRV - DNS SRV resource record
use Net::DNS::RR;
use Net::DNS::RR
Class for DNS Service (SRV) resource records.
print "priority = ", $rr->priority, "\n";
Returns the priority for this target host.
print "weight = ", $rr->weight, "\n";
Returns the weight for this target host.
print "port = ", $rr->port, "\n";
Returns the port on this target host for the service.
print "target = ", $rr->target, "\n";
Returns the target host.
Copyright (c) 1997-2002 Michael Fuhr.
Portions Copyright (c) 2002-2004 Chris Reinhardt.
All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2782
To install Net::DNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNS
CPAN shell
perl -MCPAN -e shell install Net::DNS
For more information on module installation, please visit the detailed CPAN module installation guide.