Package | Description |
---|---|
org.xbill.DNS | |
org.xbill.DNS.config | |
org.xbill.DNS.dnssec | |
org.xbill.DNS.hosts | |
org.xbill.DNS.lookup | |
org.xbill.DNS.spi | |
org.xbill.DNS.tools |
Modifier and Type | Field and Description |
---|---|
private Name |
SOARecord.admin |
private Name |
TSIGRecord.alg |
private Name |
TKEYRecord.alg |
private Name |
TSIG.alg |
static Name |
Name.empty
The root name
|
private Name |
MINFORecord.errorAddress |
static Name |
TSIG.GSS_TSIG
The domain name representing the gss-tsig algorithm.
|
static Name |
TSIG.HMAC
Deprecated.
use
TSIG.HMAC_MD5 |
static Name |
TSIG.HMAC_MD5
The domain name representing the HMAC-MD5 algorithm.
|
static Name |
TSIG.HMAC_SHA1
The domain name representing the HMAC-SHA1 algorithm.
|
static Name |
TSIG.HMAC_SHA224
The domain name representing the HMAC-SHA224 algorithm.
|
static Name |
TSIG.HMAC_SHA256
The domain name representing the HMAC-SHA256 algorithm.
|
static Name |
TSIG.HMAC_SHA384
The domain name representing the HMAC-SHA384 algorithm.
|
static Name |
TSIG.HMAC_SHA512
The domain name representing the HMAC-SHA512 algorithm.
|
private Name |
SOARecord.host |
private static Name |
ReverseMap.inaddr4 |
private static Name |
ReverseMap.inaddr6 |
private Name |
RPRecord.mailbox |
private Name |
PXRecord.map822 |
private Name |
PXRecord.mapX400 |
protected Name |
Record.name |
(package private) Name |
Cache.NegativeElement.name |
private Name |
TSIG.name |
private Name |
Lookup.name |
(package private) Name |
Compression.Entry.name |
protected Name |
U16NameBase.nameField |
private Name |
NSECRecord.next |
private Name |
NXTRecord.next |
private static Name[] |
Lookup.noAliases |
private Name |
Update.origin |
private Name |
Master.origin |
Name |
Generator.origin
The origin to append to relative names.
|
private Name |
Zone.origin |
private Name |
A6Record.prefix |
private Name |
NAPTRRecord.replacement |
private Name |
MINFORecord.responsibleAddress |
static Name |
Name.root
The root name
|
protected Name |
SIGBase.signer |
protected Name |
SingleNameBase.singleName |
private Name |
SRVRecord.target |
protected Name |
SVCBBase.targetName |
private Name |
RPRecord.textDomain |
private static Name |
Name.wild |
private Name |
ZoneTransferIn.zname |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<Name,java.lang.String> |
TSIG.algMap |
private java.util.List<Name> |
Lookup.aliases |
private java.util.Map<Name,java.lang.Object> |
Zone.data |
private static java.util.List<Name> |
Lookup.defaultSearchPath |
private java.util.List<Name> |
HIPRecord.rvServers |
private java.util.List<Name> |
ResolverConfig.searchlist |
private java.util.List<Name> |
Lookup.searchPath |
private java.util.Iterator<java.util.Map.Entry<Name,java.lang.Object>> |
Zone.ZoneIterator.zentries |
Modifier and Type | Method and Description |
---|---|
static Name |
TSIG.algorithmToName(java.lang.String alg)
Convert an algorithm String to its equivalent Name.
|
Name |
Name.canonicalize()
Returns a canonicalized version of the Name (all lowercase).
|
(package private) static Name |
Record.checkName(java.lang.String field,
Name name) |
static Name |
Name.concatenate(Name prefix,
Name suffix)
Creates a new name by concatenating two existing names.
|
static Name |
ReverseMap.fromAddress(byte[] addr)
Creates a reverse map name corresponding to an address contained in an array of 4 bytes (for an
IPv4 address) or 16 bytes (for an IPv6 address).
|
static Name |
ReverseMap.fromAddress(java.net.InetAddress addr)
Creates a reverse map name corresponding to an address contained in an InetAddress.
|
static Name |
ReverseMap.fromAddress(int[] addr)
Creates a reverse map name corresponding to an address contained in an array of 4 integers
between 0 and 255 (for an IPv4 address) or 16 integers between 0 and 255 (for an IPv6 address).
|
static Name |
ReverseMap.fromAddress(java.lang.String addr)
Creates a reverse map name corresponding to an address contained in a String.
|
static Name |
ReverseMap.fromAddress(java.lang.String addr,
int family)
Creates a reverse map name corresponding to an address contained in a String.
|
static Name |
Name.fromConstantString(java.lang.String s)
Create a new name from a constant string.
|
Name |
Name.fromDNAME(DNAMERecord dname)
Generates a new Name to be used when following a DNAME.
|
static Name |
Name.fromString(java.lang.String s)
Create a new name from a string.
|
static Name |
Name.fromString(java.lang.String s,
Name origin)
Create a new name from a string and an origin.
|
Name |
MBRecord.getAdditionalName() |
Name |
Record.getAdditionalName()
Returns the name for which additional data processing should be done for this record.
|
Name |
NAPTRRecord.getAdditionalName() |
Name |
MXRecord.getAdditionalName() |
Name |
NSRecord.getAdditionalName() |
Name |
KXRecord.getAdditionalName() |
Name |
MDRecord.getAdditionalName() |
Name |
SRVRecord.getAdditionalName() |
Name |
MFRecord.getAdditionalName() |
Name |
SOARecord.getAdmin()
Returns the zone administrator's address
|
Name |
TSIGRecord.getAlgorithm()
Returns the shared key's algorithm
|
Name |
TKEYRecord.getAlgorithm()
Returns the shared key's algorithm
|
Name |
DNAMERecord.getAlias()
Deprecated.
use
Record.getName() |
Name |
CNAMERecord.getAlias()
Deprecated.
use
Record.getName() |
Name[] |
Lookup.getAliases()
Returns all known aliases for this name.
|
Name |
MINFORecord.getErrorAddress()
Gets the address to receive error messages relating to the mailing list/mailbox.
|
Name |
AFSDBRecord.getHost()
Gets the host providing service for the domain.
|
Name |
SOARecord.getHost()
Returns the primary name server
|
Name |
RTRecord.getIntermediateHost()
Gets the host to use as a router.
|
Name |
MDRecord.getMailAgent()
Gets the mail agent for the domain
|
Name |
MFRecord.getMailAgent()
Gets the mail agent for the domain
|
Name |
MBRecord.getMailbox()
Gets the mailbox for the domain
|
Name |
RPRecord.getMailbox()
Gets the mailbox address of the RP Record
|
Name |
MGRecord.getMailbox()
Gets the mailbox in the mail group specified by the domain
|
Name |
PXRecord.getMap822()
Gets the RFC 822 component of the mail address.
|
Name |
PXRecord.getMapX400()
Gets the X.400 component of the mail address.
|
Name |
Record.getName()
Returns the record's name
|
Name |
RRset.getName()
Returns the name of the records
|
Name |
ZoneTransferIn.getName()
Gets the name of the zone being transferred.
|
Name |
Tokenizer.getName(Name origin)
Gets the next token from a tokenizer and converts it to a name.
|
protected Name |
U16NameBase.getNameField() |
Name |
MRRecord.getNewName()
Gets the new name of the mailbox specified by the domain
|
Name |
NSECRecord.getNext()
Returns the next name
|
Name |
NXTRecord.getNext()
Returns the next name
|
Name |
Zone.getOrigin()
Returns the Zone's origin
|
Name |
A6Record.getPrefix()
Returns the address prefix
|
Name |
NAPTRRecord.getReplacement()
Returns the replacement domain-name
|
Name |
MINFORecord.getResponsibleAddress()
Gets the address responsible for the mailing list/mailbox.
|
Name |
SIGBase.getSigner()
Returns the owner of the signing key
|
protected Name |
SingleNameBase.getSingleName() |
Name |
NSAP_PTRRecord.getTarget()
Gets the target of the NSAP_PTR Record
|
Name |
DNAMERecord.getTarget()
Gets the target of the DNAME Record
|
Name |
PTRRecord.getTarget()
Gets the target of the PTR Record
|
Name |
MXRecord.getTarget()
Returns the target of the MX record
|
Name |
CNAMERecord.getTarget()
Gets the target of the CNAME Record
|
Name |
NSRecord.getTarget()
Gets the target of the NS Record
|
Name |
KXRecord.getTarget()
Returns the target of the KX record
|
Name |
SRVRecord.getTarget()
Returns the host running that the service
|
Name |
SVCBBase.getTargetName() |
Name |
RPRecord.getTextDomain()
Gets the text domain info of the RP Record
|
private Name |
Master.parseName(java.lang.String s,
Name origin) |
Name |
Name.relativize(Name origin)
If this name is a subdomain of origin, return a new name relative to origin with the same
value.
|
Name |
Name.wild(int n)
Generates a new Name with the first n labels replaced by a wildcard
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<Name> |
Lookup.convertSearchPathDomainList(java.util.List<Name> domains) |
static java.util.List<Name> |
Lookup.getDefaultSearchPath()
Gets the search path that will be used as the default by future Lookups.
|
java.util.List<Name> |
HIPRecord.getRvServers() |
java.util.List<Name> |
ResolverConfig.searchPath()
Returns all entries in the located search path
|
Modifier and Type | Method and Description |
---|---|
void |
Update.absent(Name name)
Inserts a prerequisite that the specified name does not exist; that is, there are no records
with the given name in the zone.
|
void |
Update.absent(Name name,
int type)
Inserts a prerequisite that the specified rrset does not exist; that is, there are no records
with the given name and type in the zone.
|
void |
Compression.add(int pos,
Name name)
Adds a compression entry mapping a name to a position in a message.
|
void |
Update.add(Name name,
int type,
long ttl,
java.lang.String record)
Parses a record from the string, and indicates that the record should be inserted into the
zone.
|
void |
Update.add(Name name,
int type,
long ttl,
Tokenizer tokenizer)
Parses a record from the tokenizer, and indicates that the record should be inserted into the
zone.
|
private void |
Cache.addElement(Name name,
Cache.Element element) |
void |
Cache.addNegative(Name name,
int type,
SOARecord soa,
int cred)
Adds a negative entry to the Cache.
|
private void |
Cache.addNegative(Name name,
int type,
SOARecord soa,
int cred,
boolean isAuthenticated) |
private void |
Zone.addRRset(Name name,
RRset rrset) |
(package private) static Name |
Record.checkName(java.lang.String field,
Name name) |
int |
Name.compareTo(Name arg)
Compares this Name to another Object.
|
static Name |
Name.concatenate(Name prefix,
Name suffix)
Creates a new name by concatenating two existing names.
|
private static void |
Name.copy(Name src,
Name dst) |
void |
Update.delete(Name name)
Indicates that all records with the given name should be deleted from the zone.
|
void |
Update.delete(Name name,
int type)
Indicates that all records with the given name and type should be deleted from the zone.
|
void |
Update.delete(Name name,
int type,
java.lang.String record)
Parses a record from the string, and indicates that the record should be deleted from the zone.
|
void |
Update.delete(Name name,
int type,
Tokenizer tokenizer)
Parses a record from the tokenizer, and indicates that the record should be deleted from the
zone.
|
private java.lang.Object |
Zone.exactName(Name name) |
private java.lang.Object |
Cache.exactName(Name name) |
private RRset |
Zone.expandSet(RRset set,
Name tname) |
java.util.List<RRset> |
Cache.findAnyRecords(Name name,
int type)
Looks up Records in the Cache (a wrapper around lookupRecords).
|
private Cache.Element |
Cache.findElement(Name name,
int type,
int minCred) |
RRset |
Zone.findExactMatch(Name name,
int type)
Looks up Records in the zone, finding exact matches only.
|
SetResponse |
Zone.findRecords(Name name,
int type)
Looks up Records in the Zone.
|
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) |
boolean |
Message.findRRset(Name name,
int type)
Determines if an RRset with the given name and type is already present in any section.
|
private RRset |
Zone.findRRset(Name name,
int type) |
boolean |
Message.findRRset(Name name,
int type,
int section)
Determines if an RRset with the given name and type is already present in the given section.
|
void |
Cache.flushName(Name name)
Flushes all RRsets with a given name from the cache
|
void |
Cache.flushSet(Name name,
int type)
Flushes an RRset from the cache
|
private void |
Lookup.follow(Name name,
Name oldname) |
static java.net.InetAddress |
ReverseMap.fromName(Name name)
Parses the address from a reverse map name.
|
static Record |
Record.fromString(Name name,
int type,
int dclass,
long ttl,
java.lang.String s,
Name origin)
Builds a new Record from its textual representation
|
static Record |
Record.fromString(Name name,
int type,
int dclass,
long ttl,
Tokenizer st,
Name origin)
Builds a new Record from its textual representation
|
static Name |
Name.fromString(java.lang.String s,
Name origin)
Create a new name from a string and an origin.
|
int |
Compression.get(Name name)
Retrieves the position of the given name, if it has been previously included in the message.
|
private static Record |
Record.getEmptyRecord(Name name,
int type,
int dclass,
long ttl,
boolean hasData) |
Name |
Tokenizer.getName(Name origin)
Gets the next token from a tokenizer and converts it to a name.
|
byte[] |
NSEC3Record.hashName(Name name)
Hashes a name with the parameters of this NSEC3 record.
|
byte[] |
NSEC3PARAMRecord.hashName(Name name)
Hashes a name with the parameters of this NSEC3PARAM record.
|
(package private) static byte[] |
NSEC3Record.hashName(Name name,
int hashAlg,
int iterations,
byte[] salt) |
private void |
Message.logOrThrow(boolean throwOnIrrelevantRecord,
java.lang.String format,
RRset rrset,
Name sname,
Message query) |
private void |
Lookup.lookup(Name current) |
private SetResponse |
Zone.lookup(Name name,
int type) |
protected SetResponse |
Cache.lookup(Name name,
int type,
int minCred)
Finds all matching sets or something that causes the lookup to stop.
|
private boolean |
Lookup.lookupFromHostsFile(Name current) |
SetResponse |
Cache.lookupRecords(Name name,
int type,
int minCred)
Looks up Records in the Cache.
|
static java.lang.String |
TSIG.nameToAlgorithm(Name name)
Deprecated.
Returns java algorithm name, will be made private in 4.0
|
static ZoneTransferIn |
ZoneTransferIn.newAXFR(Name zone,
java.net.SocketAddress address,
TSIG key)
Instantiates a ZoneTransferIn object to do an AXFR (full zone transfer).
|
static ZoneTransferIn |
ZoneTransferIn.newAXFR(Name zone,
java.lang.String host,
int port,
TSIG key)
Instantiates a ZoneTransferIn object to do an AXFR (full zone transfer).
|
static ZoneTransferIn |
ZoneTransferIn.newAXFR(Name zone,
java.lang.String host,
TSIG key)
Instantiates a ZoneTransferIn object to do an AXFR (full zone transfer).
|
static ZoneTransferIn |
ZoneTransferIn.newIXFR(Name zone,
long serial,
boolean fallback,
java.net.SocketAddress address,
TSIG key)
Instantiates a ZoneTransferIn object to do an IXFR (incremental zone transfer).
|
static ZoneTransferIn |
ZoneTransferIn.newIXFR(Name zone,
long serial,
boolean fallback,
java.lang.String host,
int port,
TSIG key)
Instantiates a ZoneTransferIn object to do an IXFR (incremental zone transfer).
|
static ZoneTransferIn |
ZoneTransferIn.newIXFR(Name zone,
long serial,
boolean fallback,
java.lang.String host,
TSIG key)
Instantiates a ZoneTransferIn object to do an IXFR (incremental zone transfer).
|
static Record |
Record.newRecord(Name name,
int type,
int dclass)
Creates a new empty record, with the given parameters.
|
static Record |
Record.newRecord(Name name,
int type,
int dclass,
long ttl)
Creates a new empty record, with the given parameters.
|
static Record |
Record.newRecord(Name name,
int type,
int dclass,
long ttl,
byte[] data)
Creates a new record, with the given parameters.
|
static Record |
Record.newRecord(Name name,
int type,
int dclass,
long ttl,
int length,
byte[] data)
Creates a new record, with the given parameters.
|
private static Record |
Record.newRecord(Name name,
int type,
int dclass,
long ttl,
int length,
DNSInput in) |
static Message |
Message.newUpdate(Name zone)
Creates a new Message to contain a dynamic update.
|
private Cache.Element |
Cache.oneElement(Name name,
java.lang.Object types,
int type,
int minCred) |
private Name |
Master.parseName(java.lang.String s,
Name origin) |
void |
Update.present(Name name)
Inserts a prerequisite that the specified name exists; that is, there exist records with the
given name in the zone.
|
void |
Update.present(Name name,
int type)
Inserts a prerequisite that the specified rrset exists; that is, there exist records with the
given name and type in the zone.
|
void |
Update.present(Name name,
int type,
java.lang.String record)
Parses a record from the string, and inserts a prerequisite that the record exists.
|
void |
Update.present(Name name,
int type,
Tokenizer tokenizer)
Parses a record from the tokenizer, and inserts a prerequisite that the record exists.
|
private void |
Lookup.processResponse(Name name,
SetResponse response) |
protected void |
HIPRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
APLRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
CAARecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
OPTRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NSEC3Record.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NSECRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
IPSECKEYRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
TSIGRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NSAPRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
A6Record.rdataFromString(Tokenizer st,
Name origin) |
protected abstract void |
Record.rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
protected void |
OPENPGPKEYRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
RPRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SOARecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
GPOSRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
DLVRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NAPTRRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
EmptyRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
URIRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SIGBase.rdataFromString(Tokenizer st,
Name origin) |
protected void |
KEYRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SVCBBase.rdataFromString(Tokenizer st,
Name origin) |
protected void |
AAAARecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NSEC3PARAMRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
UNKRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
MINFORecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
X25Record.rdataFromString(Tokenizer st,
Name origin) |
protected void |
TKEYRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NULLRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
CERTRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
NXTRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
DHCIDRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
WKSRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
TXTBase.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SingleNameBase.rdataFromString(Tokenizer st,
Name origin) |
protected void |
TLSARecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SSHFPRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
SRVRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
ARecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
HINFORecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
LOCRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
ISDNRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
U16NameBase.rdataFromString(Tokenizer st,
Name origin) |
protected void |
DSRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
PXRecord.rdataFromString(Tokenizer st,
Name origin) |
protected void |
DNSKEYRecord.rdataFromString(Tokenizer st,
Name origin) |
Name |
Name.relativize(Name origin)
If this name is a subdomain of origin, return a new name relative to origin with the same
value.
|
private void |
Cache.removeElement(Name name,
int type) |
private void |
Cache.removeName(Name name) |
private void |
Zone.removeRRset(Name name,
int type) |
void |
Update.replace(Name name,
int type,
long ttl,
java.lang.String record)
Parses a record from the string, and indicates that the record should be inserted into the zone
replacing any other records with the same name and type.
|
void |
Update.replace(Name name,
int type,
long ttl,
Tokenizer tokenizer)
Parses a record from the tokenizer, and indicates that the record should be inserted into the
zone replacing any other records with the same name and type.
|
private void |
Lookup.resolve(Name current,
Name suffix) |
static void |
Lookup.setDefaultSearchPath(Name... domains)
Sets the search path to be used as the default by future Lookups.
|
void |
Lookup.setSearchPath(Name... domains)
Sets the search path to use when performing this lookup.
|
boolean |
Name.subdomain(Name domain)
Is the current Name a subdomain of the specified name?
|
Record |
Record.withName(Name name)
Creates a new record identical to the current record, but with a different name.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<Name> |
Lookup.convertSearchPathDomainList(java.util.List<Name> domains) |
private static void |
Cache.markAdditional(RRset rrset,
java.util.Set<Name> names) |
static void |
Lookup.setDefaultSearchPath(java.util.List<Name> domains)
Sets the search path to be used as the default by future Lookups.
|
void |
Lookup.setSearchPath(java.util.List<Name> domains)
Sets the search path to use when performing this lookup.
|
Constructor and Description |
---|
A6Record(Name name,
int dclass,
long ttl,
int prefixBits,
java.net.InetAddress suffix,
Name prefix)
Creates an A6 Record from the given data
|
AAAARecord(Name name,
int dclass,
long ttl,
java.net.InetAddress address)
Creates an AAAA Record from the given data
|
AFSDBRecord(Name name,
int dclass,
long ttl,
int subtype,
Name host)
Creates an AFSDB Record from the given data.
|
APLRecord(Name name,
int dclass,
long ttl,
java.util.List<APLRecord.Element> elements)
Creates an APL Record from the given data.
|
ARecord(Name name,
int dclass,
long ttl,
java.net.InetAddress address)
Creates an A Record from the given data
|
CAARecord(Name name,
int dclass,
long ttl,
int flags,
java.lang.String tag,
java.lang.String value)
Creates an CAA Record from the given data.
|
CDNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a CDNSKEY Record from the given data
|
CDNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a CDNSKEY Record from the given data
|
CDSRecord(Name name,
int dclass,
long ttl,
int digestid,
DNSKEYRecord key)
Creates a CDS Record from the given data
|
CDSRecord(Name name,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a CDS Record from the given data
|
CERTRecord(Name name,
int dclass,
long ttl,
int certType,
int keyTag,
int alg,
byte[] cert)
Creates a CERT Record from the given data
|
CNAMERecord(Name name,
int dclass,
long ttl,
Name alias)
Creates a new CNAMERecord with the given data
|
DHCIDRecord(Name name,
int dclass,
long ttl,
byte[] data)
Creates an DHCID Record from the given data
|
DLVRecord(Name name,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a DLV Record from the given data
|
DNAMERecord(Name name,
int dclass,
long ttl,
Name alias)
Creates a new DNAMERecord with the given data
|
DNSKEYRecord(Name name,
int type,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a DNSKEY Record from the given data
|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a DNSKEY Record from the given data
|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a DNSKEY Record from the given data
|
DSRecord(Name name,
int type,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a DS Record from the given data
|
DSRecord(Name name,
int dclass,
long ttl,
int digestid,
DNSKEYRecord key)
Creates a DS Record from the given data
|
DSRecord(Name name,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a DS Record from the given data
|
Generator(long start,
long end,
long step,
java.lang.String namePattern,
int type,
int dclass,
long ttl,
java.lang.String rdataPattern,
Name origin)
Creates a specification for generating records, as a $GENERATE statement in a master file.
|
GPOSRecord(Name name,
int dclass,
long ttl,
double longitude,
double latitude,
double altitude)
Creates an GPOS Record from the given data
|
GPOSRecord(Name name,
int dclass,
long ttl,
java.lang.String longitude,
java.lang.String latitude,
java.lang.String altitude)
Creates an GPOS Record from the given data
|
HINFORecord(Name name,
int dclass,
long ttl,
java.lang.String cpu,
java.lang.String os)
Creates an HINFO Record from the given data
|
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
byte[] key) |
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
byte[] key,
java.util.List<Name> servers) |
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
java.security.PublicKey key) |
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
java.security.PublicKey key,
java.util.List<Name> servers) |
HTTPSRecord(Name name,
int dclass,
long ttl,
int priority,
Name domain,
java.util.List<SVCBBase.ParameterBase> params) |
IPSECKEYRecord(Name name,
int dclass,
long ttl,
int precedence,
int gatewayType,
int algorithmType,
java.lang.Object gateway,
byte[] key)
Creates an IPSECKEY Record from the given data.
|
ISDNRecord(Name name,
int dclass,
long ttl,
java.lang.String address,
java.lang.String subAddress)
Creates an ISDN Record from the given data
|
KEYBase(Name name,
int type,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key) |
KEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
byte[] key)
Creates a KEY Record from the given data
|
KEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a KEY Record from the given data
|
KXRecord(Name name,
int dclass,
long ttl,
int preference,
Name target)
Creates a KX Record from the given data
|
LOCRecord(Name name,
int dclass,
long ttl,
double latitude,
double longitude,
double altitude,
double size,
double hPrecision,
double vPrecision)
Creates an LOC Record from the given data
|
Lookup(Name name)
Create a Lookup object that will find records of type A at the given name in the IN class.
|
Lookup(Name name,
int type)
Create a Lookup object that will find records of the given name and type in the IN class.
|
Lookup(Name name,
int type,
int dclass)
Create a Lookup object that will find records of the given name, type, and class.
|
Master(java.io.File file,
Name origin,
long initialTTL) |
Master(java.io.InputStream in,
Name origin)
Initializes the master file reader.
|
Master(java.io.InputStream in,
Name origin,
long ttl)
Initializes the master file reader.
|
Master(java.lang.String filename,
Name origin)
Initializes the master file reader and opens the specified master file.
|
Master(java.lang.String filename,
Name origin,
long ttl)
Initializes the master file reader and opens the specified master file.
|
MBRecord(Name name,
int dclass,
long ttl,
Name mailbox)
Creates a new MB Record with the given data
|
MDRecord(Name name,
int dclass,
long ttl,
Name mailAgent)
Creates a new MD Record with the given data
|
MFRecord(Name name,
int dclass,
long ttl,
Name mailAgent)
Creates a new MF Record with the given data
|
MGRecord(Name name,
int dclass,
long ttl,
Name mailbox)
Creates a new MG Record with the given data
|
MINFORecord(Name name,
int dclass,
long ttl,
Name responsibleAddress,
Name errorAddress)
Creates an MINFO Record from the given data
|
MRRecord(Name name,
int dclass,
long ttl,
Name newName)
Creates a new MR Record with the given data
|
MXRecord(Name name,
int dclass,
long ttl,
int priority,
Name target)
Creates an MX Record from the given data
|
Name(Name src,
int n)
Create a new name by removing labels from the beginning of an existing Name
|
Name(java.lang.String s,
Name origin)
Create a new name from a string and an origin.
|
NAPTRRecord(Name name,
int dclass,
long ttl,
int order,
int preference,
java.lang.String flags,
java.lang.String service,
java.lang.String regexp,
Name replacement)
Creates an NAPTR Record from the given data
|
NegativeElement(Name name,
int type,
SOARecord soa,
int cred,
long maxttl,
boolean isAuthenticated) |
NSAP_PTRRecord(Name name,
int dclass,
long ttl,
Name target)
Creates a new NSAP_PTR Record with the given data
|
NSAPRecord(Name name,
int dclass,
long ttl,
java.lang.String address)
Creates an NSAP Record from the given data
|
NSEC3PARAMRecord(Name name,
int dclass,
long ttl,
int hashAlg,
int flags,
int iterations,
byte[] salt)
Creates an NSEC3PARAM record from the given data.
|
NSEC3Record(Name name,
int dclass,
long ttl,
int hashAlg,
int flags,
int iterations,
byte[] salt,
byte[] next,
int[] types)
Creates an NSEC3 record from the given data.
|
NSECRecord(Name name,
int dclass,
long ttl,
Name next,
int[] types)
Creates an NSEC Record from the given data.
|
NSRecord(Name name,
int dclass,
long ttl,
Name target)
Creates a new NS Record with the given data
|
NULLRecord(Name name,
int dclass,
long ttl,
byte[] data)
Creates a NULL record from the given data.
|
NXTRecord(Name name,
int dclass,
long ttl,
Name next,
java.util.BitSet bitmap)
Creates an NXT Record from the given data
|
OPENPGPKEYRecord(Name name,
int dclass,
long ttl,
byte[] cert)
Creates an OPENPGPKEY Record from the given data
|
PTRRecord(Name name,
int dclass,
long ttl,
Name target)
Creates a new PTR Record with the given data
|
PXRecord(Name name,
int dclass,
long ttl,
int preference,
Name map822,
Name mapX400)
Creates an PX Record from the given data
|
Record(Name name,
int type,
int dclass,
long ttl) |
RelativeNameException(Name name) |
RPRecord(Name name,
int dclass,
long ttl,
Name mailbox,
Name textDomain)
Creates an RP Record from the given data
|
RRSIGRecord(Name name,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
java.util.Date expire,
java.util.Date timeSigned,
int footprint,
Name signer,
byte[] signature)
|
RRSIGRecord(Name name,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
java.time.Instant expire,
java.time.Instant timeSigned,
int footprint,
Name signer,
byte[] signature)
Creates an RRSIG Record from the given data
|
RTRecord(Name name,
int dclass,
long ttl,
int preference,
Name intermediateHost)
Creates an RT Record from the given data
|
SIGBase(Name name,
int type,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
java.time.Instant expire,
java.time.Instant timeSigned,
int footprint,
Name signer,
byte[] signature) |
SIGRecord(Name name,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
java.util.Date expire,
java.util.Date timeSigned,
int footprint,
Name signer,
byte[] signature)
|
SIGRecord(Name name,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
java.time.Instant expire,
java.time.Instant timeSigned,
int footprint,
Name signer,
byte[] signature)
Creates an SIG Record from the given data
|
SingleCompressedNameBase(Name name,
int type,
int dclass,
long ttl,
Name singleName,
java.lang.String description) |
SingleNameBase(Name name,
int type,
int dclass,
long ttl) |
SingleNameBase(Name name,
int type,
int dclass,
long ttl,
Name singleName,
java.lang.String description) |
SMIMEARecord(Name name,
int dclass,
long ttl,
int certificateUsage,
int selector,
int matchingType,
byte[] certificateAssociationData)
Creates an SMIMEA Record from the given data
|
SOARecord(Name name,
int dclass,
long ttl,
Name host,
Name admin,
long serial,
long refresh,
long retry,
long expire,
long minimum)
Creates an SOA Record from the given data
|
SPFRecord(Name name,
int dclass,
long ttl,
java.util.List<java.lang.String> strings)
Creates a SPF Record from the given data
|
SPFRecord(Name name,
int dclass,
long ttl,
java.lang.String string)
Creates a SPF Record from the given data
|
SRVRecord(Name name,
int dclass,
long ttl,
int priority,
int weight,
int port,
Name target)
Creates an SRV Record from the given data
|
SSHFPRecord(Name name,
int dclass,
long ttl,
int alg,
int digestType,
byte[] fingerprint)
Creates an SSHFP Record from the given data.
|
SVCBBase(Name name,
int type,
int dclass,
long ttl) |
SVCBBase(Name name,
int type,
int dclass,
long ttl,
int priority,
Name domain,
java.util.List<SVCBBase.ParameterBase> params) |
SVCBRecord(Name name,
int dclass,
long ttl,
int priority,
Name domain,
java.util.List<SVCBBase.ParameterBase> params) |
TKEYRecord(Name name,
int dclass,
long ttl,
Name alg,
java.util.Date timeInception,
java.util.Date timeExpire,
int mode,
int error,
byte[] key,
byte[] other)
|
TKEYRecord(Name name,
int dclass,
long ttl,
Name alg,
java.time.Instant timeInception,
java.time.Instant timeExpire,
int mode,
int error,
byte[] key,
byte[] other)
Creates a TKEY Record from the given data.
|
TLSARecord(Name name,
int type,
int dclass,
long ttl,
int certificateUsage,
int selector,
int matchingType,
byte[] certificateAssociationData)
Creates an TLSA Record from the given data
|
TLSARecord(Name name,
int dclass,
long ttl,
int certificateUsage,
int selector,
int matchingType,
byte[] certificateAssociationData)
Creates an TLSA Record from the given data
|
TSIG(javax.crypto.Mac mac,
Name name)
Deprecated.
Use one of the constructors that specifies an algorithm and key.
|
TSIG(Name name,
byte[] key)
Deprecated.
Use
TSIG(Name, Name, SecretKey) to explicitly specify an algorithm. |
TSIG(Name algorithm,
Name name,
byte[] keyBytes)
Creates a new TSIG key, which can be used to sign or verify a message.
|
TSIG(Name algorithm,
Name name,
javax.crypto.SecretKey key)
Creates a new TSIG key, which can be used to sign or verify a message.
|
TSIG(Name algorithm,
Name name,
javax.crypto.SecretKey key,
java.time.Clock clock)
Creates a new TSIG key, which can be used to sign or verify a message.
|
TSIG(Name algorithm,
Name name,
java.lang.String key)
Creates a new TSIG object, which can be used to sign or verify a message.
|
TSIG(Name algorithm,
java.lang.String name,
java.lang.String key)
Creates a new TSIG object, which can be used to sign or verify a message.
|
TSIGRecord(Name name,
int dclass,
long ttl,
Name alg,
java.util.Date timeSigned,
int fudge,
byte[] signature,
int originalID,
int error,
byte[] other)
|
TSIGRecord(Name name,
int dclass,
long ttl,
Name alg,
java.time.Instant timeSigned,
java.time.Duration fudge,
byte[] signature,
int originalID,
int error,
byte[] other)
Creates a TSIG Record from the given data.
|
TXTBase(Name name,
int type,
int dclass,
long ttl) |
TXTBase(Name name,
int type,
int dclass,
long ttl,
java.util.List<java.lang.String> strings) |
TXTBase(Name name,
int type,
int dclass,
long ttl,
java.lang.String string) |
TXTRecord(Name name,
int dclass,
long ttl,
java.util.List<java.lang.String> strings)
Creates a TXT Record from the given data
|
TXTRecord(Name name,
int dclass,
long ttl,
java.lang.String string)
Creates a TXT Record from the given data
|
U16NameBase(Name name,
int type,
int dclass,
long ttl) |
U16NameBase(Name name,
int type,
int dclass,
long ttl,
int u16Field,
java.lang.String u16Description,
Name nameField,
java.lang.String nameDescription) |
Update(Name zone)
Creates an update message.
|
Update(Name zone,
int dclass)
Creates an update message.
|
URIRecord(Name name,
int dclass,
long ttl,
int priority,
int weight,
java.lang.String target)
Creates a URI Record from the given data
|
WKSRecord(Name name,
int dclass,
long ttl,
java.net.InetAddress address,
int protocol,
int[] services)
Creates a WKS Record from the given data
|
X25Record(Name name,
int dclass,
long ttl,
java.lang.String address)
Creates an X25 Record from the given data
|
Zone(Name zone,
int dclass,
java.lang.String remote)
Creates a Zone by performing a zone transfer to the specified host.
|
Zone(Name zone,
Record[] records)
Creates a Zone from an array of records.
|
Zone(Name zone,
java.lang.String file)
Creates a Zone from the records in the specified master file.
|
ZoneTransferIn(Name zone,
int xfrtype,
long serial,
boolean fallback,
java.net.SocketAddress address,
TSIG key) |
Constructor and Description |
---|
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
byte[] key,
java.util.List<Name> servers) |
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
java.security.PublicKey key,
java.util.List<Name> servers) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Name> |
BaseResolverConfigProvider.searchlist |
Modifier and Type | Method and Description |
---|---|
java.util.List<Name> |
BaseResolverConfigProvider.searchPaths() |
java.util.List<Name> |
ResolverConfigProvider.searchPaths()
Returns all entries in the located search path, which may be empty.
|
java.util.List<Name> |
WindowsResolverConfigProvider.searchPaths() |
java.util.List<Name> |
JndiContextResolverConfigProvider.searchPaths() |
Modifier and Type | Field and Description |
---|---|
private static Name |
NSEC3ValUtils.ASTERISK_LABEL |
private Name |
NSEC3ValUtils.CEResponse.closestEncloser |
(package private) Name |
FindKeyState.currentDSKeyName
The initial key name when the key search is started from a trust anchor.
|
(package private) Name |
FindKeyState.emptyDSName
Sets the key name being searched for when a DS response is provably not a delegation point.
|
private Name |
SRRset.ownerName |
(package private) Name |
FindKeyState.signerName
The name of the key to search.
|
(package private) Name |
ValUtils.NsecProvesNodataResponse.wc |
private static Name |
ValUtils.WILDCARD |
Modifier and Type | Method and Description |
---|---|
private Name |
NSEC3ValUtils.ceWildcard(Name closestEncloser)
Given the name of a closest encloser, return the name *.closest_encloser.
|
static Name |
ValUtils.closestEncloser(Name domain,
Name owner,
Name next)
Determines the 'closest encloser' - the name that has the most common labels between
domain and (Record.getName() or NSECRecord.getNext() ). |
Name |
SRRset.getName() |
Name |
SRRset.getSignerName() |
static Name |
ValUtils.longestCommonName(Name domain1,
Name domain2)
Finds the longest domain name in common with the given name.
|
private Name |
NSEC3ValUtils.nextClosest(Name qname,
Name closestEncloser)
Given a qname and its proven closest encloser, calculate the "next closest" name.
|
static Name |
ValUtils.nsecWildcard(Name domain,
SRRset set,
NSECRecord nsec)
Gets the closest encloser of
domain prepended with a wildcard label. |
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.
|
Modifier and Type | Method and Description |
---|---|
private Name |
NSEC3ValUtils.ceWildcard(Name closestEncloser)
Given the name of a closest encloser, return the name *.closest_encloser.
|
static Name |
ValUtils.closestEncloser(Name domain,
Name owner,
Name next)
Determines the 'closest encloser' - the name that has the most common labels between
domain and (Record.getName() or NSECRecord.getNext() ). |
SRRset |
TrustAnchorStore.find(Name name,
int dclass)
Gets the closest trusted key for the given name or
null if no match is found. |
KeyEntry |
KeyCache.find(Name n,
int dclass)
Find the 'closest' trusted DNSKEY rrset to the given name.
|
SRRset |
SMessage.findAnswerRRset(Name qname,
int qtype,
int qclass)
Find an "answer" RRset.
|
private NSEC3ValUtils.CEResponse |
NSEC3ValUtils.findClosestEncloser(Name name,
Name zonename,
java.util.List<SRRset> nsec3s)
Given a name and a list of NSEC3s, find the candidate closest encloser.
|
private NSEC3Record |
NSEC3ValUtils.findCoveringNSEC3(Name name,
Name zonename,
java.util.List<SRRset> nsec3s)
Given a pre-hashed name, find a covering NSEC3 from among a list of NSEC3s.
|
private NSEC3Record |
NSEC3ValUtils.findMatchingNSEC3(Name name,
Name zonename,
java.util.List<SRRset> nsec3s)
Find the NSEC3Record that matches a hash of a name.
|
SRRset |
SMessage.findRRset(Name name,
int type,
int dclass,
int section)
Find a specific (S)RRset in a given section.
|
private java.lang.String |
TrustAnchorStore.key(Name n,
int dclass) |
private java.lang.String |
KeyCache.key(Name n,
int dclass) |
static Name |
ValUtils.longestCommonName(Name domain1,
Name domain2)
Finds the longest domain name in common with the given name.
|
static KeyEntry |
KeyEntry.newBadKeyEntry(Name n,
int dclass,
long ttl)
Creates a new bad key entry without actual DNSKEYs, i.e.
|
static KeyEntry |
KeyEntry.newNullKeyEntry(Name n,
int dclass,
long ttl)
Creates a new trusted key entry without actual DNSKEYs, i.e.
|
private Name |
NSEC3ValUtils.nextClosest(Name qname,
Name closestEncloser)
Given a qname and its proven closest encloser, calculate the "next closest" name.
|
private boolean |
NSEC3ValUtils.nsec3Covers(NSEC3Record nsec3,
Name zonename,
byte[] hash)
Given a hash and a candidate NSEC3Record, determine if that NSEC3Record covers the hash.
|
static boolean |
ValUtils.nsecProvesNameError(SRRset set,
NSECRecord nsec,
Name qname)
Determine if the given NSEC proves a NameError (NXDOMAIN) for a given qname.
|
static ValUtils.NsecProvesNodataResponse |
ValUtils.nsecProvesNodata(SRRset set,
NSECRecord nsec,
Name qname,
int qtype)
Determine if a NSEC proves the NOERROR/NODATA conditions.
|
static SecurityStatus |
ValUtils.nsecProvesNoDS(NSECRecord nsec,
Name qname)
|
static boolean |
ValUtils.nsecProvesNoWC(SRRset set,
NSECRecord nsec,
Name qname)
Determine if a NSEC record proves the non-existence of a wildcard that could have produced
qname.
|
static Name |
ValUtils.nsecWildcard(Name domain,
SRRset set,
NSECRecord nsec)
Gets the closest encloser of
domain prepended with a wildcard label. |
private NSEC3ValUtils.CEResponse |
NSEC3ValUtils.proveClosestEncloser(Name qname,
Name zonename,
java.util.List<SRRset> nsec3s)
Given a List of nsec3 RRs, find and prove the closest encloser to qname.
|
SecurityStatus |
NSEC3ValUtils.proveNameError(java.util.List<SRRset> nsec3s,
Name qname,
Name zonename)
Determine if the set of NSEC3 records provided with a response prove NAME ERROR.
|
JustifiedSecStatus |
NSEC3ValUtils.proveNodata(java.util.List<SRRset> nsec3s,
Name qname,
int qtype,
Name zonename)
Determine if the NSEC3s provided in a response prove the NOERROR/NODATA status.
|
SecurityStatus |
NSEC3ValUtils.proveNoDS(java.util.List<SRRset> nsec3s,
Name qname,
Name zonename)
Prove that a DS response either had no DS, or wasn't a delegation point.
|
SecurityStatus |
NSEC3ValUtils.proveWildcard(java.util.List<SRRset> nsec3s,
Name qname,
Name zonename,
Name wildcard)
Prove that a positive wildcard match was appropriate (no direct match RRset).
|
void |
SRRset.setName(Name ownerName)
Set the name of the records.
|
static boolean |
ValUtils.strictSubdomain(Name domain1,
Name domain2)
Is the first Name strictly a subdomain of the second name (i.e., below but not equal to).
|
(package private) JustifiedSecStatus |
KeyEntry.validateKeyFor(Name signerName)
Validate if this key instance is valid for the specified name.
|
Modifier and Type | Method and Description |
---|---|
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validateAnswerAndGetWildcards(SMessage response,
int qtype,
java.util.Map<Name,Name> wcs) |
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validateAnswerAndGetWildcards(SMessage response,
int qtype,
java.util.Map<Name,Name> wcs) |
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validateAnswerAndGetWildcardsRecursive(SMessage response,
int qtype,
java.util.Map<Name,Name> wcs,
java.util.concurrent.atomic.AtomicInteger setIndex) |
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validateAnswerAndGetWildcardsRecursive(SMessage response,
int qtype,
java.util.Map<Name,Name> wcs,
java.util.concurrent.atomic.AtomicInteger setIndex) |
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validatePositiveResponseRecursive(SMessage response,
java.util.Map<Name,Name> wcs,
java.util.List<SRRset> nsec3s,
java.util.List<SRRset> nsecs,
int[] sections,
java.util.concurrent.atomic.AtomicInteger sectionIndex,
java.util.concurrent.atomic.AtomicInteger setIndex) |
private java.util.concurrent.CompletionStage<java.lang.Boolean> |
ValidatingResolver.validatePositiveResponseRecursive(SMessage response,
java.util.Map<Name,Name> wcs,
java.util.List<SRRset> nsec3s,
java.util.List<SRRset> nsecs,
int[] sections,
java.util.concurrent.atomic.AtomicInteger sectionIndex,
java.util.concurrent.atomic.AtomicInteger setIndex) |
Constructor and Description |
---|
CEResponse(Name ce,
NSEC3Record nsec3) |
KeyEntry(Name name,
int dclass,
long ttl,
boolean isBad) |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Iterable<? extends Name> |
HostsFileParser.LineData.names |
Modifier and Type | Method and Description |
---|---|
private Name |
HostsFileParser.safeName(java.lang.String name,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.net.InetAddress> |
HostsFileParser.getAddressForHost(Name name,
int type)
Performs on-demand parsing and caching of the local hosts database.
|
private java.lang.String |
HostsFileParser.key(Name name,
int type) |
private void |
HostsFileParser.searchHostsFileForEntry(Name name,
int type) |
Modifier and Type | Field and Description |
---|---|
private Name |
LookupFailedException.name |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Name> |
LookupResult.aliases
In the case of CNAME or DNAME indirection, this property contains the original name as well as
any intermediate redirect targets except the last one.
|
private java.util.List<Name> |
LookupSession.searchPath |
private java.util.List<Name> |
LookupSession.LookupSessionBuilder.searchPath |
Modifier and Type | Method and Description |
---|---|
Name |
LookupFailedException.getName()
Gets the Name being looked up when this failure occurred.
|
private static Name |
LookupSession.safeConcat(Name name,
Name suffix) |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<Name> |
LookupSession.expandName(Name name)
Generate a stream of names according to the search path application semantics.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<Name> |
LookupSession.expandName(Name name)
Generate a stream of names according to the search path application semantics.
|
java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupAsync(Name name,
int type)
Make an asynchronous lookup of the provided name using the default
DClass.IN . |
java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupAsync(Name name,
int type,
int dclass)
Make an asynchronous lookup of the provided name.
|
private static Name |
LookupSession.safeConcat(Name name,
Name suffix) |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.searchPath(Name searchPath)
Configures the search path used to look up relative names with less than ndots dots.
|
Modifier and Type | Method and Description |
---|---|
private static LookupResult |
LookupSession.buildResult(Message answer,
java.util.List<Name> aliases,
Record query)
Returns a LookupResult if this response was a non-exceptional empty result, else null.
|
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupUntilSuccess(java.util.Iterator<Name> names,
int type,
int dclass) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupWithCache(Record queryRecord,
java.util.List<Name> aliases) |
private LookupResult |
LookupSession.lookupWithHosts(java.util.List<Name> names,
int type) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupWithResolver(Record queryRecord,
java.util.List<Name> aliases) |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.searchPath(java.util.Collection<? extends Name> searchPath)
Configures the search path used to look up relative names with less than ndots dots.
|
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.setResponseToMessageFuture(SetResponse setResponse,
Record queryRecord,
java.util.List<Name> aliases) |
Constructor and Description |
---|
LookupFailedException(Name name,
int type)
Construct a LookupFailedException that also specifies the name and type of the lookup that
failed.
|
NoSuchDomainException(Name name,
int type) |
NoSuchRRSetException(Name name,
int type) |
Constructor and Description |
---|
LookupResult(java.util.List<Record> records,
java.util.List<Name> aliases)
Deprecated.
This class is not intended for public instantiation.
|
LookupResult(LookupResult previous,
Record query,
Message answer,
boolean isAuthenticated,
java.util.List<Record> records,
java.util.List<Name> aliases) |
LookupSession(@NonNull Resolver resolver,
int maxRedirects,
int ndots,
java.util.List<Name> searchPath,
boolean cycleResults,
java.util.List<Cache> caches,
HostsFileParser hostsFileParser,
java.util.concurrent.Executor executor,
IrrelevantRecordMode irrelevantRecordMode) |
Modifier and Type | Field and Description |
---|---|
private Name |
DNSJavaNameService.localhostName |
Modifier and Type | Field and Description |
---|---|
(package private) static Name |
dig.name |
(package private) Name |
update.zone |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<Name,TSIG> |
jnamed.TSIGs |
(package private) java.util.Map<Name,Zone> |
jnamed.znames |
Modifier and Type | Method and Description |
---|---|
(package private) byte |
jnamed.addAnswer(Message response,
Name name,
int type,
int dclass,
int iterations,
int flags) |
private void |
jnamed.addCacheNS(Message response,
Cache cache,
Name name) |
private void |
jnamed.addGlue(Message response,
Name name,
int flags) |
(package private) void |
jnamed.addRRset(Name name,
Message response,
RRset rrset,
int section,
int flags) |
(package private) byte[] |
jnamed.doAXFR(Name name,
Message query,
TSIG tsig,
TSIGRecord qtsig,
java.net.Socket s) |
Zone |
jnamed.findBestZone(Name name) |
RRset |
jnamed.findExactMatch(Name name,
int type,
int dclass,
boolean glue) |