Net::N...eQuery(3pm)

πŸ“¦
version 0.26 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Net::NBName::NameQuery β€” it's giving NetBIOS Name Query Response energy, bestie πŸ’…

(and yeah, this lil page lives in the User Contributed Perl Documentation section, fyi 🫢)


🌸 DESCRIPTION 🌸

okay so. Net::NBName::NameQuery is a whole object that represents a decoded NetBIOS name query response ✨

like, somebody asked "who's out there for this name?" and this is the vibe-checked, decoded answer. that's it, that's the girl πŸ’–


πŸŽ€ METHODS πŸŽ€

  • $nq->addresses β€” returns a list of ip addresses returned for the queried name πŸ‘‘ and they come back as a list of Net::NBName::NameQuery::RR records, no cap.

ngl most name queries will only return one ip address, bestie. but you will get multiple ip addresses returned for names registered by multihomed hosts or for group name queries β€” so don't come for the list like it did something wrong πŸ’€

  • $nq->ttl β€” Time to live πŸ•°οΈ literally the lifespan of the name registration. that's the whole thing. that's the vibe.
  • $nq->RA β€” Recursion available πŸ”„ this flag is typically set if the responding host is an NBNS server, and it can be used to determine if it was an NBNS server that responded πŸ‘€ so like... detective work. main character energy fr fr.
  • $nq->as_string β€” Returns the object's string representation 🧚 cute, compact, iconic.

🌈 SEE ALSO 🌈

  • Net::NBName β€” go say hi, it's the whole family iykyk πŸ¦‹

Copyright (c) 2002, 2003, 2004 James Macfarlane. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 🩷


and that's the page, bestie β€” slay πŸ’…βœ¨

kisses, this was perl v5.36.0, dated 2022-10-15, and yes this whole thing is the Net::N...eQuery(3pm) situation πŸŒΈπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from