Net::DNS::RR::RT(3)

πŸ’… Net::DNS::RR::RT

ok so you found the Net::DNS::RR::RT page β€” that's this whole thing, bestie, it's the manual for the RT resource record module in Net::DNS (the Perl one, from the User Contributed Perl Documentation collection, no cap). Let's get into it ✨


🌈 NAME

Net::DNS::RR::RT β€” DNS RT resource record πŸŽ€


✨ SYNOPSIS

use Net::DNS;
$rr = Net::DNS::RR->new('name RT preference intermediate');

literally that's it, three seconds and you have an RT record, slay πŸ’…


πŸ¦‹ DESCRIPTION

Class for DNS Route Through (RT) resource records. it's giving "niche but iconic" fr fr 🌸


πŸ‘‘ METHODS

the methods you get are the ones inherited from the base class, plus the type-specific ones defined in this package. so like, base class stuff is free, and then this package adds its own little extras πŸ’–

ngl, use of undocumented package features or direct access to internal data structures is discouraged β€” and it could result in program termination or other unpredictable behaviour 😭 so like... don't? please don't. i'm begging πŸ™ˆ

πŸ“ preference

$preference = $rr->preference;
$rr->preference( $preference );

a 16 bit integer representing the preference of the route. smaller numbers indicate more preferred routes β€” so like, lowkey the low numbers are the main character energy here πŸ‘‘ and the big numbers are just... there πŸ’€

🧚 intermediate

$intermediate = $rr->intermediate;
$rr->intermediate( $intermediate );

the domain name of a host which will serve as an intermediate in reaching the host specified by the owner name. and here's the vibe check: the DNS RRs associated with the intermediate host are expected to include at least one A, X25, or ISDN record. that's the trio, periodt ⭐


Copyright (c)1997 Michael Fuhr.

All rights reserved.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.


πŸŽ€ LICENSE

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.

like yes bestie it's all caps but it's a legal all caps, it means business 😭


🌟 SEE ALSO

iykyk, go read RFC1183 Β§3.3 if you want the ✨lore✨ πŸ“š


🫢 that's the whole page!! brought to you by perl v5.42.0, dated 2026-09-02, and this manual page for Net::DNS::RR::RT(3) β€” mwah, go configure some routes responsibly πŸ’–πŸŒˆ

πŸ“¦ where this page comes from