Package org.minidns.record
Class SOA
java.lang.Object
org.minidns.record.Data
org.minidns.record.SOA
SOA (start of authority) record payload.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
A 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.final long
The unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.final DnsName
The domain name of the name server that was the original or primary source of data for this zone.final int
A 32 bit time interval before the zone should be refreshed.final int
A 32 bit time interval that should elapse before a failed refresh should be retried.final DnsName
A domain name which specifies the mailbox of the person responsible for this zone.final long
The unsigned 32 bit version number of the original copy of the zone. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
The payload type.static SOA
parse
(DataInputStream dis, byte[] data) void
The internal method used to serialize Data subclasses.toString()
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
Field Details
-
mname
The domain name of the name server that was the original or primary source of data for this zone. -
rname
A domain name which specifies the mailbox of the person responsible for this zone. -
serial
public final long serialThe unsigned 32 bit version number of the original copy of the zone. Zone transfers preserve this value. This value wraps and should be compared using sequence space arithmetic. -
refresh
public final int refreshA 32 bit time interval before the zone should be refreshed. -
retry
public final int retryA 32 bit time interval that should elapse before a failed refresh should be retried. -
expire
public final int expireA 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative. -
minimum
public final long minimumThe unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.
-
-
Constructor Details
-
SOA
-
SOA
-
-
Method Details
-
parse
- Throws:
IOException
-
getType
Description copied from class:Data
The payload type. -
serialize
Description copied from class:Data
The internal method used to serialize Data subclasses.- Specified by:
serialize
in classData
- Parameters:
dos
- the output stream to serialize to.- Throws:
IOException
- if an I/O error occurs.
-
toString
-