Section: User Contributed Perl Documentation (3)
Return to Main Contents
Net::DNS::RR::SRV - DNS SRV resource record
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,
- SEE ALSO
linux.jgfs.net manual pages