---
name: "dnsjit.core.object.dns.q"
section: "3"
platform: "linux"
package: "dnsjit"
version: "1.5.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dnsjit.core.object.dns.q"
---

# dnsjit.core.object.dns.q(3)

Container of a DNS question

## NAME

dnsjit.core.object.dns.q - Container of a DNS question

## DESCRIPTION

The object that describes a DNS question.

### Attributes

- have\_type

  Set if there is a type.

- have\_class

  Set if there is a class.

- type

  The type.

- class

  The class.

- labels

  The number of labels found in the question.

### Functions

- **Q.new**(size)

  Create a new question.

## SEE ALSO

[**dnsjit.core.object.dns**(3)](/dnsjit.core.object.dns/3.md)

## AUTHORS and CONTRIBUTORS

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

*https://www.dns-oarc.net/*

## BUGS

For issues and feature requests please use:

*https://github.com/DNS-OARC/dnsjit/issues*

For question and help please use:

*admin@dns-oarc.net*
