-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Allow using other domain resolver plugins along with Zeroname #1683
Conversation
Fixes several closely related bugs in Zeroname Plugin, those prevent correct work of other domain resolvers: 1. get(), isDomain(): when an address doesn't look like a valid domain, pass control to the next plugin in a chain. 3. Move the .bit-domain matching logic to a separate method isBitDomain(). 2. get(), need(): use isBitDomain(), not isDomain() to check if domain resolving is needed in order to not interfere with other domain resolvers. 4. Also rewrite isAddress() to make it look similar to the new implementation of isDomain().
It allows creating a plugin for Emercoin |
How it works (upcoming NameID plugin)When accessing kaffie.zeroid, it points to the zite that haves the same identy address of user "kaffie". How NameID's subdomain worksSimply put those records on content.json:
@April93 |
Though, it will probably be |
@imachug
You didn't understood how NameID works |
Let me bring another example. |
Not possible to use KaffieID, because the names aren't unique |
the using names as domain thing will be hardcoded to only support zeroid and nothing more regardless if registry is unique or not say i have thunder33345.zeroid we could try to conserve space the rest of the subdomain can be stored on the root domain's example: say i found a link foo.bar.zeroid |
The zeroid provider name can be anything, it doesn't have to be live site, but I think it's pretty offtopic here. |
Not sure why we are discussing the IDName stuff in that pull request, but... @imachug:
The .bit suffix should be avoided, since it is related to the Namecoin address space. So
My first thought was to use
There is no direct connection between the provider name and the top-level domain name. It should be a subject of agreement. If you recognize
Any trusted ID provider, that exports its database in a machine-readable way, can be easily supported. I see no reasons why it shouldn't be done.
Your cert address is your site address. You don't have to do any additional "pointing".
Do you have any other ideas, how it should be done? |
@imachug: Trying to recall, why I gave up The By the way, the current implementation of Zeroname still isn't compatible with such domains, as it uses regexp What is your opinion? |
You meant by my public address? Thunder33345@zeroid.bit (1AHEQxyRG9s6owyJHShB4U4rg9GL5FMX5K), so what about subdomain.thunder33345.zero.id??? also very offtopic but whoever come up with this, props to you wonder why we havent figure we could utilize that for a long time maybe zero.id?
others would have to make their own TLD for each user registry which might get messy
id as TLD anyone can use (servicename).id also should we move into another issue? might be counting as issue hijacking |
Fixes several closely related bugs in Zeroname Plugin, those prevent correct work of other domain resolvers:
get(), isDomain(): when an address doesn't look like a valid domain, pass control to the next plugin in a chain.
Move the .bit-domain matching logic to a separate method isBitDomain().
get(), need(): use isBitDomain(), not isDomain() to check if domain resolving is needed in order to not interfere with other domain resolvers.
Also rewrite isAddress() to make it look similar to the new implementation of isDomain().