Net::DNS::RR::L32(3)
π Net::DNS::RR::L32 β like, the whole vibe
okay so bestie, welcome to Net::DNS::RR::L32(3) from the User Contributed Perl Documentation crew π«Ά β this is the page for the DNS L32 resource record, and we're gonna get you fully caught up. no cap.
β¨ NAME β¨
Net::DNS::RR::L32 β the DNS L32 resource record. that's it, that's the icon π
πΈ SYNOPSIS πΈ
here's the whole "how do I actually use this" moment, bestie:
use Net::DNS;
$rr = Net::DNS::RR->new('name IN L32 preference locator32');
$rr = Net::DNS::RR->new(
name => 'example.com',
type => 'L32',
preference => 10,
locator32 => '10.1.02.0'
);
literally just two ways: the string version and the fancy named-arguments version. pick your fighter π
π¦ DESCRIPTION π¦
so this class is for DNS 32-bit Locator (L32) resource records β¨
and what does an L32 record actually do? it holds 32-bit Locator values for ILNPv4-capable nodes. that's the whole job. main character energy, minimal responsibilities π
β METHODS β
the methods you get are the ones inherited from the base class, plus the type-specific ones this package defines for itself. so you're not starting from scratch, you're building on the family legacy π
real talk though: using undocumented package features, or poking directly at internal data structures, is discouraged β and by "discouraged" we mean it could cause program termination or other unpredictable behaviour π so like. don't. please. for me.
π preference
$preference = $rr->preference;
$rr->preference( $preference );
this one's a 16 bit unsigned integer in network byte order π₯ and it tells you the relative preference for this L32 record among the other L32 records hanging out with the same owner name. lower values are preferred over higher values β so small number = first pick, periodt π
π§ locator32
$locator32 = $rr->locator32;
the Locator32 field is an unsigned 32-bit integer in network byte order, and it has the same syntax and semantics as a 32-bit IPv4 routing prefix. cute, consistent, iconic β¨
π COPYRIGHT π
Copyright (c)2012 Dick Franks.
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. π«Ά (yes it's all caps, it's legally required to yell, don't shoot the messenger π)
π SEE ALSO π
perlNet::DNSNet::DNS::RRRFC6742<https://iana.org/go/rfc6742>
iykyk β go read the RFC if you want the deep lore π
and that's the whole page, bestie! brought to you by perl v5.42.0, dated 2026-09-02 β Net::DNS::RR::L32(3), slaying since forever πβ¨ππ¦πΈπ
π¦ 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