Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: DNS-SD auto-completion for Lagrange #307

Open
sirnewton01 opened this issue Jul 11, 2021 · 0 comments
Open

Feature Request: DNS-SD auto-completion for Lagrange #307

sirnewton01 opened this issue Jul 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@sirnewton01
Copy link

On a local network or for a particular domain on the internet there could be Gemini sites registered with DNS service discovery mechanism. See the RFC here for more details: https://datatracker.ietf.org/doc/html/rfc6763

I think that instead of relying on search engines so much, Gemini capsules could be discovered in this way using Lagrange.

Within a particular search domain, "sdomain" there can be DNS records like this:

PTR: _gemini._tcp.sdomain,mycapsule._gemini._tcp.sdomain
SRV: mycapsule._gemini._tcp.sdomain,mycapsule,1965
TXT: mycapsule._gemini._tcp.sdomain,path=/

These records would allow one to get a list of all Gemini capsules on a particular domain using standard DNS lookups on the OS or even the "dig" cross-platform command-line tool. From these, one can assemble a user friendly name, eg. "mycapsule" along with some user visible properties in the TXT record. Also, there is enough information to assemble the URI to put in the Lagrange address bar so that the user can go to that capsule right away.

I think that in terms of Lagrange this could be used to auto-complete local capsules wen the user click on a blank address bar based on the local search domain. As the user begins typing, if what they type is a valid DNS domain then DNS lookups could be used to fill the list for sites in that domain, eg. "sdomain"

@skyjake skyjake added the enhancement New feature or request label Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants