Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.dns | |
io.vertx.core.spi.resolver |
Modifier and Type | Method and Description |
---|---|
AddressResolverOptions |
VertxOptions.getAddressResolverOptions() |
Modifier and Type | Method and Description |
---|---|
VertxOptions |
VertxOptions.setAddressResolverOptions(AddressResolverOptions addressResolverOptions)
Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
|
Modifier and Type | Method and Description |
---|---|
AddressResolverOptions |
AddressResolverOptions.addSearchDomain(String searchDomain)
Add a DNS search domain.
|
AddressResolverOptions |
AddressResolverOptions.addServer(String server)
Add a DNS server address.
|
AddressResolverOptions |
AddressResolverOptions.setCacheMaxTimeToLive(int cacheMaxTimeToLive)
Set the cache maximum TTL value in seconds.
|
AddressResolverOptions |
AddressResolverOptions.setCacheMinTimeToLive(int cacheMinTimeToLive)
Set the cache minimum TTL value in seconds.
|
AddressResolverOptions |
AddressResolverOptions.setCacheNegativeTimeToLive(int cacheNegativeTimeToLive)
Set the negative cache TTL value in seconds.
|
AddressResolverOptions |
AddressResolverOptions.setHostsPath(String hostsPath)
Set the path of an alternate hosts configuration file to use instead of the one provided by the os.
|
AddressResolverOptions |
AddressResolverOptions.setHostsValue(Buffer hostsValue)
Set an alternate hosts configuration file to use instead of the one provided by the os.
|
AddressResolverOptions |
AddressResolverOptions.setMaxQueries(int maxQueries)
Set the maximum number of queries when an hostname is resolved.
|
AddressResolverOptions |
AddressResolverOptions.setNdots(int ndots)
Set the ndots value used when resolving using search domains, the default value is
-1 which
determines the value from the OS on Linux or uses the value 1 . |
AddressResolverOptions |
AddressResolverOptions.setOptResourceEnabled(boolean optResourceEnabled)
Set to true to enable the automatic inclusion in DNS queries of an optional record that hints
the remote DNS server about how much data the resolver can read per response.
|
AddressResolverOptions |
AddressResolverOptions.setQueryTimeout(long queryTimeout)
Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.
|
AddressResolverOptions |
AddressResolverOptions.setRdFlag(boolean rdFlag)
Set the DNS queries Recursion Desired flag value.
|
AddressResolverOptions |
AddressResolverOptions.setRotateServers(boolean rotateServers)
Set to
true to enable round-robin selection of the dns server to use. |
AddressResolverOptions |
AddressResolverOptions.setRoundRobinInetAddress(boolean roundRobinInetAddress)
Set to
true to enable round-robin inet address selection of the ip address to use. |
AddressResolverOptions |
AddressResolverOptions.setSearchDomains(List<String> searchDomains)
Set the lists of DNS search domains.
|
AddressResolverOptions |
AddressResolverOptions.setServers(List<String> servers)
Set the list of DNS server addresses, an address is the IP of the dns server, followed by an optional
colon and a port, e.g
8.8.8.8 or {code 192.168.0.1:40000}. |
Constructor and Description |
---|
AddressResolverOptions(AddressResolverOptions other) |
Modifier and Type | Method and Description |
---|---|
static ResolverProvider |
ResolverProvider.factory(Vertx vertx,
AddressResolverOptions options) |
io.netty.resolver.AddressResolverGroup<InetSocketAddress> |
ResolverProvider.resolver(AddressResolverOptions options) |
Copyright © 2022 Eclipse. All rights reserved.