Modifier and Type | Field and Description |
---|---|
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.
|
long |
minimum
The unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.
|
DnsName |
mname
The domain name of the name server that was the original or primary source of data for this zone.
|
int |
refresh
A 32 bit time interval before the zone should be refreshed.
|
int |
retry
A 32 bit time interval that should elapse before a failed refresh should be retried.
|
DnsName |
rname
A domain name which specifies the mailbox of the person responsible for this zone.
|
long |
serial
The unsigned 32 bit version number of the original copy of the zone.
|
Constructor and Description |
---|
SOA(DnsName mname,
DnsName rname,
long serial,
int refresh,
int retry,
int expire,
long minimum) |
SOA(String mname,
String rname,
long serial,
int refresh,
int retry,
int expire,
long minimum) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static SOA |
parse(DataInputStream dis,
byte[] data) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, hashCode, length, toByteArray, toOutputStream
public final DnsName mname
public final DnsName rname
public final long serial
public final int refresh
public final int retry
public final int expire
public final long minimum
public SOA(String mname, String rname, long serial, int refresh, int retry, int expire, long minimum)
public static SOA parse(DataInputStream dis, byte[] data) throws IOException
IOException
public Record.TYPE getType()
Data
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.