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

A

AbstractDNSClient - Class in org.minidns
A minimal DNS client for SRV/A/AAAA/NS and CNAME lookups, with IDN support.
AbstractDNSClient(DNSCache) - Constructor for class org.minidns.AbstractDNSClient
Create a new DNS client with the given DNS cache.
AbstractDNSClient() - Constructor for class org.minidns.AbstractDNSClient
Create a new DNS client using the global default cache.
AbstractDNSClient.IpVersionSetting - Enum in org.minidns
 
AbstractDNSServerLookupMechanism - Class in org.minidns.dnsserverlookup
 
AbstractDNSServerLookupMechanism(String, int) - Constructor for class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
addBlacklistedDnsServer(String) - Static method in class org.minidns.DNSClient
 
addDnsServerLookupMechanism(DNSServerLookupMechanism) - Static method in class org.minidns.DNSClient
 
addIfPossible(Record<? extends Data>) - Method in class org.minidns.RRSet.Builder
 
addRecord(Record<? extends Data>) - Method in class org.minidns.RRSet.Builder
 
AndroidUsingExec - Class in org.minidns.dnsserverlookup
Try to retrieve the list of DNS server by executing getprop.
AndroidUsingReflection - Class in org.minidns.dnsserverlookup
Try to retrieve the list of DNS server by calling SystemProperties.
AndroidUsingReflection() - Constructor for class org.minidns.dnsserverlookup.AndroidUsingReflection
 
averageResponseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
averageTcpResponseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
averageUdpResponseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 

B

backend - Variable in class org.minidns.cache.LRUCache
The backend cache.
build() - Method in class org.minidns.RRSet.Builder
 
builder() - Static method in class org.minidns.RRSet
 

C

cache - Variable in class org.minidns.AbstractDNSClient
The internal DNS cache.
cacheResult(DNSMessage, DNSMessage) - Method in class org.minidns.source.DNSDataSource
 
cancel(boolean) - Method in class org.minidns.MiniDnsFuture
 
capacity - Variable in class org.minidns.cache.LRUCache
The internal capacity of the backend cache.
clazz - Variable in class org.minidns.RRSet
 
clear() - Method in class org.minidns.cache.LRUCache
Clear all entries in this cache.
compareTo(DNSServerLookupMechanism) - Method in class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
couldContain(Record<? extends Data>) - Method in class org.minidns.RRSet.Builder
 
createDatagramSocket() - Method in class org.minidns.source.NetworkDataSource
Create a DatagramSocket using the system defaults.
createSocket() - Method in class org.minidns.source.NetworkDataSource
Create a Socket using the system default SocketFactory.

D

dataSource - Variable in class org.minidns.AbstractDNSClient
 
DEFAULT_CACHE - Static variable in class org.minidns.AbstractDNSClient
 
DEFAULT_CACHE_SIZE - Static variable in class org.minidns.DNSCache
 
DEFAULT_IP_VERSION_SETTING - Static variable in class org.minidns.AbstractDNSClient
 
DNSCache - Class in org.minidns
Cache for DNS Entries.
DNSCache() - Constructor for class org.minidns.DNSCache
 
DNSClient - Class in org.minidns
A minimal DNS client for SRV/A/AAAA/NS and CNAME lookups, with IDN support.
DNSClient() - Constructor for class org.minidns.DNSClient
Create a new DNS client using the global default cache.
DNSClient(DNSCache) - Constructor for class org.minidns.DNSClient
 
DNSDataSource - Class in org.minidns.source
 
DNSDataSource() - Constructor for class org.minidns.source.DNSDataSource
 
DNSDataSource.OnResponseCallback - Interface in org.minidns.source
 
DNSDataSource.QueryMode - Enum in org.minidns.source
 
DNSServerLookupMechanism - Interface in org.minidns.dnsserverlookup
 

E

exception - Variable in class org.minidns.MiniDnsFuture
 
expireCount - Variable in class org.minidns.cache.LRUCache
Internal expire count (subset of misses that was caused by expire).
ExtendedLRUCache - Class in org.minidns.cache
A variant of LRUCache also using the data found in the sections for caching.
ExtendedLRUCache() - Constructor for class org.minidns.cache.ExtendedLRUCache
 
