Class DomainCheck

java.lang.Object
africa.sendbyte.domains.DomainCheck

public final class DomainCheck extends Object
The result of a live DNS check for a single record, returned by Domains.verify(String).
  • Constructor Details

    • DomainCheck

      public DomainCheck()
  • Method Details

    • getPurpose

      public String getPurpose()
      The protocol this check covers: spf, dkim, or dmarc.
    • setPurpose

      public void setPurpose(String purpose)
    • getHost

      public String getHost()
      The DNS host that was queried.
    • setHost

      public void setHost(String host)
    • isRequired

      public boolean isRequired()
      true if this record must pass for the domain to be marked verified.
    • setRequired

      public void setRequired(boolean required)
    • isPass

      public boolean isPass()
      true if the expected record was found and valid at query time.
    • setPass

      public void setPass(boolean pass)