|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.dns.ProxyDNSStore
public class ProxyDNSStore
Proxy DNS store that delegates all requests to another set of DNS servers. The store defaults to using port 53 and the machine's configured DNS servers.
| Constructor Summary | |
|---|---|
ProxyDNSStore()
Creates a default proxy store. |
|
ProxyDNSStore(Collection<String> servers)
Creates a proxy using the the provided servers for delegating requests. |
|
ProxyDNSStore(Collection<String> servers,
int port)
Creates a proxy using the provided servers and port for delegating requests. |
|
ProxyDNSStore(int port)
Creates a proxy store delegating requests to the provided port. |
|
| Method Summary | |
|---|---|
org.xbill.DNS.Message |
get(org.xbill.DNS.Message dnsMsg)
Processes a lookup request for DNS records. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyDNSStore()
public ProxyDNSStore(int port)
port - The IP port to use when calling the proxy DNS server.public ProxyDNSStore(Collection<String> servers)
servers - A collections of IP4 addresses (as strings) that the proxy will delegate request to.
public ProxyDNSStore(Collection<String> servers,
int port)
servers - A collections of IP4 addresses (as strings) that the proxy will delegate request to.port - The IP port to use when calling the proxy DNS server.| Method Detail |
|---|
public org.xbill.DNS.Message get(org.xbill.DNS.Message dnsMsg)
throws DNSException
get in interface DNSStorednsMsg - The DSN request message.
DNSException - Thrown is the request fails due to sever failure such as illegal request parameters or
a failure accessing the physical record medium.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||