ExtendedLRUCache(int) - Constructor for class org.minidns.cache.ExtendedLRUCache
 
ExtendedLRUCache(int, long) - Constructor for class org.minidns.cache.ExtendedLRUCache
 

F

failedQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
failedTcpQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
failedUdpQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
findDNS() - Static method in class org.minidns.DNSClient
Retrieve a list of currently configured DNS servers IP addresses.
findDnsAddresses() - Static method in class org.minidns.DNSClient
Retrieve a list of currently configured DNS server addresses.
from(V) - Static method in class org.minidns.MiniDnsFuture
 
from(AbstractDNSClient) - Static method in class org.minidns.source.NetworkDataSourceWithAccounting
 
FullLRUCache - Class in org.minidns.cache
An insecure variant of LRUCache also using all the data found in the sections of an answer.
FullLRUCache() - Constructor for class org.minidns.cache.FullLRUCache
 
FullLRUCache(int) - Constructor for class org.minidns.cache.FullLRUCache
 
FullLRUCache(int, long) - Constructor for class org.minidns.cache.FullLRUCache
 

G

get(DNSMessage) - Method in class org.minidns.DNSCache
Request a cached dns response.
get() - Method in class org.minidns.MiniDnsFuture
 
get(long, TimeUnit) - Method in class org.minidns.MiniDnsFuture
 
getCache() - Method in class org.minidns.AbstractDNSClient
Get the cache used by this DNS client.
getCachedIPv4AddressesFor(DNSName) - Method in class org.minidns.AbstractDNSClient
 
getCachedIPv4NameserverAddressesFor(DNSName) - Method in class org.minidns.AbstractDNSClient
 
getCachedIPv6AddressesFor(DNSName) - Method in class org.minidns.AbstractDNSClient
 
getCachedIPv6NameserverAddressesFor(DNSName) - Method in class org.minidns.AbstractDNSClient
 
getCachedNameserverRecordsFor(DNSName) - Method in class org.minidns.AbstractDNSClient
 
getDataSource() - Method in class org.minidns.AbstractDNSClient
Returns the currently used DNSDataSource.
getDnsServerAddresses() - Method in class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
getDnsServerAddresses() - Method in class org.minidns.dnsserverlookup.AndroidUsingExec
 
getDnsServerAddresses() - Method in class org.minidns.dnsserverlookup.AndroidUsingReflection
 
getDnsServerAddresses() - Method in interface org.minidns.dnsserverlookup.DNSServerLookupMechanism
Returns a List of String representing ideally IP addresses.
getDnsServerAddresses() - Method in class org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
 
getExpireCount() - Method in class org.minidns.cache.LRUCache
The number of expires (cache hits that have had a ttl to low to be retrieved).
getHitCount() - Method in class org.minidns.cache.LRUCache
The cache hit count (all sucessful calls to get).
getMissCount() - Method in class org.minidns.cache.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 org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
getName() - Method in interface org.minidns.dnsserverlookup.DNSServerLookupMechanism
 
getNormalized(DNSMessage) - Method in class org.minidns.cache.LRUCache
 
getNormalized(DNSMessage) - Method in class org.minidns.DNSCache
 
getOrThrow() - Method in class org.minidns.MiniDnsFuture
 
getPreferedIpVersion() - Method in class org.minidns.AbstractDNSClient
 
getPriority() - Method in class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
getPriority() - Method in interface org.minidns.dnsserverlookup.DNSServerLookupMechanism
 
getQueryFor(Question) - Method in class org.minidns.AbstractDNSClient
 
getQueryMode() - Method in class org.minidns.source.DNSDataSource
 
getRandomHarcodedIpv6DnsServer() - Method in class org.minidns.DNSClient
 
getRandomHardcodedIpv4DnsServer() - Method in class org.minidns.DNSClient
 
getRequest() - Method in exception org.minidns.MiniDNSException.IdMismatch
 
getRequest() - Method in exception org.minidns.MiniDNSException.NullResultException
 
