Package com.mongodb.spi.dns
Interface DnsClientProvider
public interface DnsClientProvider
Service-provider class for
DnsClient
.
A resolver provider is a factory for custom implementations of a DNS client. A DNS client defines operations for looking up DNS records for a given type.
The driver discovers implementations of this interface via ServiceLoader
.
If more fine-grained control is required for multi-tenant applications, an
a DNS client can be configured via
MongoClientSettings.Builder.dnsClient(DnsClient)
.
- Since:
- 4.6
- See Also:
-
Method Summary