| Package | Description |
|---|---|
| org.xbill.DNS |
| Modifier and Type | Method and Description |
|---|---|
RRset[] |
SetResponse.answers()
If the query was successful, return the answers
|
RRset[] |
Cache.findAnyRecords(Name name,
int type)
Looks up Records in the Cache (a wrapper around lookupRecords).
|
RRset |
Zone.findExactMatch(Name name,
int type)
Looks up Records in the zone, finding exact matches only.
|
RRset[] |
Cache.findRecords(Name name,
int type)
Looks up credible Records in the Cache (a wrapper around lookupRecords).
|
RRset |
Zone.getNS()
Returns the Zone origin's NS records
|
RRset |
SetResponse.getNS()
If the query hit a delegation point, return the NS set.
|
RRset[] |
Message.getSectionRRsets(int section)
Returns an array containing all records in the given section grouped into
RRsets.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Update.add(RRset rrset)
Indicates that all of the records in the rrset should be inserted into the
zone.
|
void |
Zone.addRRset(RRset rrset)
Adds an RRset to the Zone
|
void |
Cache.addRRset(RRset rrset,
int cred)
Adds an RRset to the Cache.
|
void |
Update.delete(RRset rrset)
Indicates that all of the records in the rrset should be deleted from the
zone.
|
static byte[] |
DNSSEC.digestRRset(RRSIGRecord rrsig,
RRset rrset)
Creates a byte array containing the concatenation of the fields of the
SIG record and the RRsets to be signed/verified.
|
void |
Update.replace(RRset rrset)
Indicates that all of the records in the rrset should be inserted into the
zone replacing any other records with the same name and type.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration,
java.lang.String provider)
Generate a DNSSEC signature.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
| Constructor and Description |
|---|
RRset(RRset rrset)
Creates an RRset with the contents of an existing RRset
|
Copyright © 2015. All Rights Reserved.