public class SetResponse extends Object
Cache.lookupRecords(Name, int, int)
or Zone.findRecords(Name, int)
.Modifier and Type | Method and Description |
---|---|
List<RRset> |
answers()
If the query was successful, return the answers
|
CNAMERecord |
getCNAME()
If the query encountered a CNAME, return it.
|
DNAMERecord |
getDNAME()
If the query encountered a DNAME, return it.
|
RRset |
getNS()
If the query hit a delegation point, return the NS set.
|
boolean |
isCNAME()
Is the result of the lookup a CNAME?
|
boolean |
isDelegation()
Is the result of the lookup that the name is below a delegation?
|
boolean |
isDNAME()
Is the result of the lookup a DNAME?
|
boolean |
isNXDOMAIN()
Is the answer to the query that the name does not exist?
|
boolean |
isNXRRSET()
Is the answer to the query that the name exists, but the type does not?
|
boolean |
isSuccessful()
Was the query successful?
|
boolean |
isUnknown()
Is the answer to the query unknown?
|
String |
toString()
Prints the value of the SetResponse
|
public boolean isUnknown()
public boolean isNXDOMAIN()
public boolean isNXRRSET()
public boolean isDelegation()
public boolean isCNAME()
public boolean isDNAME()
public boolean isSuccessful()
public CNAMERecord getCNAME()
public DNAMERecord getDNAME()
public RRset getNS()
Copyright © 2022 dnsjava.org. All rights reserved.