Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

A - Class in de.measite.minidns.record
A record payload (ip pointer).
A() - Constructor for class de.measite.minidns.record.A
 
AAAA - Class in de.measite.minidns.record
AAAA payload (an ipv6 pointer).
AAAA() - Constructor for class de.measite.minidns.record.AAAA
 
additionalResourceRecords - Variable in class de.measite.minidns.DNSMessage
Additional resousrce records.
answers - Variable in class de.measite.minidns.DNSMessage
The answers section content.
authenticData - Variable in class de.measite.minidns.DNSMessage
True if the server regarded the response as authentic.
authoritativeAnswer - Variable in class de.measite.minidns.DNSMessage
True if this is a authorative response.

B

backend - Variable in class de.measite.minidns.LRUCache
The backend cache.
blob - Variable in class de.measite.minidns.record.TXT
 
bufferSize - Variable in class de.measite.minidns.Client
The buffer size for dns replies.

C

cache - Variable in class de.measite.minidns.Client
The internal DNS cache.
capacity - Variable in class de.measite.minidns.LRUCache
The internal capacity of the backend cache.
checkDisabled - Variable in class de.measite.minidns.DNSMessage
True if the server should not check the replies.
clazz - Variable in class de.measite.minidns.Record
The record class (usually CLASS.IN).
clear() - Method in class de.measite.minidns.LRUCache
Clear all entries in this cache.
Client - Class in de.measite.minidns
A minimal DNS client for SRV/A/AAAA/NS and CNAME lookups, with IDN support.
Client(DNSCache) - Constructor for class de.measite.minidns.Client
Create a new DNS client with the given DNS cache.
Client(Map<Question, DNSMessage>) - Constructor for class de.measite.minidns.Client
 
Client() - Constructor for class de.measite.minidns.Client
Create a new DNS client without any caching.
CNAME - Class in de.measite.minidns.record
CNAME payload (pointer to another domain / address).
CNAME() - Constructor for class de.measite.minidns.record.CNAME
 

D

Data - Interface in de.measite.minidns.record
Generic payload class.
de.measite.minidns - package de.measite.minidns
 
de.measite.minidns.record - package de.measite.minidns.record
 
de.measite.minidns.util - package de.measite.minidns.util
 
DNSCache - Interface in de.measite.minidns
Cache for DNS Entries.
DNSMessage - Class in de.measite.minidns
A DNS message as defined by rfc1035.
DNSMessage() - Constructor for class de.measite.minidns.DNSMessage
 
DNSMessage.OPCODE - Enum in de.measite.minidns
Symbolic DNS Opcode values.
DNSMessage.RESPONSE_CODE - Enum in de.measite.minidns
Possible DNS reply codes.

E

equals(Object) - Method in class de.measite.minidns.Question
 
expireCount - Variable in class de.measite.minidns.LRUCache
Internal expire count (subset of misses that was caused by expire).

F

findDNS() - Method in class de.measite.minidns.Client
Retrieve a list of currently configured DNS servers.
findDNSByExec() - Method in class de.measite.minidns.Client
Try to retrieve the list of dns server by executing getprop.
findDNSByReflection() - Method in class de.measite.minidns.Client
Try to retrieve the list of dns server by calling SystemProperties.

G

get(Question) - Method in interface de.measite.minidns.DNSCache
Request a cached dns response.
get(Question) - Method in class de.measite.minidns.LRUCache
 
getAdditionalResourceRecords() - Method in class de.measite.minidns.DNSMessage
Retrieve the additional resource records attached to this DNS message.
getAnswers() - Method in class de.measite.minidns.DNSMessage
Retrieve the answer records of this DNS message.
getBlob() - Method in class de.measite.minidns.record.TXT
 
