Package | Description |
---|---|
org.xbill.DNS | |
org.xbill.DNS.dnssec | |
org.xbill.DNS.lookup | |
org.xbill.DNS.tools |
Modifier and Type | Class and Description |
---|---|
class |
A6Record
A6 Record - maps a domain name to an IPv6 address (historic)
|
class |
AAAARecord
IPv6 Address Record - maps a domain name to an IPv6 address
|
class |
AFSDBRecord
AFS Data Base Record - maps a domain name to the name of an AFS cell database server.
|
class |
APLRecord
APL - Address Prefix List.
|
class |
ARecord
Address Record - maps a domain name to an Internet address
|
class |
CAARecord
Certification Authority Authorization
|
class |
CDNSKEYRecord
Child DNSKEY record as specified in RFC 8078.
|
class |
CDSRecord
Child Delegation Signer record as specified in RFC 8078.
|
class |
CERTRecord
Certificate Record - Stores a certificate associated with a name.
|
class |
CNAMERecord
CNAME Record - maps an alias to its real name
|
class |
DHCIDRecord
DHCID - Dynamic Host Configuration Protocol (DHCP) ID (RFC 4701)
|
class |
DLVRecord
DLV - contains a Delegation Lookaside Validation record, which acts as the equivalent of a DS
record in a lookaside zone.
|
class |
DNAMERecord
DNAME Record - maps a nonterminal alias (subtree) to a different domain
|
class |
DNSKEYRecord
Key - contains a cryptographic public key for use by DNS.
|
class |
DSRecord
DS - contains a Delegation Signer record, which acts as a placeholder for KEY records in the
parent zone.
|
(package private) class |
EmptyRecord
A class implementing Records with no data; that is, records used in the question section of
messages and meta-records in dynamic update.
|
class |
GPOSRecord
Geographical Location - describes the physical location of a host.
|
class |
HINFORecord
Host Information - describes the CPU and OS of a host
|
class |
HIPRecord
Host Identity Protocol (HIP) Record as defined in RFC 8005.
|
class |
HTTPSRecord
HTTPS Service Location and Parameter Binding Record
|
class |
IPSECKEYRecord
IPsec Keying Material (RFC 4025)
|
class |
ISDNRecord
ISDN - identifies the ISDN number and subaddress associated with a name.
|
(package private) class |
KEYBase
The base class for KEY/DNSKEY records, which have identical formats
|
class |
KEYRecord
Key - contains a cryptographic public key.
|
class |
KXRecord
Key Exchange - delegation of authority
|
class |
LOCRecord
Location - describes the physical location of hosts, networks, subnets.
|
class |
MBRecord
Mailbox Record - specifies a host containing a mailbox.
|
class |
MDRecord
Mail Destination Record - specifies a mail agent which delivers mail for a domain (obsolete)
|
class |
MFRecord
Mail Forwarder Record - specifies a mail agent which forwards mail for a domain (obsolete)
|
class |
MGRecord
Mail Group Record - specifies a mailbox which is a member of a mail group.
|
class |
MINFORecord
Mailbox information Record - lists the address responsible for a mailing list/mailbox and the
address to receive error messages relating to the mailing list/mailbox.
|
class |
MRRecord
Mailbox Rename Record - specifies a rename of a mailbox.
|
class |
MXRecord
Mail Exchange - specifies where mail to a domain is sent
|
class |
NAPTRRecord
Name Authority Pointer Record - specifies rewrite rule, that when applied to an existing string
will produce a new domain.
|
class |
NSAP_PTRRecord
NSAP Pointer Record - maps a domain name representing an NSAP Address to a hostname.
|
class |
NSAPRecord
NSAP Address Record.
|
class |
NSEC3PARAMRecord
Next SECure name 3 Parameters - this record contains the parameters (hash algorithm, salt,
iterations) used for a valid, complete NSEC3 chain present in a zone.
|
class |
NSEC3Record
Next SECure name 3 - this record contains the next hashed name in an ordered list of hashed names
in the zone, and a set of types for which records exist for this name.
|
class |
NSECRecord
Next SECure name - this record contains the following name in an ordered list of names in the
zone, and a set of types for which records exist for this name.
|
class |
NSRecord
Name Server Record - contains the name server serving the named zone
|
class |
NULLRecord
The NULL Record.
|
class |
NXTRecord
Next name - this record contains the following name in an ordered list of names in the zone, and
a set of types for which records exist for this name.
|
class |
OPENPGPKEYRecord
OPENPGPKEY Record - Stores an OpenPGP certificate associated with a name.
|
class |
OPTRecord
Options - describes Extended DNS (EDNS) properties of a Message.
|
class |
PTRRecord
Pointer Record - maps a domain name representing an Internet Address to a hostname.
|
class |
PXRecord
X.400 mail mapping record.
|
class |
RPRecord
Responsible Person Record - lists the mail address of a responsible person and a domain where TXT
records are available.
|
class |
RRSIGRecord
Resource Record Signature - An RRSIG provides the digital signature of an RRset, so that the data
can be authenticated by a DNSSEC-capable resolver.
|
class |
RTRecord
Route Through Record - lists a route preference and intermediate host.
|
(package private) class |
SIGBase
The base class for SIG/RRSIG records, which have identical formats
|
class |
SIGRecord
Signature - A SIG provides the digital signature of an RRset, so that the data can be
authenticated by a DNSSEC-capable resolver.
|
(package private) class |
SingleCompressedNameBase
Implements common functionality for the many record types whose format is a single compressed
name.
|
(package private) class |
SingleNameBase
Implements common functionality for the many record types whose format is a single name.
|
class |
SMIMEARecord
S/MIME cert association
|
class |
SOARecord
Start of Authority - describes properties of a zone.
|
class |
SPFRecord
Sender Policy Framework (discontinued in RFC 7208)
|
class |
SRVRecord
Server Selection Record - finds hosts running services in a domain.
|
class |
SSHFPRecord
SSH Fingerprint - stores the fingerprint of an SSH host key.
|
class |
SVCBBase
Implements common functionality for SVCB and HTTPS records
|
class |
SVCBRecord
Service Location and Parameter Binding Record
|
class |
TKEYRecord
Transaction Key - used to compute and/or securely transport a shared secret to be used with TSIG.
|
class |
TLSARecord
Transport Layer Security Authentication
|
class |
TSIGRecord
Transaction Signature - this record is automatically generated by the resolver.
|
(package private) class |
TXTBase
Implements common functionality for the many record types whose format is a list of strings.
|
class |
TXTRecord
Text - stores text strings
|
(package private) class |
U16NameBase
Implements common functionality for the many record types whose format is an unsigned 16 bit
integer followed by a name.
|
class |
UNKRecord
A class implementing Records of unknown and/or unimplemented types.
|
class |
URIRecord
Uniform Resource Identifier (URI) DNS Resource Record
|
class |
WKSRecord
Well Known Services - Lists services offered by this host.
|
class |
X25Record
X25 - identifies the PSDN (Public Switched Data Network) address in the X.121 numbering plan
associated with a name.
|
Modifier and Type | Field and Description |
---|---|
private Record[] |
Lookup.answers |
private static Record[] |
Message.emptyRecordArray |
private Record |
ZoneTransferIn.initialsoa |
private Record |
Master.last |
Modifier and Type | Field and Description |
---|---|
java.util.List<Record> |
ZoneTransferIn.Delta.adds
A list of records added between the start and end versions
|
private java.util.List<Record> |
ZoneTransferIn.BasicHandler.axfr |
java.util.List<Record> |
ZoneTransferIn.Delta.deletes
A list of records deleted between the start and end versions
|
private java.util.HashMap<java.lang.Integer,java.util.function.Supplier<Record>> |
Type.TypeMnemonic.factories |
private java.util.ArrayList<Record> |
RRset.rrs |
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.
|
<T extends Record> |
Zone.addRecord(T r)
Adds a Record to the Zone
|
private <X extends Record> |
RRset.addRR(X r,
java.util.List<X> rs) |
<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) |
private <X extends Record> |
RRset.adjustTtl(long ttl,
java.util.List<X> rs) |
<T extends Record> |
Update.delete(RRset rrset)
Indicates that all of the records in the rrset should be deleted from the zone.
|
<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.
|
Modifier and Type | Method and Description |
---|---|
private Record |
Master._nextRecord()
Returns the next record in the master file.
|
(package private) Record |
Record.cloneRecord() |
Record[] |
Generator.expand()
Constructs and returns all records in the expansion.
|
Record |
RRset.first()
Returns the first record in this RRset, either an RR or a signature.
|
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 Record |
Record.fromWire(byte[] b,
int section)
Builds a Record from DNS uncompressed wire format.
|
(package private) static Record |
Record.fromWire(DNSInput in,
int section) |
(package private) static Record |
Record.fromWire(DNSInput in,
int section,
boolean isUpdate) |
Record[] |
Lookup.getAnswers()
Returns the answers from the lookup.
|
private static Record |
Record.getEmptyRecord(Name name,
int type,
int dclass,
long ttl,
boolean hasData) |
Record |
Message.getQuestion()
Returns the first record in the QUESTION section.
|
Record[] |
Message.getSectionArray(int section)
Deprecated.
|
private static Record[] |
Address.lookupHostName(java.lang.String name,
boolean all) |
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) |
private Record |
Master.nextGenerated() |
Record |
Master.nextRecord()
Returns the next record in the master file.
|
Record |
Generator.nextRecord()
Constructs and returns the next record in the expansion.
|
Record[] |
Lookup.run()
Performs the lookup, using the specified Cache, Resolver, and search path.
|
(package private) Record |
Record.withDClass(int dclass,
long ttl)
Creates a new record identical to the current record, but with a different class and ttl.
|
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 |
---|---|
java.util.List<Record> |
ZoneTransferIn.getAXFR()
Gets the AXFR-style response.
|
(package private) static java.util.function.Supplier<Record> |
Type.getFactory(int val) |
java.util.function.Supplier<Record> |
Type.TypeMnemonic.getFactory(int val) |
java.util.List<Record> |
Message.getSection(int section)
Returns all records in the given section, or an empty list if the section is empty.
|
java.util.List<Record> |
RRset.rrs()
Returns a list of all data records.
|
java.util.List<Record> |
RRset.rrs(boolean cycle)
Returns a list of all data records.
|
private java.util.List<Record> |
Message.rrsetListToRecords(java.util.List<RRset> rrsets) |
Modifier and Type | Method and Description |
---|---|
void |
Update.add(Record record)
Indicates that the record should be inserted into the zone.
|
void |
Update.add(Record[] records)
Indicates that the records should be inserted into the zone.
|
void |
Message.addRecord(Record r,
int section)
Adds a record to a section of the Message, and adjusts the header.
|
void |
Cache.addRecord(Record r,
int cred)
Adds a record to the Cache.
|
private void |
Cache.addRecord(Record r,
int cred,
boolean isAuthenticated) |
void |
Cache.addRecord(Record r,
int cred,
java.lang.Object o)
Deprecated.
|
private static java.net.InetAddress |
Address.addrFromRecord(java.lang.String name,
Record r) |
void |
RRset.addRR(Record r)
Adds a Record to this RRset.
|
private void |
RRset.checkSameRRset(Record r,
java.util.List<? extends Record> rs) |
int |
Record.compareTo(Record arg)
Compares this Record to another Object.
|
void |
Update.delete(Record record)
Indicates that the specified record should be deleted from the zone.
|
void |
Update.delete(Record[] records)
Indicates that the records should be deleted from the zone.
|
void |
RRset.deleteRR(Record r)
Deletes a record from this RRset
|
boolean |
Message.findRecord(Record r)
Determines if the given record is already present in any section.
|
boolean |
Message.findRecord(Record r,
int section)
Determines if the given record is already present in the given section.
|
private static long |
ZoneTransferIn.getSOASerial(Record rec) |
void |
ZoneTransferIn.ZoneTransferHandler.handleRecord(Record r)
Called for each content record in an AXFR.
|
void |
ZoneTransferIn.BasicHandler.handleRecord(Record r) |
private void |
Zone.maybeAddRecord(Record record) |
private void |
Update.newPrereq(Record rec) |
static Message |
Message.newQuery(Record r)
Creates a new Message with a random Message ID suitable for sending as a query.
|
private void |
Update.newUpdate(Record rec) |
private void |
ZoneTransferIn.parseRR(Record rec) |
void |
Update.present(Record record)
Inserts a prerequisite that the specified record exists.
|
void |
Zone.removeRecord(Record r)
Removes a record from the Zone
|
boolean |
Message.removeRecord(Record r,
int section)
Removes a record from a section of the Message, and adjusts the header.
|
void |
Update.replace(Record record)
Indicates that the record should be inserted into the zone replacing any other records with the
same name and type.
|
void |
Update.replace(Record[] records)
Indicates that the records should be inserted into the zone replacing any other records with
the same name and type as each one.
|
boolean |
Record.sameRRset(Record rec)
Determines if two Records could be part of the same RRset.
|
void |
ZoneTransferIn.ZoneTransferHandler.startIXFRAdds(Record soa)
Called when a series of IXFR adds begins.
|
void |
ZoneTransferIn.BasicHandler.startIXFRAdds(Record soa) |
void |
ZoneTransferIn.ZoneTransferHandler.startIXFRDeletes(Record soa)
Called when a series of IXFR deletions begins.
|
void |
ZoneTransferIn.BasicHandler.startIXFRDeletes(Record soa) |
(package private) static java.security.PublicKey |
DNSSEC.toPublicKey(int alg,
byte[] key,
Record r)
Converts a KEY/DNSKEY record into a PublicKey
|
Modifier and Type | Method and Description |
---|---|
void |
Type.TypeMnemonic.add(int val,
java.lang.String str,
java.util.function.Supplier<Record> factory) |
private void |
RRset.appendRrList(java.util.Iterator<? extends Record> it,
java.lang.StringBuilder sb) |
private void |
RRset.checkSameRRset(Record r,
java.util.List<? extends Record> rs) |
static void |
Type.register(int val,
java.lang.String str,
java.util.function.Supplier<Record> factory)
Registers a new record type along with the respective factory.
|
void |
Type.TypeMnemonic.replace(int val,
java.lang.String str,
java.util.function.Supplier<Record> factory) |
Constructor and Description |
---|
CacheRRset(Record rec,
int cred,
long maxttl,
boolean isAuthenticated) |
MalformedKeyException(Record rec,
java.lang.Throwable cause) |
RecordSerializationProxy(Record r) |
RRset(Record... records)
Creates an RRset and sets its contents to the specified record(s)
|
RRset(Record record)
Creates an RRset and sets its contents to the specified record
|
Zone(Name zone,
Record[] records)
Creates a Zone from an array of records.
|
Modifier and Type | Field and Description |
---|---|
private Record |
SMessage.question |
Modifier and Type | Method and Description |
---|---|
Record |
SMessage.getQuestion()
Gets the question section of this message.
|
Constructor and Description |
---|
SMessage(int id,
Record question)
Creates a new instance of this class.
|
SRRset(Record r)
Create a new SRRset with one record.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Record,Message> |
LookupResult.queryResponsePairs
The queries and responses that made up the result.
|
private java.util.List<Record> |
LookupResult.records
An unmodifiable list of records that this instance wraps, may not be null but can be empty
|
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.
|
java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupAsync(Record question)
Make an asynchronous lookup with the provided
Record . |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupWithCache(Record queryRecord,
java.util.List<Name> aliases) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.lookupWithResolver(Record queryRecord,
java.util.List<Name> aliases) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.maybeFollowRedirect(LookupResult response,
Record query,
int redirectCount) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.maybeFollowRedirectsInAnswer(LookupResult response,
Record query,
int redirectCount) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.resolveRedirects(LookupResult response,
Record query) |
private java.util.concurrent.CompletionStage<LookupResult> |
LookupSession.setResponseToMessageFuture(SetResponse setResponse,
Record queryRecord,
java.util.List<Name> aliases) |
Constructor and Description |
---|
LookupResult(LookupResult previous,
Record query,
Message answer,
boolean isAuthenticated,
java.util.List<Record> records,
java.util.List<Name> aliases) |
LookupResult(Record query,
boolean isAuthenticated,
Record record) |
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) |
Modifier and Type | Method and Description |
---|---|
(package private) Record |
update.parseRR(Tokenizer st,
int classValue,
long TTLValue) |
Modifier and Type | Method and Description |
---|---|
(package private) byte[] |
jnamed.buildErrorMessage(Header header,
int rcode,
Record question) |