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
17 print "priority = ", $rr->priority, "\n";
18
19 Returns the priority for this target host.
20
21 weight
22
23 print "weight = ", $rr->weight, "\n";
24
25 Returns the weight for this target host.
26
27 port
28
29 print "port = ", $rr->port, "\n";
30
31 Returns the port on this target host for the service.
32
33 target
34
35 print "target = ", $rr->target, "\n";
36
37 Returns the target host.
38
40 Copyright (c) 1997-2002 Michael Fuhr.
41
42 Portions Copyright (c) 2002-2004 Chris Reinhardt.
43
44 All rights reserved. This program is free software; you may redisā
45 tribute it and/or modify it under the same terms as Perl itself.
46
48 perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
49 Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2782
50
51
52
53perl v5.8.8 2007-08-01 Net::DNS::RR::SRV(3)