Interface DnsRecord

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CLASS_ANY
      DNS resource record class: ANY
      static int CLASS_CHAOS
      DNS resource record class: CHAOS
      static int CLASS_CSNET
      DNS resource record class: CSNET
      static int CLASS_HESIOD
      DNS resource record class: HESIOD
      static int CLASS_IN
      DNS resource record class: IN
      static int CLASS_NONE
      DNS resource record class: NONE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int dnsClass()
      Returns the class of this resource record.
      java.lang.String name()
      Returns the name of this resource record.
      long timeToLive()
      Returns the time to live after reading for this resource record.
      DnsRecordType type()
      Returns the type of this resource record.
    • Method Detail

      • name

        java.lang.String name()
        Returns the name of this resource record.
      • type

        DnsRecordType type()
        Returns the type of this resource record.
      • timeToLive

        long timeToLive()
        Returns the time to live after reading for this resource record.