| Package | Description |
|---|---|
| org.nhindirect.dns |
Direct project DNS services and responders.
|
| org.nhindirect.dns.service |
Direct project DNS application/service wrappers and entry points.
|
| org.nhindirect.dns.utils |
| Modifier and Type | Method and Description |
|---|---|
static DNSServer |
DNSServerFactory.createDNSServer(URL configLocation)
Creates an instance of a
DNSServer using the configuration information stored at the configuration location. |
static DNSServer |
DNSServerFactory.createDNSServer(URL configLocation,
com.google.inject.Provider<DNSStore> dnsStore,
com.google.inject.Provider<DNSServerSettings> settings)
Creates an instance of a
DNSServer using the configuration information stored at the configuration location. |
void |
UDPServer.createServerSocket()
Creates and initializes the socket implementation that will accept incoming requests.
|
void |
TCPServer.createServerSocket()
Creates and initializes the socket implementation that will accept incoming requests.
|
abstract void |
DNSSocketServer.createServerSocket()
Creates and initializes the socket implementation that will accept incoming requests.
|
org.xbill.DNS.Message |
ProxyDNSStore.get(org.xbill.DNS.Message dnsMsg)
Processes a lookup request for DNS records.
|
org.xbill.DNS.Message |
DNSStore.get(org.xbill.DNS.Message dnsMsg)
Processes a lookup request for DNS records.
|
org.xbill.DNS.Message |
ConfigServiceDNSStore.get(org.xbill.DNS.Message request)
Processes a lookup request for DNS records.
|
org.xbill.DNS.Message |
DNSResponder.processRequest(byte[] rawMessage)
Processes a DNS request and returns a DNS response.
|
void |
UDPServer.start()
Starts the socket server and initializes the dispatch threads.
|
void |
TCPServer.start()
Starts the socket server and initializes the dispatch threads.
|
void |
DNSSocketServer.start()
Starts the socket server and initializes the dispatch threads.
|
void |
DNSServer.start()
Starts the DNS server by initializing and launching the TCP and UDP listeners.
|
void |
DNSResponderUDP.start()
Starts the responder.
|
void |
DNSResponderTCP.start()
Starts the responder.
|
abstract void |
DNSResponder.start()
Starts the responder.
|
void |
UDPServer.stop()
Shuts down the socket server and terminates the server from accepting additional requests.
|
void |
TCPServer.stop()
Shuts down the socket server and terminates the server from accepting additional requests.
|
void |
DNSSocketServer.stop()
Shuts down the socket server and terminates the server from accepting additional requests.
|
void |
DNSServer.stop()
Stops the server and shuts down the TCP and UPD listeners.
|
void |
DNSResponderUDP.stop()
Stops the responder.
|
void |
DNSResponderTCP.stop()
Stops the responder.
|
abstract void |
DNSResponder.stop()
Stops the responder.
|
| Constructor and Description |
|---|
DNSResponder(DNSServerSettings settings,
DNSStore store)
Creates a DNS responder using the provided settings and DNS store.
|
DNSResponderTCP(DNSServerSettings settings,
DNSStore store) |
DNSResponderUDP(DNSServerSettings settings,
DNSStore store)
}
|
DNSSocketServer(DNSServerSettings settings,
DNSResponder responsder)
Creates a socket server.
|
TCPServer(DNSServerSettings settings,
DNSResponder responder)
Creates a TCP socket server.
|
UDPServer(DNSServerSettings settings,
DNSResponder responder)
Creates a UDP server that listens to datagram packets.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DNSServerService.stopService()
Stops and shutdown the service.
|
| Constructor and Description |
|---|
DNSServerService(URL configLocation,
DNSServerSettings settings)
Creates the service wrapper with the location of the configuration service and server settings.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
CertUtils.pkcs12ToStrippedPkcs12(byte[] bytes,
String passphrase)
Takes a PKCS12 byte stream and returns a PKCS12 byte stream with the pass phrase protection and encryption removed.
|
static X509Certificate |
CertUtils.toX509Certificate(byte[] data)
Converts a byte stream to an X509Certificate.
|
static X509Certificate |
CertUtils.toX509Certificate(byte[] data,
String passPhrase)
Converts a byte stream to an X509Certificate.
|
static byte[] |
CertUtils.x509CertificateToBytes(X509Certificate cert)
Converts an X509Certificate to a byte stream representation.
|
Copyright © 2010-2015 The Direct Project. All Rights Reserved.