getResponse() - Method in exception org.minidns.MiniDNSException.IdMismatch
 
getStats() - Method in class org.minidns.source.NetworkDataSourceWithAccounting
 
getTimeout() - Method in class org.minidns.source.DNSDataSource
Retrieve the current dns query timeout, in milliseconds.
getUdpPayloadSize() - Method in class org.minidns.source.DNSDataSource
 
getVersion() - Static method in class org.minidns.MiniDNSConfiguration
 

H

hitCount - Variable in class org.minidns.cache.LRUCache
Internal hit count.

I

IdMismatch(DNSMessage, DNSMessage) - Constructor for exception org.minidns.MiniDNSException.IdMismatch
 
insecureRandom - Variable in class org.minidns.AbstractDNSClient
 
INSTANCE - Static variable in class org.minidns.dnsserverlookup.AndroidUsingExec
 
INSTANCE - Static variable in class org.minidns.dnsserverlookup.AndroidUsingReflection
 
INSTANCE - Static variable in class org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
 
InternalMiniDnsFuture() - Constructor for class org.minidns.MiniDnsFuture.InternalMiniDnsFuture
 
ipVersionSetting - Variable in class org.minidns.AbstractDNSClient
 
isAskForDnssec() - Method in class org.minidns.DNSClient
 
isAvailable() - Method in class org.minidns.dnsserverlookup.AndroidUsingExec
 
isAvailable() - Method in class org.minidns.dnsserverlookup.AndroidUsingReflection
 
isAvailable() - Method in interface org.minidns.dnsserverlookup.DNSServerLookupMechanism
 
isAvailable() - Method in class org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
 
isCancelled() - Method in class org.minidns.MiniDnsFuture
 
isDisableResultFilter() - Method in class org.minidns.DNSClient
 
isDone() - Method in class org.minidns.MiniDnsFuture
 
isResponseCacheable(Question, DNSMessage) - Method in class org.minidns.AbstractDNSClient
Whether a response from the DNS system should be cached or not.
isUseHardcodedDnsServersEnabled() - Method in class org.minidns.DNSClient
 

L

LOGGER - Static variable in class org.minidns.AbstractDNSClient
 
LOGGER - Static variable in class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
LOGGER - Static variable in class org.minidns.source.NetworkDataSource
 
LRUCache - Class in org.minidns.cache
LRU based DNSCache backed by a LinkedHashMap.
LRUCache(int, long) - Constructor for class org.minidns.cache.LRUCache
Create a new LRUCache with given capacity and upper bound ttl.
LRUCache(int) - Constructor for class org.minidns.cache.LRUCache
Create a new LRUCache with given capacity.
LRUCache() - Constructor for class org.minidns.cache.LRUCache
 

M

maxTTL - Variable in class org.minidns.cache.LRUCache
The upper bound of the ttl.
maybeInvokeCallbacks() - Method in class org.minidns.MiniDnsFuture
 
MiniDnsCacheFactory - Interface in org.minidns.cache
 
MiniDNSConfiguration - Class in org.minidns
 
MiniDNSConfiguration() - Constructor for class org.minidns.MiniDNSConfiguration
 
MiniDNSException - Exception in org.minidns
 
MiniDNSException(String) - Constructor for exception org.minidns.MiniDNSException
 
MiniDNSException.IdMismatch - Exception in org.minidns
 
MiniDNSException.NullResultException - Exception in org.minidns
 
MiniDnsFuture<V,E extends java.lang.Exception> - Class in org.minidns
 
MiniDnsFuture() - Constructor for class org.minidns.MiniDnsFuture
 
MiniDnsFuture.InternalMiniDnsFuture<V,E extends java.lang.Exception> - Class in org.minidns
 
MiniDNSInitialization - Class in org.minidns
 
MiniDNSInitialization() - Constructor for class org.minidns.MiniDNSInitialization
 
missCount - Variable in class org.minidns.cache.LRUCache
Internal miss count.

N

name - Variable in class org.minidns.RRSet
 
NetworkDataSource - Class in org.minidns.source
 
NetworkDataSource() - Constructor for class org.minidns.source.NetworkDataSource
 
NetworkDataSourceWithAccounting - Class in org.minidns.source
 
NetworkDataSourceWithAccounting() - Constructor for class org.minidns.source.NetworkDataSourceWithAccounting
 
NetworkDataSourceWithAccounting.Stats - Class in org.minidns.source
 
newCache() - Method in interface org.minidns.cache.MiniDnsCacheFactory
 
newQuestion(DNSMessage.Builder) - Method in class org.minidns.AbstractDNSClient
 
newQuestion(DNSMessage.Builder) - Method in class org.minidns.DNSClient
 
NullResultException(DNSMessage) - Constructor for exception org.minidns.MiniDNSException.NullResultException
 

O

offer(DNSMessage, DNSMessage, DNSName) - Method in class org.minidns.cache.ExtendedLRUCache
 
offer(DNSMessage, DNSMessage, DNSName) - Method in class org.minidns.cache.LRUCache
 
offer(DNSMessage, DNSMessage, DNSName) - Method in class org.minidns.DNSCache
 
onError(ExceptionCallback<E>) - Method in class org.minidns.MiniDnsFuture
 
onResponse(DNSMessage, DNSMessage) - Method in interface org.minidns.source.DNSDataSource.OnResponseCallback
 
onSuccess(SuccessCallback<V>) - Method in class org.minidns.MiniDnsFuture
 
org.minidns - package org.minidns
 
org.minidns.cache - package org.minidns.cache
 
org.minidns.dnsserverlookup - package org.minidns.dnsserverlookup
 
org.minidns.source - package org.minidns.source
 

P

parseProps(BufferedReader, boolean) - Static method in class org.minidns.dnsserverlookup.AndroidUsingExec
 
PRIORITY - Static variable in class org.minidns.dnsserverlookup.AndroidUsingExec
 
PRIORITY - Static variable in class org.minidns.dnsserverlookup.AndroidUsingReflection
 
PRIORITY - Static variable in class org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
 
put(DNSMessage, DNSMessage) - Method in class org.minidns.DNSCache
Add an an dns answer/response for a given dns question.
putNormalized(DNSMessage, DNSMessage) - Method in class org.minidns.cache.ExtendedLRUCache
 
putNormalized(DNSMessage, DNSMessage) - Method in class org.minidns.cache.LRUCache
 
putNormalized(DNSMessage, DNSMessage) - Method in class org.minidns.DNSCache
 

Q

query(String, Record.TYPE, Record.CLASS) - Method in class org.minidns.AbstractDNSClient
Query the system nameservers for a single entry of any class.
query(DNSName, Record.TYPE) - Method in class org.minidns.AbstractDNSClient
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(CharSequence, Record.TYPE) - Method in class org.minidns.AbstractDNSClient
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) - Method in class org.minidns.AbstractDNSClient
 
query(DNSMessage.Builder) - Method in class org.minidns.AbstractDNSClient
Send a query request to the DNS system.
query(Question, InetAddress, int) - Method in class org.minidns.AbstractDNSClient
 
query(DNSMessage, InetAddress, int) - Method in class org.minidns.AbstractDNSClient
 
query(String, Record.TYPE, Record.CLASS, InetAddress, int) - Method in class org.minidns.AbstractDNSClient
Query a nameserver for a single entry.
query(String, Record.TYPE, Record.CLASS, InetAddress) - Method in class org.minidns.AbstractDNSClient
Query a nameserver for a single entry.
query(String, Record.TYPE, InetAddress) - Method in class org.minidns.AbstractDNSClient
Query a nameserver for a single entry of class IN.
query(DNSMessage, InetAddress) - Method in class org.minidns.AbstractDNSClient
 
query(Question, InetAddress) - Method in class org.minidns.AbstractDNSClient
Query a specific server for one entry.
query(DNSMessage.Builder) - Method in class org.minidns.DNSClient
 
query(DNSMessage, InetAddress, int) - Method in class org.minidns.source.DNSDataSource
 
