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

NAME

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

SYNOPSIS

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

DESCRIPTION

13       Class for DNS Service (URI) 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           $rr->priority( $priority );
26
27       The priority of the target URI in this RR.  The range of this number is
28       0-65535.  A client MUST attempt to contact the URI with the lowest-
29       numbered priority it can reach; weighted selection being used to
30       distribute load across targets with equal priority.
31
32   weight
33           $weight = $rr->weight;
34           $rr->weight( $weight );
35
36       A server selection mechanism. The weight field specifies a relative
37       weight for entries with the same priority.  Larger weights SHOULD be
38       given a proportionately higher probability of being selected.  The
39       range of this number is 0-65535.
40
41   target
42           $target = $rr->target;
43           $rr->target( $target );
44
45       The URI of the target. Resolution of the URI is according to the
46       definitions for the Scheme of the URI.
47
49       Copyright (c)2015 Dick Franks.
50
51       All rights reserved.
52
53       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
54

LICENSE

56       Permission to use, copy, modify, and distribute this software and its
57       documentation for any purpose and without fee is hereby granted,
58       provided that the original copyright notices appear in all copies and
59       that both copyright notice and this permission notice appear in
60       supporting documentation, and that the name of the author not be used
61       in advertising or publicity pertaining to distribution of the software
62       without specific prior written permission.
63
64       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
65       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
66       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
67       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
68       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
69       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
70       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
71

SEE ALSO

73       perl Net::DNS Net::DNS::RR RFC7553
74       <https://tools.ietf.org/html/rfc7553>
75
76
77
78perl v5.38.0                      2023-07-21              Net::DNS::RR::URI(3)
Impressum