Class DomainOptions

    • Constructor Detail

      • DomainOptions

        public DomainOptions()
    • Method Detail

      • primaryNameServer

        public DomainOptions primaryNameServer​(String primaryNameServer)
        Configure the primary DNS server for this domain.
      • responsiblePerson

        public DomainOptions responsiblePerson​(String responsiblePerson)
        Configure the E-mail address of the person responsible for this domain (usually attached to MX records).
      • ttl

        public DomainOptions ttl​(int ttl)
        TTL (time to live). The number of seconds a domain name is cached locally before expiration and return to authoritative nameservers for updates
      • refresh

        public DomainOptions refresh​(int refresh)
        Configure the number of seconds between update requests from secondary and slave name servers
      • retry

        public DomainOptions retry​(int retry)
        Configure the number of seconds the secondary/slave will wait before retrying when the last attempt failed
      • expire

        public DomainOptions expire​(int expire)
        Configure the number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server
      • minimum

        public DomainOptions minimum​(int minimum)
        Configure the minimum/default TTL if the domain does not specify ttl
        See Also:
        ttl(int)