|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lavantech.net.dns.ResourceRecord com.lavantech.net.dns.SOARecord
SOARecord represents a DNS SOA Record.
Constructor Summary | |
SOARecord(java.lang.String rname,
int rtype,
int rclass,
long ttl,
java.lang.String pNS,
java.lang.String adminMB,
long serial,
long refresh,
long retry,
long expiry,
long minTTL)
Creates a SOARecord with all the required information. |
Method Summary | |
java.lang.String |
getAdminMailBox()
Returns the Domain Admin Mailbox. |
long |
getExpirationLimit()
Returns the expiry internal in number of seconds. |
long |
getMinTTL()
Returns the minimum TTL in number of seconds. |
java.lang.String |
getNameServer()
Returns the Name Server. |
long |
getRefreshInterval()
Returns the refresh internal in number of seconds. |
long |
getRetryInterval()
Returns the retry internal in number of seconds. |
long |
getSerialNumber()
Returns the Serial Number. |
java.lang.String |
toString()
Returns the string representation of the SOA Record. |
Methods inherited from class com.lavantech.net.dns.ResourceRecord |
getResourceClass, getResourceName, getResourceType, getTTL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SOARecord(java.lang.String rname, int rtype, int rclass, long ttl, java.lang.String pNS, java.lang.String adminMB, long serial, long refresh, long retry, long expiry, long minTTL)
rname
- Record Name (Hostname)rtype
- Record Typerclass
- Record Classttl
- Time to Live, time in seconds after which the record will expire.pNS
- Primary Name Server for the domain.adminMB
- Administrator mailbox for the domain.serial
- Serial number for the records of the domain. This is more like a
version number. Whenever any record for the domain is changed,
this serial number is changed.refresh
- Refresh Interval in seconds. How often the records are refreshed.retry
- Retry Interval.expiry
- Expiry Interval.minTTL
- Minimum TTL.Method Detail |
public java.lang.String getNameServer()
public java.lang.String getAdminMailBox()
public long getSerialNumber()
public long getRefreshInterval()
public long getRetryInterval()
public long getExpirationLimit()
public long getMinTTL()
public java.lang.String toString()
toString
in class ResourceRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |