package net.i2p.client.naming

Naming service for resolving human-readable names (such as ident.i2p) into I2P destinations, providing a standard interface without JNDI complexity.

  • Hostname to Destination resolution
  • hosts.txt file support
  • Subscription-based updates
  • Caching of resolved names

The implementation is selected by the i2p.naming.impl property: BlockfileNamingService in the router, HostsTxtNamingService for standalone clients.


  • Class
    Description
    A Dummy naming service that can only handle base64 and b32 destinations.
    A network-based naming service using HTTP, with in-memory caching.
    A naming service based on multiple "hosts.txt" files.
    A hostname, b64 destination, and optional properties.
    Connect via I2CP and ask the router to look up the lease of a hash, convert it to a Destination and return it.
    A naming service of multiple naming services.
    Naming services create a subclass of this class.
    Listener for naming service events.
    Interface for updating naming services.
    A naming service based on a single file using the "hosts.txt" format.