Package africa.sendbyte.domains
Class DnsRecord
java.lang.Object
africa.sendbyte.domains.DnsRecord
A DNS record you must publish to authenticate a sending domain, returned by
Domains.create(String) and Domains.get(String).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()The host/name to publish the record at, e.g.The protocol this record serves:spf,dkim, ordmarc.getType()DNS record type.getValue()The exact TXT value to publish.booleantrueif this record must be present for the domain to verify (SPF and DKIM).voidvoidsetPurpose(String purpose) voidsetRequired(boolean required) voidvoid
-
Constructor Details
-
DnsRecord
public DnsRecord()
-
-
Method Details
-
getType
DNS record type. AlwaysTXTfor the SPF, DKIM, and DMARC records. -
setType
-
getHost
The host/name to publish the record at, e.g.sb._domainkey.paylink.ng. -
setHost
-
getValue
The exact TXT value to publish. Do not modify it. -
setValue
-
getPurpose
The protocol this record serves:spf,dkim, ordmarc. -
setPurpose
-
isRequired
public boolean isRequired()trueif this record must be present for the domain to verify (SPF and DKIM). -
setRequired
public void setRequired(boolean required)
-