Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marek22k/meshname
Gem, which provides conversion and DNS resolution functions for the Meshname protocol (see https://github.com/zhoreeq/meshname)
https://github.com/marek22k/meshname
dns ipv6 meshname
Last synced: 2 months ago
JSON representation
Gem, which provides conversion and DNS resolution functions for the Meshname protocol (see https://github.com/zhoreeq/meshname)
- Host: GitHub
- URL: https://github.com/marek22k/meshname
- Owner: marek22k
- License: gpl-3.0
- Created: 2022-01-04T21:02:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T11:01:29.000Z (12 months ago)
- Last Synced: 2024-08-08T18:21:33.238Z (6 months ago)
- Topics: dns, ipv6, meshname
- Language: Ruby
- Homepage:
- Size: 1 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - marek22k/meshname - Gem, which provides conversion and DNS resolution functions for the Meshname protocol (see https://github.com/zhoreeq/meshname) (others)
README
# Moved to [CodeBerg](https://github.com/marek22k/meshnamed)
# Meshname
Gem, which provides conversion and DNS resolution functions for the Meshname protocol (see https://github.com/zhoreeq/meshname)Depends on Base32
## Example
```
Meshname.getname IPAddr.new("215:15c:84e0:8dd5:7590:bfcd:61cf:cff7") => "aikqcxee4cg5k5mqx7gwdt6p64"
"#{Meshname.getname IPAddr.new("215:15c:84e0:8dd5:7590:bfcd:61cf:cff7")}.meship" => "aikqcxee4cg5k5mqx7gwdt6p64.meship"Meshname.getip "aikqcxee4cg5k5mqx7gwdt6p64" => #
Meshname.getip("aikqcxee4cg5k5mqx7gwdt6p64").to_s => "215:15c:84e0:8dd5:7590:bfcd:61cf:cff7"Meshname.resolv("aikqcxee4cg5k5mqx7gwdt6p64.meship") => [#]
Meshname.resolv("aikqcxee4cg5k5mqx7gwdt6p64.meship")[0].to_s => "215:15c:84e0:8dd5:7590:bfcd:61cf:cff7"Meshname.resolv("aikqcxee4cg5k5mqx7gwdt6p64.meshname") => [#]
Meshname.resolv("aikqcxee4cg5k5mqx7gwdt6p64.meshname")[0].to_s => "215:15c:84e0:8dd5:7590:bfcd:61cf:cff7"
```## Meshname
Read more on https://github.com/zhoreeq/meshname and https://github.com/zhoreeq/meshname/blob/master/protocol.md