| java.lang.Object org.xbill.DNS.SetResponse
SetResponse | public class SetResponse (Code) | | The Response from a query to Cache.lookupRecords() or Zone.findRecords()
See Also: Cache See Also: Zone author: Brian Wellington |
Field Summary | |
final static int | CNAME The Cache/Zone found a CNAME when looking for the name. | final static int | DELEGATION A delegation enclosing the requested name was found. | final static int | DNAME The Cache/Zone found a DNAME when looking for the name. | final static int | NXDOMAIN The Zone does not contain the requested name, or the Cache has
determined that the name does not exist. | final static int | NXRRSET The Zone contains the name, but no data of the requested type,
or the Cache has determined that the name exists and has no data
of the requested type. | final static int | SUCCESSFUL The Cache/Zone has successfully answered the question for the
requested name/type/class. | final static int | UNKNOWN |
CNAME | final static int CNAME(Code) | | The Cache/Zone found a CNAME when looking for the name.
See Also: CNAMERecord |
DELEGATION | final static int DELEGATION(Code) | | A delegation enclosing the requested name was found.
|
DNAME | final static int DNAME(Code) | | The Cache/Zone found a DNAME when looking for the name.
See Also: DNAMERecord |
NXDOMAIN | final static int NXDOMAIN(Code) | | The Zone does not contain the requested name, or the Cache has
determined that the name does not exist.
|
NXRRSET | final static int NXRRSET(Code) | | The Zone contains the name, but no data of the requested type,
or the Cache has determined that the name exists and has no data
of the requested type.
|
SUCCESSFUL | final static int SUCCESSFUL(Code) | | The Cache/Zone has successfully answered the question for the
requested name/type/class.
|
UNKNOWN | final static int UNKNOWN(Code) | | The Cache contains no information about the requested name/type
|
SetResponse | SetResponse(int type)(Code) | | |
answers | public RRset[] answers()(Code) | | If the query was successful, return the answers
|
getCNAME | public CNAMERecord getCNAME()(Code) | | If the query encountered a CNAME, return it.
|
getDNAME | public DNAMERecord getDNAME()(Code) | | If the query encountered a DNAME, return it.
|
getNS | public RRset getNS()(Code) | | If the query hit a delegation point, return the NS set.
|
isCNAME | public boolean isCNAME()(Code) | | Is the result of the lookup a CNAME?
|
isDNAME | public boolean isDNAME()(Code) | | Is the result of the lookup a DNAME?
|
isDelegation | public boolean isDelegation()(Code) | | Is the result of the lookup that the name is below a delegation?
|
isNXDOMAIN | public boolean isNXDOMAIN()(Code) | | Is the answer to the query that the name does not exist?
|
isNXRRSET | public boolean isNXRRSET()(Code) | | Is the answer to the query that the name exists, but the type does not?
|
isSuccessful | public boolean isSuccessful()(Code) | | Was the query successful?
|
isUnknown | public boolean isUnknown()(Code) | | Is the answer to the query unknown?
|
toString | public String toString()(Code) | | Prints the value of the SetResponse
|
|
|