Net::DN...R::HINFO(3)
π Net::DN...R::HINFO(3) β the whole vibe π
okay so this is the manual page for Net::DN...R::HINFO(3), straight out of the User Contributed Perl Documentation section, and bestie it's literally all about DNS HINFO resource records. it's short, it's sweet, it's iconic. let's get into it π
β¨ NAME β¨
Net::DNS::RR::HINFO β the DNS HINFO resource record, i.e. the Hardware Information record. it's giving "tell me what machine you're running on" energy π₯οΈπΈ
β¨ SYNOPSIS β¨
use Net::DNS;
$rr = Net::DNS::RR->new('name HINFO cpu os');
that's it. that's the whole entrance. create a Net::DNS::RR object with a string that says HINFO and then your cpu + os on the end, and boom, you're slaying π
β¨ DESCRIPTION β¨
this is the class for DNS Hardware Information (HINFO) resource records. highkey, that's it. that's the description. it's short but she knows what she is π¦
β¨ METHODS β¨
so the available methods are the ones inherited from the base class, plus the type-specific ones defined right here in this package. the way that inheritance ate π
β οΈ real talk though: 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. ngl that's a whole warning, respect it π
π§ cpu
$cpu = $rr->cpu;
$rr->cpu( $cpu );
returns the CPU type for this RR. cute little getter, and you can set it too if you pass a $cpu π»β¨
π os
$os = $rr->os;
$rr->os( $os );
returns the operating system type for this RR. same deal β pass an $os and it sets it. getter/setter duo, main character energy fr fr π«Ά
β¨ COPYRIGHT β¨
Copyright (c)1997 Michael Fuhr.
All rights reserved. π
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
β¨ LICENSE β¨
okay so legally speaking (and we do respect the paperwork bestie):
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 the all-caps is on purpose, that's how licenses yell)
β¨ SEE ALSO β¨
perlNet::DNSNet::DNS::RRRFC1035(3.3.2)β the section that started it all β¨- <https://iana.org/go/rfc1035#section-3.3.2> β same thing, but clickable, iykyk π
aaaand that's the whole page, bestie π literally every single detail preserved, vibe fully upgraded. this drop is from perl v5.42.0, dated 2026-09-02, and it's Net::DN...R::HINFO(3) signing off β go forth and HINFO responsibly ππ·β
π¦ 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