Top Description Fields Methods
io.netty.handler.codec.dns

public Interface DnsRecord

Known Direct Subinterfaces
io.netty.handler.codec.dns.DnsOptPseudoRecord, io.netty.handler.codec.dns.DnsPtrRecord, io.netty.handler.codec.dns.DnsQuestion, io.netty.handler.codec.dns.DnsRawRecord
Known Direct Implementers
io.netty.handler.codec.dns.AbstractDnsRecord
Annotations
@UnstableApi
Imports
io.netty.util.internal.UnstableApi

A DNS resource record.

Field Summary

Modifier and TypeField and Description
public static final int
CLASS_ANY

DNS resource record class: ANY

public static final int
CLASS_CHAOS

DNS resource record class: CHAOS

public static final int
CLASS_CSNET

DNS resource record class: CSNET

public static final int
CLASS_HESIOD

DNS resource record class: HESIOD

public static final int
CLASS_IN

DNS resource record class: IN

public static final int
CLASS_NONE

DNS resource record class: NONE

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the class value, usually one of the following:
dnsClass
()

Returns the class of this resource record.

public String
name()

Returns the name of this resource record.

public long
timeToLive()

Returns the time to live after reading for this resource record.

public DnsRecordType
type()

Returns the type of this resource record.

Field Detail

CLASS_ANYback to summary
public static final int CLASS_ANY

DNS resource record class: ANY

CLASS_CHAOSback to summary
public static final int CLASS_CHAOS

DNS resource record class: CHAOS

CLASS_CSNETback to summary
public static final int CLASS_CSNET

DNS resource record class: CSNET

CLASS_HESIODback to summary
public static final int CLASS_HESIOD

DNS resource record class: HESIOD

CLASS_INback to summary
public static final int CLASS_IN

DNS resource record class: IN

CLASS_NONEback to summary
public static final int CLASS_NONE

DNS resource record class: NONE

Method Detail

dnsClassback to summary
public int dnsClass()

Returns the class of this resource record.

Returns:int

the class value, usually one of the following:

nameback to summary
public String name()

Returns the name of this resource record.

timeToLiveback to summary
public long timeToLive()

Returns the time to live after reading for this resource record.

typeback to summary
public DnsRecordType type()

Returns the type of this resource record.