public final class DnsRDataSoa extends java.lang.Object implements DnsResourceRecord.DnsRData
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ MNAME /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ RNAME /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| SERIAL |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| REFRESH |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| RETRY |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| EXPIRE |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| MINIMUM |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
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 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 A 32 bit time interval before the zone should be
refreshed.
RETRY A 32 bit time interval that should elapse before a
failed refresh should be retried.
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 The unsigned 32 bit minimum TTL field that should be
exported with any RR from this zone.
| Modifier and Type | Class and Description |
|---|---|
static class |
DnsRDataSoa.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
DnsRDataSoa.Builder |
getBuilder() |
int |
getExpire() |
long |
getExpireAsLong() |
int |
getMinimum() |
long |
getMinimumAsLong() |
DnsDomainName |
getMName() |
byte[] |
getRawData() |
int |
getRefresh() |
long |
getRefreshAsLong() |
int |
getRetry() |
long |
getRetryAsLong() |
DnsDomainName |
getRName() |
int |
getSerial() |
long |
getSerialAsLong() |
int |
hashCode() |
int |
length() |
static DnsRDataSoa |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
java.lang.String |
toString(java.lang.String indent,
byte[] headerRawData) |
public static DnsRDataSoa newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public DnsDomainName getMName()
public DnsDomainName getRName()
public int getSerial()
public long getSerialAsLong()
public int getRefresh()
public long getRefreshAsLong()
public int getRetry()
public long getRetryAsLong()
public int getExpire()
public long getExpireAsLong()
public int getMinimum()
public long getMinimumAsLong()
public int length()
length in interface DnsResourceRecord.DnsRDatapublic byte[] getRawData()
getRawData in interface DnsResourceRecord.DnsRDatapublic DnsRDataSoa.Builder getBuilder()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
toString in interface DnsResourceRecord.DnsRDataindent - indentpublic java.lang.String toString(java.lang.String indent,
byte[] headerRawData)
toString in interface DnsResourceRecord.DnsRDataindent - indentheaderRawData - the raw data of the DNS header including this RDATA.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.