Package arc.net.dns
Interface NameserverProvider
- All Known Implementing Classes:
AbstractNameserverProvider
,JndiContextNameserverProvider
,ResolvConfNameserverProvider
,WellKnownNameserverProvider
public interface NameserverProvider
-
Method Summary
Modifier and TypeMethodDescriptionReturns all located servers, which may be empty.void
Initializes the servers.default boolean
Determines if this provider is enabled.
-
Method Details
-
initialize
Initializes the servers.- Throws:
InitializationException
-
getNameservers
Seq<InetSocketAddress> getNameservers()Returns all located servers, which may be empty. -
isEnabled
default boolean isEnabled()Determines if this provider is enabled.
-