Net::DNS::RR::URI(3)
π NAME π
Net::DNS::RR::URI β DNS URI resource record. π
This is the manual page from User Contributed Perl Documentation, and honestly? Sheβs giving βniche but essential Perl moduleβ and weβre obsessed. β¨
πΈ SYNOPSIS πΈ
Bestie, load it up and build the RR like this:
use Net::DNS;
$rr = Net::DNS::RR->new('name URI priority weight target');
π¦ DESCRIPTION π¦
Class for DNS Service (URI) resource records. Thatβs the whole vibe. π«Ά
β¨ METHODS β¨
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
β οΈ Okay so real talk: use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour. π Do not go poking around in there.
priority β the βwho gets picked firstβ number π
$priority = $rr->priority;
$rr->priority( $priority );
The priority of the target URI in this RR. The range of this number is 0-65535. A client MUST attempt to contact the URI with the lowest-numbered priority it can reach; weighted selection being used to distribute load across targets with equal priority. π―
weight β server selection, but make it fashion βοΈ
$weight = $rr->weight;
$rr->weight( $weight );
A server selection mechanism. The weight field specifies a relative weight for entries with the same priority. Larger weights SHOULD be given a proportionately higher probability of being selected. The range of this number is 0-65535. β¨
target β the actual URI, the main character π
$target = $rr->target;
$rr->target( $target );
The URI of the target. Resolution of the URI is according to the definitions for the Scheme of the URI. π¦
π COPYRIGHT π
Copyright (c)2015 Dick Franks.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
π LICENSE π
Legal moment, bestie β keeping this exactly as written because this is not the place to freestyle: π
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
π SEE ALSO π
Youβll also wanna peek at perl, Net::DNS, Net::DNS::RR, RFC7553, and https://iana.org/go/rfc7553. Go off, RFC bestie. π₯
Thatβs the whole page, bestie. π Sign-off tea: the Net::DNS::RR::URI(3) footer says perl v5.42.0 and 2026-09-02 β periodt. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-DNS 1.570.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms