public class PropertyResolverConfigProvider extends BaseResolverConfigProvider
DNS_SERVER_PROP, DNS_SEARCH_PROP (comma delimited lists) are
checked. The servers can either be IP addresses or hostnames (which are resolved using Java's
built in DNS support).| Modifier and Type | Field and Description |
|---|---|
static String |
DNS_NDOTS_PROP |
static String |
DNS_SEARCH_PROP |
static String |
DNS_SERVER_PROP |
| Constructor and Description |
|---|
PropertyResolverConfigProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes the servers, search paths, etc.
|
protected void |
initialize(String serverName,
String searchName,
String ndotsName)
Initializes the servers, search path and ndots setting with from the property names passed as
the arguments.
|
int |
ndots()
Gets the threshold for the number of dots which must appear in a name before it is considered
absolute.
|
addNameserver, addSearchPath, parseNdots, parseSearchPathList, searchPaths, serversclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEnabledpublic static final String DNS_SERVER_PROP
public static final String DNS_SEARCH_PROP
public static final String DNS_NDOTS_PROP
public void initialize()
ResolverConfigProviderprotected void initialize(String serverName, String searchName, String ndotsName)
serverName - the property name for the DNS serverssearchName - the property name for the search pathndotsName - the property name for the ndots settingpublic int ndots()
ResolverConfigProviderCopyright © 2021 dnsjava.org. All rights reserved.