---
name: "Net::NBName::NameQuery"
section: "3pm"
platform: "linux"
package: "libnet-nbname-perl"
version: "0.26-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::NBName::NameQuery"
---

# Net::NBName::NameQuery(3pm)

NetBIOS Name Query Response

## NAME

Net::NBName::NameQuery - NetBIOS Name Query Response

## DESCRIPTION

Net::NBName::NameQuery represents a decoded NetBIOS name query response.

## METHODS

- $nq-\>addresses

  Returns a list of ip addresses returned for the queried name. These are returned as a list of `"Net::NBName::NameQuery::RR"` records.

  Most name queries will only return one ip address, but you will get multiple ip addresses returned for names registered by multihomed hosts or for group name queries.

- $nq-\>ttl

  Time to live. This is the lifespan of the name registration.

- $nq-\>RA

  Recursion available. This flag is typically set if the responding host is an NBNS server, and can be used to determine if it was an NBNS server that responded.

- $nq-\>as\_string

  Returns the object's string representation.

## SEE ALSO

Net::NBName

## COPYRIGHT

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.
