public class StartOfAuthorityRecord extends Object
| Constructor and Description |
|---|
StartOfAuthorityRecord(String primaryNameServer,
String responsiblePerson,
long serial,
int refreshTime,
int retryTime,
int expireTime,
long minimumTtl)
Constructs an SOA (start of authority) record.
|
| Modifier and Type | Method and Description |
|---|---|
int |
expireTime()
Returns time before information stored in secondary name servers becomes
non authoritative.
|
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).
|
String |
primaryNameServer()
Returns the primary name server.
|
int |
refreshTime()
Returns time between refreshes for secondary name servers.
|
String |
responsiblePerson()
Returns the responsible person's e-mail.
|
int |
retryTime()
Returns time between retries for failed refresh attempts.
|
long |
serial()
Returns the zone's serial number, usually in format YYYYMMDDnn.
|
public StartOfAuthorityRecord(String primaryNameServer, String responsiblePerson, long serial, int refreshTime, int retryTime, int expireTime, long minimumTtl)
primaryNameServer - any name server that will respond authoritatively for the
domainresponsiblePerson - e-mail address of person responsible for this zoneserial - 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 2013061902refreshTime - number of seconds a secondary name server waits, after getting
a copy of the zone, before it checks the zone again for
changesretryTime - number of seconds to wait after a failed refresh attempt
before another attempt to refresh is madeexpireTime - number of seconds secondary name server can hold information
before it is considered not authoritativeminimumTtl - 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)public String primaryNameServer()
public String responsiblePerson()
public long serial()
public int refreshTime()
public int retryTime()
public int expireTime()
public long minimumTtl()
Copyright © 2020. All rights reserved.