Package org.minidns.record
Class SOA
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.SOA
-
-
Field Summary
Fields Modifier and Type Field Description intexpireA 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.longminimumThe unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.DnsNamemnameThe domain name of the name server that was the original or primary source of data for this zone.intrefreshA 32 bit time interval before the zone should be refreshed.intretryA 32 bit time interval that should elapse before a failed refresh should be retried.DnsNamernameA domain name which specifies the mailbox of the person responsible for this zone.longserialThe unsigned 32 bit version number of the original copy of the zone.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Record.TYPEgetType()The payload type.static SOAparse(java.io.DataInputStream dis, byte[] data)voidserialize(java.io.DataOutputStream dos)The internal method used to serialize Data subclasses.java.lang.StringtoString()-
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
-
-
-
Field Detail
-
mname
public final DnsName mname
The domain name of the name server that was the original or primary source of data for this zone.
-
rname
public final DnsName rname
A domain name which specifies the mailbox of the person responsible for this zone.
-
serial
public final long serial
The 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 refresh
A 32 bit time interval before the zone should be refreshed.
-
retry
public final int retry
A 32 bit time interval that should elapse before a failed refresh should be retried.
-
expire
public final int expire
A 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 minimum
The unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.
-
-
Method Detail
-
parse
public static SOA parse(java.io.DataInputStream dis, byte[] data) throws java.io.IOException
- Throws:
java.io.IOException
-
getType
public Record.TYPE getType()
Description copied from class:DataThe payload type.
-
serialize
public void serialize(java.io.DataOutputStream dos) throws java.io.IOException
Description copied from class:DataThe internal method used to serialize Data subclasses.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-