Net::DNS::RR::LP(3)

πŸ’Œ Net::DNS::RR::LP β€” the DNS LP resource record, explained by your resident Perl gremlin

okay so bestie, you found Net::DNS::RR::LP(3) and I am obsessed. this is the manual page for the Perl class that handles DNS LP records, and we are gonna get through it together, no cap πŸ’…


✨ NAME ✨

Net::DNS::RR::LP β€” DNS LP resource record. that's it, that's the whole name, and it ate. πŸŽ€


🌸 SYNOPSIS 🌸

like, literally just this:

use Net::DNS;
$rr = Net::DNS::RR->new('name IN LP preference FQDN');

two lines. iconic behavior. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

This is the class for DNS Locator Pointer (LP) resource records. 🫢

So here's the tea: the LP DNS resource record (RR) is used to hold the name of a subnetwork for ILNP. That name is an FQDN, and you can use it to look up L32 or L64 records. Which means LP is, effectively, a Locator Pointer to L32 and/or L64 records. it's giving "middle management but make it DNS" and honestly? we love a connector. πŸ’œ


πŸ’… METHODS πŸ’…

The available methods are those inherited from the base class, plus the type-specific methods defined in this package. teamwork, bestie. 🀝

⚠️ 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. so like… don't touch the wires. πŸ™ˆ

πŸ“ preference

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

A 16 bit unsigned integer in network byte order that indicates the relative preference for this LP record among other LP records associated with this owner name. Lower values are preferred over higher values. so the smaller number is the main character here β€” not me, but ok. πŸ‘‘

🌈 FQDN, fqdn

this subsection is just vibes and naming, bestie. keep reading. ✨

⭐ target

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

The FQDN field contains the DNS target name that is used to reference L32 and/or L64 records. that's the pointer's whole job and it does it flawlessly. 🎯


Copyright (c)2012 Dick Franks.

All rights reserved.

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

protect these legends at all costs. 🫑


πŸ“œ 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.

and then the big scary all-caps part, which I am keeping fully intact because it's legally load-bearing:

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 it's shouting but it's shouting responsibly. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

go read them, iykyk. πŸ“š


🧚 sign-off 🧚

and that's the whole page, bestie! this little beauty ships as part of perl v5.42.0, dated 2026-09-02, and it's the Net::DNS::RR::LP(3) manual page β€” go forth and resolve your subnetworks. slay. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from