Interface SOADomainResourceRecord

All Superinterfaces:
DomainResourceRecord

public interface SOADomainResourceRecord extends DomainResourceRecord
  • Method Summary

    Modifier and Type
    Method
    Description
    Email address of the administrator.
    long
    The time, in seconds, that a secondary server will keep trying to complete a zone transfer.
    The host name of the server that generated this zone file
    long
    The minimum time-to-live value applies to all resource records in the zone file.
    long
    The time, in seconds, a secondary DNS server waits before querying the primary DNS server's SOA record to check for changes.
    long
    The time, in seconds, a secondary server waits before retrying a failed zone transfer.
    long
    Counter which should be incremented when the zone file changes The revision number of this zone file.

    Methods inherited from interface io.milton.dns.resource.DomainResourceRecord

    getName, getTtl
  • Method Details

    • getHost

      String getHost()
      The host name of the server that generated this zone file
      Returns:
    • getAdminEmail

      String getAdminEmail()
      Email address of the administrator. The e-mail address of the person responsible for administering the domain's zone file.
      Returns:
    • getZoneSerialNumber

      long getZoneSerialNumber()
      Counter which should be incremented when the zone file changes The revision number of this zone file. Increment this number each time the zone file is changed. It is important to increment this value each time a change is made, so that the changes will be distributed to any secondary DNS servers.
      Returns:
    • getRefresh

      long getRefresh()
      The time, in seconds, a secondary DNS server waits before querying the primary DNS server's SOA record to check for changes. When the refresh time expires, the secondary DNS server requests a copy of the current SOA record from the primary. The primary DNS server complies with this request. The secondary DNS server compares the serial number of the primary DNS server's current SOA record and the serial number in it's own SOA record. If they are different, the secondary DNS server will request a zone transfer from the primary DNS server. The default value is 3,600. Eg 7200
      Returns:
    • getRetry

      long getRetry()
      The time, in seconds, a secondary server waits before retrying a failed zone transfer. Normally, the retry time is less than the refresh time. Eg 600.
      Returns:
    • getExpire

      long getExpire()
      The time, in seconds, that a secondary server will keep trying to complete a zone transfer. If this time expires prior to a successful zone transfer, the secondary server will expire its zone file. This means the secondary will stop answering queries, as it considers its data too old to be reliable. The default value is 86,400.
      Returns:
    • getMinimum

      long getMinimum()
      The minimum time-to-live value applies to all resource records in the zone file. This value is supplied in query responses to inform other servers how long they should keep the data in cache. The default value is 3,600.
      Returns: