Package | Description |
---|---|
org.xbill.DNS.lookup |
Modifier and Type | Method and Description |
---|---|
static LookupSession.LookupSessionBuilder |
LookupSession.builder()
Returns an empty
LookupSession.LookupSessionBuilder instance. |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.cache(@NonNull Cache cache)
Enable caching using the supplied cache.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.cache(@NonNull Integer dclass,
@NonNull Cache cache)
Deprecated.
use
cache(Cache) , the Cache already provides the class. |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.caches(@NonNull Collection<Cache> caches)
Enable caching using the supplied caches.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.caches(@NonNull Map<Integer,Cache> caches)
Deprecated.
use
cache(Cache) or caches(Collection) , the Cache
already provides the class. |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.clearCaches()
Disables using a cache for lookups.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.clearSearchPath()
Removes all search paths.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.cycleResults(boolean cycleResults)
If set to
true , cached results with multiple records will be returned with the
starting point shifted one step per request. |
static LookupSession.LookupSessionBuilder |
LookupSession.defaultBuilder()
Returns a
LookupSession.LookupSessionBuilder instance initialized with defaults. |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.defaultHostsFileParser()
Enable querying the local hosts database using the system defaults.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.executor(Executor executor)
The executor to use when running lookups.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.hostsFileParser(HostsFileParser hostsFileParser)
Configures the local hosts database file parser to use within this session.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.maxRedirects(int maxRedirects)
The maximum number of CNAME or DNAME redirects allowed before lookups will fail with
RedirectOverflowException . |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.ndots(int ndots)
The threshold for the number of dots which must appear in a name before it is considered
absolute.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.resolver(@NonNull Resolver resolver)
The
Resolver to use to look up records. |
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.searchPath(Collection<? extends Name> searchPath)
Configures the search path used to look up relative names with less than ndots dots.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.searchPath(Name searchPath)
Configures the search path used to look up relative names with less than ndots dots.
|
Copyright © 2022 dnsjava.org. All rights reserved.