@UnstableApi public interface DnsRecord
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
static final int CLASS_IN
INstatic final int CLASS_CSNET
CSNETstatic final int CLASS_CHAOS
CHAOSstatic final int CLASS_HESIOD
HESIODstatic final int CLASS_NONE
NONEstatic final int CLASS_ANY
ANYjava.lang.String name()
DnsRecordType type()
int dnsClass()
long timeToLive()