query(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSource
 
query(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSourceWithAccounting
 
queryAsync(CharSequence, Record.TYPE) - Method in class org.minidns.AbstractDNSClient
 
queryAsync(Question) - Method in class org.minidns.AbstractDNSClient
 
queryAsync(DNSMessage.Builder) - Method in class org.minidns.AbstractDNSClient
Default implementation of an asynchronous DNS query which just wraps the synchronous case.
queryAsync(DNSMessage, InetAddress, int) - Method in class org.minidns.AbstractDNSClient
 
queryAsync(DNSMessage, InetAddress) - Method in class org.minidns.AbstractDNSClient
 
queryAsync(DNSMessage.Builder) - Method in class org.minidns.DNSClient
 
queryAsync(DNSMessage, InetAddress, int, DNSDataSource.OnResponseCallback) - Method in class org.minidns.source.DNSDataSource
 
queryTcp(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSource
 
queryTcp(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSourceWithAccounting
 
queryUdp(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSource
 
queryUdp(DNSMessage, InetAddress, int) - Method in class org.minidns.source.NetworkDataSourceWithAccounting
 

R

random - Variable in class org.minidns.AbstractDNSClient
The internal random class for sequence generation.
records - Variable in class org.minidns.RRSet
 
removeBlacklistedDnsServer(String) - Static method in class org.minidns.DNSClient
 
removeDNSServerLookupMechanism(DNSServerLookupMechanism) - Static method in class org.minidns.DNSClient
 
responseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
result - Variable in class org.minidns.MiniDnsFuture
 
RRSet - Class in org.minidns
 
RRSet.Builder - Class in org.minidns
 

S

setAskForDnssec(boolean) - Method in class org.minidns.DNSClient
 
setDataSource(DNSDataSource) - Method in class org.minidns.AbstractDNSClient
Set a DNSDataSource to be used by the DNSClient.
setDefaultIpVersion(AbstractDNSClient.IpVersionSetting) - Static method in class org.minidns.AbstractDNSClient
 
setDisableResultFilter(boolean) - Method in class org.minidns.DNSClient
 
setException(E) - Method in class org.minidns.MiniDnsFuture.InternalMiniDnsFuture
 
setPreferedIpVersion(AbstractDNSClient.IpVersionSetting) - Method in class org.minidns.AbstractDNSClient
 
setQueryMode(DNSDataSource.QueryMode) - Method in class org.minidns.source.DNSDataSource
 
setResult(V) - Method in class org.minidns.MiniDnsFuture.InternalMiniDnsFuture
 
setTimeout(int) - Method in class org.minidns.source.DNSDataSource
Change the dns query timeout for all future queries.
setUdpPayloadSize(int) - Method in class org.minidns.source.DNSDataSource
 
setUseHardcodedDnsServers(boolean) - Method in class org.minidns.DNSClient
 
shouldGather(Record<? extends Data>, Question, DNSName) - Method in class org.minidns.cache.ExtendedLRUCache
 
shouldGather(Record<? extends Data>, Question, DNSName) - Method in class org.minidns.cache.FullLRUCache
 
successfulQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
successfulTcpQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
successfulUdpQueries - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 

T

tcpResponseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
timeout - Variable in class org.minidns.source.DNSDataSource
DNS timeout.
toListOfStrings(Collection<? extends InetAddress>) - Static method in class org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism
 
toString() - Method in class org.minidns.cache.LRUCache
 
toString() - Method in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
type - Variable in class org.minidns.RRSet
 

U

udpPayloadSize - Variable in class org.minidns.source.DNSDataSource
 
udpResponseSize - Variable in class org.minidns.source.NetworkDataSourceWithAccounting.Stats
 
UnixUsingEtcResolvConf - Class in org.minidns.dnsserverlookup
 

V

v4 - Variable in enum org.minidns.AbstractDNSClient.IpVersionSetting
 
v6 - Variable in enum org.minidns.AbstractDNSClient.IpVersionSetting
 
valueOf(String) - Static method in enum org.minidns.AbstractDNSClient.IpVersionSetting
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.minidns.source.DNSDataSource.QueryMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.minidns.AbstractDNSClient.IpVersionSetting
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.minidns.source.DNSDataSource.QueryMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P Q R S T U V 
Skip navigation links