Enum Class DnsQueryType

All Implemented Interfaces:
Serializable, Comparable<DnsQueryType>, Constable

public enum DnsQueryType extends Enum<DnsQueryType>
Domain Name System (DNS) query types.
  • Enum Constant Details

    • A

      public static final DnsQueryType A
      Address Record
    • AAAA

      public static final DnsQueryType AAAA
      IPv6 address record
    • ALL

      public static final DnsQueryType ALL
      All cached records
    • CAA

      public static final DnsQueryType CAA
      Certification Authority Authorization
    • CNAME

      public static final DnsQueryType CNAME
      Canonical name record
    • DNSKEY

      public static final DnsQueryType DNSKEY
      DNS Key record
    • DS

      public static final DnsQueryType DS
      Delegation signer
    • HINFO

      public static final DnsQueryType HINFO
      Host Information
    • HTTPS

      public static final DnsQueryType HTTPS
      HTTPS Binding
    • MX

      public static final DnsQueryType MX
      Mail exchange record
    • NAPTR

      public static final DnsQueryType NAPTR
      Naming Authority Pointer
    • NS

      public static final DnsQueryType NS
      Name Server Record
    • PTR

      public static final DnsQueryType PTR
      PTR Resource Record
    • SOA

      public static final DnsQueryType SOA
      Start of authority record
    • SRV

      public static final DnsQueryType SRV
      Service locator
    • TXT

      public static final DnsQueryType TXT
      Text record

      public static final DnsQueryType UNKNOWN
      Unknown / Not Mapped / Obsolete
  • Method Details

    • values

      public static DnsQueryType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DnsQueryType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null