Package | Description |
---|---|
org.xbill.DNS | |
org.xbill.DNS.dnssec | |
org.xbill.DNS.tools |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Cache.CacheRRset |
Modifier and Type | Field and Description |
---|---|
private RRset[] |
Zone.ZoneIterator.current |
private RRset |
Zone.NS |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RRset> |
SetResponse.data |
Modifier and Type | Method and Description |
---|---|
private RRset[] |
Zone.allRRsets(java.lang.Object types) |
private RRset |
Zone.expandSet(RRset set,
Name tname) |
RRset |
Zone.findExactMatch(Name name,
int type)
Looks up Records in the zone, finding exact matches only.
|
private RRset |
Zone.findRRset(Name name,
int type) |
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 |
Zone.ZoneIterator.next() |
private RRset |
Zone.oneRRset(java.lang.Object types,
int type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RRset> |
SetResponse.answers()
If the query was successful, return the answers
|
java.util.Iterator<RRset> |
Zone.AXFR()
Returns an Iterator over the RRsets in the zone that can be used to construct an AXFR response.
|
java.util.List<RRset> |
Cache.findAnyRecords(Name name,
int type)
Looks up Records in the Cache (a wrapper around lookupRecords).
|
java.util.List<RRset> |
Cache.findRecords(Name name,
int type)
Looks up credible Records in the Cache (a wrapper around lookupRecords).
|
private java.util.List<RRset> |
Cache.findRecords(Name name,
int type,
int minCred) |
java.util.List<RRset> |
Message.getSectionRRsets(int section)
Returns an array containing all records in the given section grouped into RRsets.
|
java.util.Iterator<RRset> |
Zone.iterator()
Returns an Iterator over the RRsets in the zone.
|
Modifier and Type | Method and Description |
---|---|
<T extends Record> |
Update.add(RRset rrset)
Indicates that all of the records in the rrset should be inserted into the zone.
|
private void |
Message.addAdditionalRRset(RRset rrset,
java.util.List<RRset> additionalSectionSets,
java.util.List<RRset> cleanedAdditionalSection) |
private void |
Zone.addRRset(Name name,
RRset rrset) |
void |
Zone.addRRset(RRset rrset)
Adds an RRset to the Zone
|
(package private) void |
SetResponse.addRRset(RRset rrset) |
<T extends Record> |
Cache.addRRset(RRset rrset,
int cred)
Adds an RRset to the Cache.
|
private <T extends Record> |
Cache.addRRset(RRset rrset,
int cred,
boolean isAuthenticated) |
<T extends Record> |
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.
|
private RRset |
Zone.expandSet(RRset set,
Name tname) |
private void |
Message.logOrThrow(boolean throwOnIrrelevantRecord,
java.lang.String format,
RRset rrset,
Name sname,
Message query) |
private static void |
Cache.markAdditional(RRset rrset,
java.util.Set<Name> names) |
(package private) static SetResponse |
SetResponse.ofType(SetResponseType type,
RRset rrset) |
(package private) static SetResponse |
SetResponse.ofType(SetResponseType type,
RRset rrset,
boolean isAuthenticated) |
<T extends Record> |
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.
|
boolean |
Record.sameRRset(RRset set)
Determines if this Record could be part of the passed RRset.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration)
Deprecated.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration,
java.lang.String provider)
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.time.Instant inception,
java.time.Instant expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.time.Instant inception,
java.time.Instant expiration,
java.lang.String provider)
Generate a DNSSEC signature.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
java.util.Date date)
Deprecated.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
java.time.Instant date)
Verify a DNSSEC signature.
|
Modifier and Type | Method and Description |
---|---|
private void |
Message.addAdditionalRRset(RRset rrset,
java.util.List<RRset> additionalSectionSets,
java.util.List<RRset> cleanedAdditionalSection) |
private void |
Message.addAdditionalRRset(RRset rrset,
java.util.List<RRset> additionalSectionSets,
java.util.List<RRset> cleanedAdditionalSection) |
private java.util.List<Record> |
Message.rrsetListToRecords(java.util.List<RRset> rrsets) |
Constructor and Description |
---|
CacheRRset(RRset rrset,
int cred,
long maxttl,
boolean isAuthenticated) |
RRset(RRset rrset)
Creates an RRset with the contents of an existing RRset
|
SetResponse(SetResponseType type,
RRset rrset,
boolean isAuthenticated) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
KeyEntry
DNSKEY cache entry for a given
Name , with or without actual keys. |
(package private) class |
SRRset
An extended version of
RRset that adds the indication of DNSSEC security status. |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
ValUtils.atLeastOneDigestSupported(RRset dsRRset)
Determines if at least one of the DS records in the RRset has a supported digest algorithm.
|
(package private) boolean |
ValUtils.atLeastOneSupportedAlgorithm(RRset dsRRset)
Determines if at least one of the DS records in the RRset has a supported algorithm.
|
private java.util.List<DNSKEYRecord> |
DnsSecVerifier.findKey(RRset dnskeyRrset,
RRSIGRecord signature)
Find the matching DNSKEY(s) to an RRSIG within a DNSKEY rrset.
|
static Name |
ValUtils.rrsetWildcard(RRset rrset)
Determine by looking at a signed RRset whether or not the RRset name was the result of a
wildcard expansion.
|
JustifiedSecStatus |
DnsSecVerifier.verify(RRset rrset,
DNSKEYRecord dnskey,
java.time.Instant date)
Verify an RRset against a single DNSKEY.
|
JustifiedSecStatus |
DnsSecVerifier.verify(SRRset rrset,
RRset keyRrset,
java.time.Instant date)
Verifies an RRset.
|
private JustifiedSecStatus |
DnsSecVerifier.verifySignature(SRRset rrset,
RRSIGRecord sigrec,
RRset keyRrset,
java.time.Instant date)
Verify an RRset against a particular signature.
|
Constructor and Description |
---|
SRRset(RRset r)
Create a new SRRset from an existing RRset.
|
Modifier and Type | Method and Description |
---|---|
RRset |
jnamed.findExactMatch(Name name,
int type,
int dclass,
boolean glue) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
jnamed.addRRset(Name name,
Message response,
RRset rrset,
int section,
int flags) |