getClass(int) - Static method in enum de.measite.minidns.Record.CLASS
Retrieve the symbolic DNS class for a binary class value.
getClazz() - Method in class de.measite.minidns.Question
Retrieve the class of this dns question (usually internet).
getExpireCount() - Method in class de.measite.minidns.LRUCache
The number of expires (cache hits that have had a ttl to low to be retrieved).
getExtents() - Method in class de.measite.minidns.record.TXT
 
getHitCount() - Method in class de.measite.minidns.LRUCache
The cache hit count (all sucessful calls to get).
getId() - Method in class de.measite.minidns.DNSMessage
Retrieve the current DNS message id.
getMissCount() - Method in class de.measite.minidns.LRUCache
Get the miss count of this cache which is the number of fruitless get calls since this cache was last resetted.
getName() - Method in class de.measite.minidns.Question
Retrieve the name of this dns question (e.g.
getName() - Method in class de.measite.minidns.record.CNAME
 
getName() - Method in class de.measite.minidns.Record
The generic record name, e.g.
getName() - Method in class de.measite.minidns.record.MX
The name of the target server.
getName() - Method in class de.measite.minidns.record.SRV
The name of the target server.
getNameserverRecords() - Method in class de.measite.minidns.DNSMessage
Retrieve the nameserver records of this DNS message.
getOpcode() - Method in class de.measite.minidns.DNSMessage
Retrieve the opcode of this message.
getOpcode(int) - Static method in enum de.measite.minidns.DNSMessage.OPCODE
Retrieve the symbolic name of an opcode byte.
getPayload() - Method in class de.measite.minidns.Record
The payload data, usually a subclass of data (A, AAAA, CNAME, ...).
getPort() - Method in class de.measite.minidns.record.SRV
The target port of this service.
getPriority() - Method in class de.measite.minidns.record.MX
The priority of this service.
getPriority() - Method in class de.measite.minidns.record.SRV
The priority of this service.
getQuestions() - Method in class de.measite.minidns.DNSMessage
Retrieve the question section of this message.
getReceiveTimestamp() - Method in class de.measite.minidns.DNSMessage
Get the receive timestamp if this message was created via parse.
getResponseCode() - Method in class de.measite.minidns.DNSMessage
Retrieve the response code of this message.
getResponseCode(int) - Static method in enum de.measite.minidns.DNSMessage.RESPONSE_CODE
Retrieve the response code for a byte value.
getText() - Method in class de.measite.minidns.record.TXT
 
getTimeout() - Method in class de.measite.minidns.Client
Retrieve the current dns query timeout, in milliseconds.
getTtl() - Method in class de.measite.minidns.Record
Retrieve the record ttl.
getType() - Method in class de.measite.minidns.Question
Retrieve the type of this question.
getType() - Method in class de.measite.minidns.record.A
 
getType() - Method in class de.measite.minidns.record.AAAA
 
getType() - Method in class de.measite.minidns.record.CNAME
 
getType() - Method in interface de.measite.minidns.record.Data
The payload type.
getType() - Method in class de.measite.minidns.record.MX
 
getType() - Method in class de.measite.minidns.record.NS
 
getType() - Method in class de.measite.minidns.record.PTR
 
getType() - Method in class de.measite.minidns.record.SRV
 
getType() - Method in class de.measite.minidns.record.TXT
 
getType(int) - Static method in enum de.measite.minidns.Record.TYPE
Retrieve the symbolic type of the binary value.
getValue() - Method in enum de.measite.minidns.DNSMessage.OPCODE
Retrieve the byte value of this opcode.
getValue() - Method in enum de.measite.minidns.DNSMessage.RESPONSE_CODE
Retrieve the byte value of the response code.
getValue() - Method in enum de.measite.minidns.Record.CLASS
Retrieve the binary value of this DNS class.
getValue() - Method in enum de.measite.minidns.Record.TYPE
Retrieve the binary value of this type.
getWeight() - Method in class de.measite.minidns.record.SRV
The weight of this service.

H

hashCode() - Method in class de.measite.minidns.Question
 
hitCount - Variable in class de.measite.minidns.LRUCache
Internal hit count.

I

id - Variable in class de.measite.minidns.DNSMessage
The DNS message id.
idnEquals(String, String) - Static method in class de.measite.minidns.util.NameUtil
Check if two internationalized domain names are equal, possibly causing a serialization of both domain names.
isAnswer(Question) - Method in class de.measite.minidns.Record
Check if this record answers a given query.
isAuthenticData() - Method in class de.measite.minidns.DNSMessage
Retrieve the authentic data flag of this message.
isAuthoritativeAnswer() - Method in class de.measite.minidns.DNSMessage
True if the DNS message is an authoritative answer.
isCheckDisabled() - Method in class de.measite.minidns.DNSMessage
Check if checks are disabled.
isQuery() - Method in class de.measite.minidns.DNSMessage
Retrieve the query type (true or false;
isRecursionAvailable() - Method in class de.measite.minidns.DNSMessage
Retrieve the recursion available flag of this DNS message.
isRecursionDesired() - Method in class de.measite.minidns.DNSMessage
Check if this message preferes recursion.
isTruncated() - Method in class de.measite.minidns.DNSMessage
Retrieve the truncation status of this message.
isUnicastQuery() - Method in class de.measite.minidns.Record
See if this query/response was a unicast query (highest class bit set).

L

LRUCache - Class in de.measite.minidns
LRU based DNSCache backed by a LinkedHashMap.
LRUCache(int, long) - Constructor for class de.measite.minidns.LRUCache
Create a new LRUCache with given capacity and upper bound ttl.
LRUCache(int) - Constructor for class de.measite.minidns.LRUCache
Create a new LRUCache with given capacity.

M

maxTTL - Variable in class de.measite.minidns.LRUCache
The upper bound of the ttl.
missCount - Variable in class de.measite.minidns.LRUCache
Internal miss count.
MX - Class in de.measite.minidns.record
MX record payload (mail service pointer).
MX() - Constructor for class de.measite.minidns.record.MX
 

N

name - Variable in class de.measite.minidns.record.CNAME
 
name - Variable in class de.measite.minidns.record.MX
The target server.
name - Variable in class de.measite.minidns.Record
The generic name of this record.
name - Variable in class de.measite.minidns.record.SRV
The target server.
nameserverRecords - Variable in class de.measite.minidns.DNSMessage
The nameserver records.
NameUtil - Class in de.measite.minidns.util
Utilities related to internationalized domain names and dns name handling.
NameUtil() - Constructor for class de.measite.minidns.util.NameUtil
 
NS - Class in de.measite.minidns.record
Nameserver record.
NS() - Constructor for class de.measite.minidns.record.NS
 

O

opcode - Variable in class de.measite.minidns.DNSMessage
The DNS message opcode.

P

parse(byte[]) - Static method in class de.measite.minidns.DNSMessage
Build a DNS Message based on a binary DNS message.
parse(DataInputStream, byte[]) - Static method in class de.measite.minidns.Question
Parse a byte array and rebuild the dns question from it.
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.A
 
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.AAAA
 
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.CNAME
 
parse(DataInputStream, byte[], int) - Method in interface de.measite.minidns.record.Data
Parse this payload.
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.MX
 
parse(DataInputStream, byte[]) - Method in class de.measite.minidns.Record
Parse a given record based on the full message data and the current stream position.
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.SRV
 
parse(DataInputStream, byte[], int) - Method in class de.measite.minidns.record.TXT
 
parse(DataInputStream, byte[]) - Static method in class de.measite.minidns.util.NameUtil
Parse a domain name starting at the current offset and moving the input stream pointer past this domain name (even if cross references occure).
parse(byte[], int, HashSet<Integer>) - Static method in class de.measite.minidns.util.NameUtil
Parse a domain name starting at the given offset.
payloadData - Variable in class de.measite.minidns.Record
The payload object of this record.
port - Variable in class de.measite.minidns.record.SRV
The target port.
priority - Variable in class de.measite.minidns.record.MX
The priority of this service.
priority - Variable in class de.measite.minidns.record.SRV
The priority of this service.
PTR - Class in de.measite.minidns.record
A PTR record is handled like a CNAME
PTR() - Constructor for class de.measite.minidns.record.PTR
 
put(Question, DNSMessage) - Method in interface de.measite.minidns.DNSCache
Add an an dns answer/response for a given dns question.
put(Question, DNSMessage) - Method in class de.measite.minidns.LRUCache
 

Q

query(String, Record.TYPE, Record.CLASS, String, int) - Method in class de.measite.minidns.Client
Query a nameserver for a single entry.
query(String, Record.TYPE, Record.CLASS, String) - Method in class de.measite.minidns.Client
Query a nameserver for a single entry.
query(String, Record.TYPE, Record.CLASS) - Method in class de.measite.minidns.Client
Query the system nameservers for a single entry of any class.
query(String, Record.TYPE) - Method in class de.measite.minidns.Client
Query the system nameservers for a single entry of the class IN (which is used for MX, SRV, A, AAAA and most other RRs).
query(Question, String) - Method in class de.measite.minidns.Client
Query a specific server for one entry.
query(Question, String, int) - Method in class de.measite.minidns.Client
Query a specific server for one entry.
query(Question) - Method in class de.measite.minidns.Client
Query the system DNS server for one entry.
query - Variable in class de.measite.minidns.DNSMessage
True if this is a query.
Question - Class in de.measite.minidns
A DNS question (request).
Question(String, Record.TYPE, Record.CLASS, boolean) - Constructor for class de.measite.minidns.Question
Create a dns question for the given name/type/class.
Question(String, Record.TYPE, Record.CLASS) - Constructor for class de.measite.minidns.Question
Create a dns question for the given name/type/class.
Question(String, Record.TYPE) - Constructor for class de.measite.minidns.Question
Create a dns question for the given name/type/IN (internet class).
questions - Variable in class de.measite.minidns.DNSMessage
The question section content.

R

random - Variable in class de.measite.minidns.Client
The internal random class for sequence generation.
receiveTimestamp - Variable in class de.measite.minidns.DNSMessage
The receive timestamp of this message.
Record - Class in de.measite.minidns
A generic DNS record.
Record() - Constructor for class de.measite.minidns.Record
 
Record.CLASS - Enum in de.measite.minidns
The symbolic class of a DNS record (usually IN for Internet).
Record.TYPE - Enum in de.measite.minidns
The record type.
recursionAvailable - Variable in class de.measite.minidns.DNSMessage
True if recursion is possible.
recursionDesired - Variable in class de.measite.minidns.DNSMessage
True if the server should recurse.
responseCode - Variable in class de.measite.minidns.DNSMessage
The response code of this dns message.

S

setAuthenticData(boolean) - Method in class de.measite.minidns.DNSMessage
Set the authentic data flag on this DNS message.
setAuthoritativeAnswer(boolean) - Method in class de.measite.minidns.DNSMessage
Set the authoritative answer flag.
setBlob(byte[]) - Method in class de.measite.minidns.record.TXT
 
setCheckDisabled(boolean) - Method in class de.measite.minidns.DNSMessage
Change the check status of this packet.
setId(int) - Method in class de.measite.minidns.DNSMessage
Set the current DNS message id.
setName(String) - Method in class de.measite.minidns.record.CNAME
 
setName(String) - Method in class de.measite.minidns.record.MX
Set the name of the target server.
setName(String) - Method in class de.measite.minidns.record.SRV
Set the name of the target server.
setPort(int) - Method in class de.measite.minidns.record.SRV
Set the target port of this service.
setPriority(int) - Method in class de.measite.minidns.record.MX
Set the priority of this service entry.
setPriority(int) - Method in class de.measite.minidns.record.SRV
Set the priority of this service entry.
setQuery(boolean) - Method in class de.measite.minidns.DNSMessage
Set the query status of this message.
setQuestions(Question...) - Method in class de.measite.minidns.DNSMessage
Set the question part of this message.
setRecursionAvailable(boolean) - Method in class de.measite.minidns.DNSMessage
Set the recursion available flog from this DNS message.
setRecursionDesired(boolean) - Method in class de.measite.minidns.DNSMessage
Set the recursion desired flag on this message.
setText(String) - Method in class de.measite.minidns.record.TXT
 
setTimeout(int) - Method in class de.measite.minidns.Client
Change the dns query timeout for all future queries.
setTruncated(boolean) - Method in class de.measite.minidns.DNSMessage
Set the truncation bit on this DNS message.
setWeight(int) - Method in class de.measite.minidns.record.SRV
Set the weight of this service.
size(String) - Static method in class de.measite.minidns.util.NameUtil
Retrieve the rough binary length of a string (length + 2 bytes length prefix).
SRV - Class in de.measite.minidns.record
SRV record payload (service pointer).
SRV() - Constructor for class de.measite.minidns.record.SRV
 

T

timeout - Variable in class de.measite.minidns.Client
DNS timeout.
toArray() - Method in class de.measite.minidns.DNSMessage
Generate a binary dns packet out of this message.
toByteArray() - Method in class de.measite.minidns.Question
Generate a binary paket for this dns question.
toByteArray() - Method in class de.measite.minidns.record.A
 
toByteArray() - Method in class de.measite.minidns.record.AAAA
 
toByteArray() - Method in class de.measite.minidns.record.CNAME
 
toByteArray() - Method in interface de.measite.minidns.record.Data
Binary representation of this payload.
toByteArray() - Method in class de.measite.minidns.record.MX
 
toByteArray() - Method in class de.measite.minidns.record.SRV
 
toByteArray() - Method in class de.measite.minidns.record.TXT
 
toByteArray(String) - Static method in class de.measite.minidns.util.NameUtil
Serialize a domain name under IDN rules.
toString() - Method in class de.measite.minidns.DNSMessage
 
toString() - Method in class de.measite.minidns.Question
 
toString() - Method in class de.measite.minidns.record.A
 
toString() - Method in class de.measite.minidns.record.AAAA
 
toString() - Method in class de.measite.minidns.record.CNAME
 
toString() - Method in class de.measite.minidns.record.MX
 
toString() - Method in class de.measite.minidns.record.SRV
 
toString() - Method in class de.measite.minidns.Record
Retrieve a textual representation of this resource record.
toString() - Method in class de.measite.minidns.record.TXT
 
truncated - Variable in class de.measite.minidns.DNSMessage
True on truncate, tcp should be used.
ttl - Variable in class de.measite.minidns.Record
The ttl of this record.
TXT - Class in de.measite.minidns.record
TXT record (actually a binary blob containing extents, each of which is a one-byte count followed by that many bytes of data, which can usually be interpreted as ASCII strings but not always
TXT() - Constructor for class de.measite.minidns.record.TXT
 
type - Variable in class de.measite.minidns.Record
The type (and payload type) of this record.

U

unicastQuery - Variable in class de.measite.minidns.Record
MDNS defines the highest bit of the class as the unicast query bit.

V

valueOf(String) - Static method in enum de.measite.minidns.DNSMessage.OPCODE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.measite.minidns.DNSMessage.RESPONSE_CODE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.measite.minidns.Record.CLASS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.measite.minidns.Record.TYPE
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.measite.minidns.DNSMessage.OPCODE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.measite.minidns.DNSMessage.RESPONSE_CODE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.measite.minidns.Record.CLASS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.measite.minidns.Record.TYPE
Returns an array containing the constants of this enum type, in the order they are declared.

W

weight - Variable in class de.measite.minidns.record.SRV
The weight of this service.
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2014–2016. All rights reserved.