| Constructor and Description |
|---|
ProxyDNSStore()
Creates a default proxy store.
|
ProxyDNSStore(java.util.Collection<java.lang.String> servers)
Creates a proxy using the the provided servers for delegating requests.
|
ProxyDNSStore(java.util.Collection<java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
org.xbill.DNS.Message |
get(org.xbill.DNS.Message dnsMsg)
Processes a lookup request for DNS records.
|
public ProxyDNSStore()
public ProxyDNSStore(int port)
port - The IP port to use when calling the proxy DNS server.public ProxyDNSStore(java.util.Collection<java.lang.String> servers)
servers - A collections of IP4 addresses (as strings) that the proxy will delegate request to.public ProxyDNSStore(java.util.Collection<java.lang.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.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.Copyright © 2010-2018 The Direct Project. All Rights Reserved.