---
title: DNS fields
description: DNS-specific event fields. 
url: https://www.elastic.co/docs/reference/beats/packetbeat/exported-fields-dns
---

# DNS fields

DNS-specific event fields.
<definitions>
  <definition term="dns.flags.authoritative">
    A DNS flag specifying that the responding server is an authority for the domain name used in the question.
    type: boolean
  </definition>
  <definition term="dns.flags.recursion_available">
    A DNS flag specifying whether recursive query support is available in the name server.
    type: boolean
  </definition>
  <definition term="dns.flags.recursion_desired">
    A DNS flag specifying that the client directs the server to pursue a query recursively. Recursive query support is optional.
    type: boolean
  </definition>
  <definition term="dns.flags.authentic_data">
    A DNS flag specifying that the recursive server considers the response authentic.
    type: boolean
  </definition>
  <definition term="dns.flags.checking_disabled">
    A DNS flag specifying that the client disables the server signature validation of the query.
    type: boolean
  </definition>
  <definition term="dns.flags.truncated_response">
    A DNS flag specifying that only the first 512 bytes of the reply were returned.
    type: boolean
  </definition>
  <definition term="dns.question.etld_plus_one">
    The effective top-level domain (eTLD) plus one more label. For example, the eTLD+1 for "foo.bar.golang.org." is "golang.org.". The data for determining the eTLD comes from an embedded copy of the data from http://publicsuffix.org.
    example: amazon.co.uk.
  </definition>
  <definition term="dns.answers_count">
    The number of resource records contained in the `dns.answers` field.
    type: long
  </definition>
  <definition term="dns.authorities">
    An array containing a dictionary for each authority section from the answer.
    type: object
  </definition>
  <definition term="dns.authorities_count">
    The number of resource records contained in the `dns.authorities` field. The `dns.authorities` field may or may not be included depending on the configuration of Packetbeat.
    type: long
  </definition>
  <definition term="dns.authorities.name">
    The domain name to which this resource record pertains.
    example: example.com.
  </definition>
  <definition term="dns.authorities.type">
    The type of data contained in this resource record.
    example: NS
  </definition>
  <definition term="dns.authorities.class">
    The class of DNS data contained in this resource record.
    example: IN
  </definition>
  <definition term="dns.additionals">
    An array containing a dictionary for each additional section from the answer.
    type: object
  </definition>
  <definition term="dns.additionals_count">
    The number of resource records contained in the `dns.additionals` field. The `dns.additionals` field may or may not be included depending on the configuration of Packetbeat.
    type: long
  </definition>
  <definition term="dns.additionals.name">
    The domain name to which this resource record pertains.
    example: example.com.
  </definition>
  <definition term="dns.additionals.type">
    The type of data contained in this resource record.
    example: NS
  </definition>
  <definition term="dns.additionals.class">
    The class of DNS data contained in this resource record.
    example: IN
  </definition>
  <definition term="dns.additionals.ttl">
    The time interval in seconds that this resource record may be cached before it should be discarded. Zero values mean that the data should not be cached.
    type: long
  </definition>
  <definition term="dns.additionals.data">
    The data describing the resource. The meaning of this data depends on the type and class of the resource record.
  </definition>
  <definition term="dns.opt.version">
    The EDNS version.
    example: 0
  </definition>
  <definition term="dns.opt.do">
    If set, the transaction uses DNSSEC.
    type: boolean
  </definition>
  <definition term="dns.opt.ext_rcode">
    Extended response code field.
    example: BADVERS
  </definition>
  <definition term="dns.opt.udp_size">
    Requestor's UDP payload size (in bytes).
    type: long
  </definition>
</definitions>
