Skip to content

The DNS Answer object represents a specific response provided by the Domain Name System (DNS) when querying for information about a domain or performing a DNS operation. It encapsulates the relevant details and data returned by the DNS server in response to a query.

  • Extends: _dns

class

  • Type: string_t
  • Requirement: required

The class of DNS data contained in this resource record. See RFC1035. For example: IN.

rdata

  • Type: string_t
  • Requirement: required

The data describing the DNS resource. The meaning of this data depends on the type and class of the resource record.

type

  • Type: string_t
  • Requirement: required

The type of data contained in this resource record. See RFC1035. For example: CNAME.

packet_uid

  • Type: integer_t
  • Requirement: recommended

The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.

ttl

  • Type: integer_t
  • Requirement: recommended

The time interval that the resource record may be cached. Zero value means that the resource record can only be used for the transaction in progress, and should not be cached.

flag_ids

  • Type: integer_t
  • Requirement: optional
  • Values:
    • 0 - Unknown
    • 1 - Authoritative Answer
    • 2 - Truncated Response
    • 3 - Recursion Desired
    • 4 - Recursion Available
    • 5 - Authentic Data
    • 6 - Checking Disabled
    • 99 - Other: The event DNS header flag is not mapped.

The list of DNS answer header flag IDs.

flags

  • Type: string_t
  • Requirement: optional

The list of DNS answer header flags.