|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.SOARecord
Start of Authority - describes properties of a zone.
| Fields inherited from class org.xbill.DNS.Record |
dclass,
name,
ttl,
type,
wireLength |
| Constructor Summary | |
SOARecord(Name _name,
short _dclass,
int _ttl,
Name _host,
Name _admin,
int _serial,
int _refresh,
int _retry,
int _expire,
int _minimum)
Creates an SOA Record from the given data |
|
| Method Summary | |
Name |
getAdmin()
Returns the zone administrator's address |
int |
getExpire()
Returns the time until a secondary expires a zone |
Name |
getHost()
Returns the primary nameserver |
int |
getMinimum()
Returns the minimum TTL for records in the zone |
int |
getRefresh()
Returns the zone refresh interval |
int |
getRetry()
Returns the zone retry interval |
int |
getSerial()
Returns the zone's serial number |
String |
toString()
Convert to a String |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SOARecord(Name _name,
short _dclass,
int _ttl,
Name _host,
Name _admin,
int _serial,
int _refresh,
int _retry,
int _expire,
int _minimum)
throws IOException
host - The primary nameserver for the zoneadmin - The zone administrator's addressserial - The zone's serial numberrefresh - The amount of time until a secondary checks for a new serial
numberretry - The amount of time between a secondary's checks for a new
serial numberexpire - The amount of time until a secondary expires a zoneminimum - The minimum TTL for records in the zone| Method Detail |
public String toString()
public Name getHost()
public Name getAdmin()
public int getSerial()
public int getRefresh()
public int getRetry()
public int getExpire()
public int getMinimum()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||