Class DnsRCode

All Implemented Interfaces:
Serializable, Comparable<DnsRCode>

public final class DnsRCode extends NamedNumber<Byte,DnsRCode>
DNS RCODE
Since:
pcap4j 1.7.1
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • NO_ERROR

      public static final DnsRCode NO_ERROR
      No Error: 0
    • FORM_ERR

      public static final DnsRCode FORM_ERR
      Format Error: 1
    • SERV_FAIL

      public static final DnsRCode SERV_FAIL
      Server Failure: 2
    • NX_DOMAIN

      public static final DnsRCode NX_DOMAIN
      Non-Existent Domain: 3
    • NOT_IMP

      public static final DnsRCode NOT_IMP
      Not Implemented: 4
    • REFUSED

      public static final DnsRCode REFUSED
      Query Refused: 5
    • YX_DOMAIN

      public static final DnsRCode YX_DOMAIN
      Name Exists when it should not: 6
    • YX_RR_SET

      public static final DnsRCode YX_RR_SET
      RR Set Exists when it should not: 7
    • NX_RR_SET

      public static final DnsRCode NX_RR_SET
      RR Set that should exist does not: 8
    • NOT_AUTH

      public static final DnsRCode NOT_AUTH
      Not Authorized: 9
    • NOT_ZONE

      public static final DnsRCode NOT_ZONE
      Name not contained in zone: 10
    • registry

      private static final Map<Byte,DnsRCode> registry
  • Constructor Details

    • DnsRCode

      public DnsRCode(Byte value, String name)
      Parameters:
      value - value
      name - name
  • Method Details