1Net::DNS::RR::SRV(3) User Contributed Perl Documentation Net::DNS::RR::SRV(3)
2
3
4
6 Net::DNS::RR::SRV - DNS SRV resource record
7
9 "use Net::DNS::RR";
10
12 Class for DNS Service (SRV) resource records.
13
15 priority
16 print "priority = ", $rr->priority, "\n";
17
18 Returns the priority for this target host.
19
20 weight
21 print "weight = ", $rr->weight, "\n";
22
23 Returns the weight for this target host.
24
25 port
26 print "port = ", $rr->port, "\n";
27
28 Returns the port on this target host for the service.
29
30 target
31 print "target = ", $rr->target, "\n";
32
33 Returns the target host.
34
36 Copyright (c) 1997-2002 Michael Fuhr.
37
38 Portions Copyright (c) 2002-2004 Chris Reinhardt.
39
40 All rights reserved. This program is free software; you may
41 redistribute it and/or modify it under the same terms as Perl itself.
42
44 perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
45 Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2782
46
47
48
49perl v5.10.1 2009-01-26 Net::DNS::RR::SRV(3)