Package org.xbill.DNS.config
Class ResolvConfResolverConfigProvider
java.lang.Object
org.xbill.DNS.config.BaseResolverConfigProvider
org.xbill.DNS.config.ResolvConfResolverConfigProvider
- All Implemented Interfaces:
ResolverConfigProvider
-
Field Summary
Fields inherited from class org.xbill.DNS.config.BaseResolverConfigProvider
log, searchlist -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the servers, search paths, etc.booleanDetermines if this provider is enabled.intndots()Gets the threshold for the number of dots which must appear in a name before it is considered absolute.protected voidMethods inherited from class org.xbill.DNS.config.BaseResolverConfigProvider
addNameserver, addSearchPath, parseNdots, parseSearchPathList, reset, searchPaths, servers
-
Constructor Details
-
ResolvConfResolverConfigProvider
public ResolvConfResolverConfigProvider()
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:ResolverConfigProviderInitializes the servers, search paths, etc. -
parseResolvConf
- Throws:
IOException
-
ndots
public int ndots()Description copied from interface:ResolverConfigProviderGets the threshold for the number of dots which must appear in a name before it is considered absolute. If the interface implementation does not override this, the default implementation returns 1. -
isEnabled
public boolean isEnabled()Description copied from interface:ResolverConfigProviderDetermines if this provider is enabled.
-