Skip to main content

Distributed Directory name resolver

Project description

ddresolve Distributed Directory name resolver

This tool resolves names to addresses, starting from your local directory and following links to other directories.

PROTOTYPE! This is still a work-in-progress. Currently only the local-directory resolving is implemented.

To try it out:

  • Clone this repository
  • Create a file ~/.local/share/petnames/local/server1.txt containing lines like these:
suggested_name=Server One
desthash=aabbccddeeffaabbccddeeffaabbccdd
identity=bacdbacd
  • Run ./ddresolve.py server1 which should display : aabbccddeeffaabbccddeeffaabbccdd

There is also a modified version of rnx.py which will resolve names instead of destination hashes, so you can run:

./rnx.py server1 'cat /proc/cpuinfo'

Usage:

ddresolve.py NAME [PROPERTY]

NAME is a "dot" seperated sequence of names

PROPERTY is the record property you want to retrieve, or 'all' (default: 'desthash')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ddresolve-0.1.20251116.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddresolve-0.1.20251116-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file ddresolve-0.1.20251116.tar.gz.

File metadata

  • Download URL: ddresolve-0.1.20251116.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for ddresolve-0.1.20251116.tar.gz
Algorithm Hash digest
SHA256 57c1bb28b70c212516ab4eaa9916fee73ee360807511b6567146138d55d8cabe
MD5 e8a7ca4f38be6ae45ea36c36e3c7b7ff
BLAKE2b-256 ca1442ff49efc2d0a70d9f1b05cc824305f636223f967d583678ed8f909b6cd6

See more details on using hashes here.

File details

Details for the file ddresolve-0.1.20251116-py3-none-any.whl.

File metadata

File hashes

Hashes for ddresolve-0.1.20251116-py3-none-any.whl
Algorithm Hash digest
SHA256 df22eb069502d942cb5ce067ae98dc82d260c69e70204ccfb1920ed9f6065d9e
MD5 f5c1f263dda16f6060dc34e8b79d07d9
BLAKE2b-256 4bd064dcfaacfe124fe90491644a6a32ff56790e149ba82e91bdbc117819e703

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page