- All Known Implementing Classes:
FirstDnsResolverProvider
,RoundRobinDnsResolverProvider
public interface DnsResolverProvider
Provider interface for custom DNS resolvers.
-
Method Summary
Modifier and TypeMethodDescriptionCreate new instance of theDnsResolver
.Return name of theDnsResolver
.
-
Method Details
-
resolverName
String resolverName()Return name of theDnsResolver
.- Returns:
- dns resolver name
-
createDnsResolver
DnsResolver createDnsResolver()Create new instance of theDnsResolver
.- Returns:
- new instance of the dns resolver
-