Constructor and Description |
---|
SoaData(String nameServer,
String email,
long serial,
long refreshSecs,
long retrySecs,
long expireSecs,
long minTtl)
Creates "Start of Authority" resource data.
|
Modifier and Type | Method and Description |
---|---|
String |
email()
Returns Email address of the person responsible for this zone
and to which email may be sent to report errors or problems.
|
long |
expireSecs()
Returns the expiration time of when the zone data is no longer
authoritative.
|
long |
minTtl()
Returns the negative caching time (RFC 2308: the time a NAME ERROR/
NXDOMAIN result may be cached by any resolver).
|
String |
nameServer()
Returns the name server that will respond authoritatively for
the domain.
|
long |
refreshSecs()
Returns the time interval in seconds when the slave will try to
refresh the zone from the master.
|
long |
retrySecs()
Returns the time between retries if the slave (secondary) fails
to contact the master when refresh (above) has expired.
|
long |
serial()
Returns the serial number of this record.
|
String |
toString() |
public SoaData(String nameServer, String email, long serial, long refreshSecs, long retrySecs, long expireSecs, long minTtl)
nameServer
- the name serveremail
- the email nameserial
- the serial numberrefreshSecs
- the refresh interval secondsretrySecs
- the retry interval secondsexpireSecs
- the expiration time in secondsminTtl
- the minimum time-to-livepublic String nameServer()
public String email()
public long serial()
public long refreshSecs()
public long retrySecs()
public long expireSecs()
public long minTtl()
Copyright © 2016. All Rights Reserved.