| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final long | |
| private final String | |
| private final int | |
| private final String | |
| private final int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | StartOfAuthorityRecord(String
any name server that will respond authoritatively for the
domain primaryNameServer, String e-mail address of person responsible for this zone responsiblePerson, long a serial number that must be incremented when changes are
made. Recommended format is YYYYMMDDnn. For example, if the
primary name server is changed on June 19, 2013, then the
serial would be 2013061901. If it is changed again on the same
day it would be 2013061902 serial, int number of seconds a secondary name server waits, after getting
a copy of the zone, before it checks the zone again for
changes refreshTime, int number of seconds to wait after a failed refresh attempt
before another attempt to refresh is made retryTime, int number of seconds secondary name server can hold information
before it is considered not authoritative expireTime, long number of seconds that records in the zone are valid for (if a
record has a higher TTL, it overrides this value which is just
a minimum) minimumTtl)Constructs an SOA (start of authority) record. |
| Modifier and Type | Method and Description |
|---|---|
| public int | expireTime()
Returns time before information stored in secondary name servers becomes non authoritative. |
| public long | minimumTtl()
Returns the minimum TTL for records in the zone (if the record has a higher TTL, that value should be used as the TTL). |
| public String | |
| public int | |
| public String | |
| public int | |
| public long |
| expireTime | back to summary |
|---|---|
| private final int expireTime | |
| minimumTtl | back to summary |
|---|---|
| private final long minimumTtl | |
| primaryNameServer | back to summary |
|---|---|
| private final String primaryNameServer | |
| refreshTime | back to summary |
|---|---|
| private final int refreshTime | |
| responsiblePerson | back to summary |
|---|---|
| private final String responsiblePerson | |
| retryTime | back to summary |
|---|---|
| private final int retryTime | |
| serial | back to summary |
|---|---|
| private final long serial | |
| StartOfAuthorityRecord | back to summary |
|---|---|
| public StartOfAuthorityRecord(String primaryNameServer, String responsiblePerson, long serial, int refreshTime, int retryTime, int expireTime, long minimumTtl) Constructs an SOA (start of authority) record.
| |
| expireTime | back to summary |
|---|---|
| public int expireTime() Returns time before information stored in secondary name servers becomes non authoritative. | |
| minimumTtl | back to summary |
|---|---|
| public long minimumTtl() Returns the minimum TTL for records in the zone (if the record has a higher TTL, that value should be used as the TTL). | |
| primaryNameServer | back to summary |
|---|---|
| public String primaryNameServer() Returns the primary name server. | |
| refreshTime | back to summary |
|---|---|
| public int refreshTime() Returns time between refreshes for secondary name servers. | |
| responsiblePerson | back to summary |
|---|---|
| public String responsiblePerson() Returns the responsible person's e-mail. | |
| retryTime | back to summary |
|---|---|
| public int retryTime() Returns time between retries for failed refresh attempts. | |
| serial | back to summary |
|---|---|
| public long serial() Returns the zone's serial number, usually in format YYYYMMDDnn. | |