|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.ResolverConfig
public class ResolverConfig
A class that tries to locate name servers and the search path to be appended to unqualified names. The following are attempted, in order, until one succeeds.
Constructor Summary | |
---|---|
ResolverConfig()
|
Method Summary | |
---|---|
static ResolverConfig |
getCurrentConfig()
Gets the current configuration |
static void |
refresh()
Gets the current configuration |
Name[] |
searchPath()
Returns all entries in the located search path |
String |
server()
Returns the first located server |
String[] |
servers()
Returns all located servers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolverConfig()
Method Detail |
---|
public String[] servers()
public String server()
public Name[] searchPath()
public static ResolverConfig getCurrentConfig()
public static void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |