1Net::DNS::RR::SRV(3)  User Contributed Perl Documentation Net::DNS::RR::SRV(3)
2
3
4

NAME

6       Net::DNS::RR::SRV - DNS SRV resource record
7

SYNOPSIS

9           use Net::DNS;
10           $rr = new Net::DNS::RR('name SRV priority weight port target');
11

DESCRIPTION

13       Class for DNS Service (SRV) resource records.
14

METHODS

16       The available methods are those inherited from the base class augmented
17       by the type-specific methods defined in this package.
18
19       Use of undocumented package features or direct access to internal data
20       structures is discouraged and could result in program termination or
21       other unpredictable behaviour.
22
23   priority
24           $priority = $rr->priority;
25
26       Returns the priority for this target host.
27
28   weight
29           $weight = $rr->weight;
30
31       Returns the weight for this target host.
32
33   port
34           $port = $rr->port;
35
36       Returns the port number for the service on this target host.
37
38   target
39           $target = $rr->target;
40
41       Returns the domain name of the target host.
42
44       Copyright (c)1997-2002 Michael Fuhr.
45
46       Portions Copyright (c)2005 Olaf Kolkman, NLnet Labs.
47
48       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
49
50       All rights reserved.
51
52       This program is free software; you may redistribute it and/or modify it
53       under the same terms as Perl itself.
54

SEE ALSO

56       perl, Net::DNS, Net::DNS::RR, RFC2782
57
58
59
60perl v5.16.3                      2012-12-28              Net::DNS::RR::SRV(3)
Impressum