Package com.mongodb.spi.dns
@NonNullApi
package com.mongodb.spi.dns
This package defines the Service Provider Interface (SPI) for a DNS provider. By default the driver will use the
JNDI support from com.sun.jndi.dns.DnsContextFactory, but this can be replaced using the JDK's ServiceLoader capabilities.
- Since:
- 4.6
- See Also:
-
ClassDescriptionAn interface describing a DNS client.A provider interface for
DnsClient
.An exception indicating a DNS error;An exception indicating a DNS error that includes a response code.