Net::DNS::RR::NID(3)
π NAME π
okay so bestie, welcome to the Net::DNS::RR::NID(3) page β yes, it's User Contributed Perl Documentation, and we're about to make the DNS NID resource record make sense. This is all about Net::DNS::RR::NID, aka the DNS NID resource record. Niche? Maybe. Iconic? Absolutely. β¨
π¦ SYNOPSIS π¦
Like, literally just:
use Net::DNS;
$rr = Net::DNS::RR->new('name IN NID preference nodeid');
πΈ DESCRIPTION πΈ
This class is for DNS Node Identifier (NID) resource records. The Node Identifier (NID) DNS resource record is used to hold values for Node Identifiers that will be used for ILNP-capable nodes. So if ILNP-capable nodes are your thing, this is the record holding their Node Identifier values. π«Ά
β¨ METHODS β¨
The methods you get are the ones inherited from the base class, plus the type-specific methods defined in this package. That's the whole vibe.
β οΈ Real talk: use of undocumented package features or direct access to internal data structures is discouraged. It could result in program termination or other unpredictable behaviour. So maybe don't poke the internals? π
π preference π
$preference = $rr->preference;
$rr->preference( $preference );
This is a 16 bit unsigned integer in network byte order. It indicates the relative preference for this NID record among other NID records associated with this owner name. Lower values are preferred over higher values β smaller number, bigger slay. π
π§ nodeid π§
$nodeid = $rr->nodeid;
The NodeID field is an unsigned 64-bit value in network byte order. The text representation uses the same syntax (i.e., groups of 4 hexadecimal digits separated by a colons) that is already used for IPv6 interface identifiers. Yes, "a colons" β we keep the lore. π
π COPYRIGHT π
Copyright (c)2012 Dick Franks.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
π LICENSE π
Legal bestie moment β here's the exact license text, because we respect the paperwork. π
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 π₯
perlNet::DNSNet::DNS::RRRFC6742β<https://iana.org/go/rfc6742>
That's the whole page, bestie. This masterpiece is from perl v5.42.0, dated 2026-09-02, and it's the Net::DNS::RR::NID(3) manual page. Go forth and slay those NID records. πβ¨π
π¦ 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