Menu

Netlib NetAddressNameService Implementations

Tobias Boese

Abstract: This page introduces all relevant Netlib NetLayer implementations. Each implementation is represented by a Java class that implements the NetAddressNameService interface.

Introduction

This page introduces all relevant [Netlib NetAddressNameService] implementations. Each implementation is represented by a Java class that implements the NetAddressNameService interface.

NetAddressNameService Implementations that implement Name Resolution

DefaultNetAddressNameService

Access to the JDK built-in name service (java.net.InetAddressImpl and Co.). The name resolution requests are forwarded to the local operation system which will usually send them to a local DNS server.

Using DefaultNetAddressNameService is similar to using java.net.InetAddress.

TorNetAddressNameService

This name service tunnels all DNS requests through the [Tor] anonymity network to avoid analysis of local DNS traffic.

The corresponding NetLayer is TorNetLayer.

NetAddressNameService Implementations that implement specific Services

CacheingNetAddressNameService

Transparent NetAddressNameService that caches requests and responses. Default caching time is 60s. Uncached requests are forwarded to a lower NetAddressNameService.

LoggingNetAddressNameService

Transparent NetAddressNameService that logs requests. These requests are forwarded to a lower NetAddressNameService.

SwitchingNetAddressNameService

SwitchingNetLayer transparently forwards all traffic to a switchable/exchangeable lower NetAddressNameService.

NopNetAddressNameService

No-Operation NetAddressNameService does not resolve anything. Can be used together with the SwitchingNetAddressNameService to temporarily prevent name resolution.

MockNetAddressNameService

Mock implementation, e.g. for testing.


Top: [Netlib], Next: [Netlib NetFactory]


Related

Wiki: Netlib NetAddressNameService
Wiki: Netlib TorNetLayer
Wiki: Netlib

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.