-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
ERC 882: ENS Custom Protocols #882
Comments
@Arachnid thoughts? |
Sorry, I missed this the first time around.
Email already has a dedicated DNS record type, MX. TXT isn't used for email servers.
I would definitely like to see a solution using self-signed SSL certificates anchored to ENS to replace the current certificate hierarchy.
Protocols and resource records are for the most part orthogonal; an 'A' record does not specify what protocol to use to talk to that IP with. I think this proposal confuses matters by making protocols into ENS names, and since it appears that each protcol can specify it's own interface, clients would already have to know what interface to expect at the resolver responsible for that interface. Doing this also eliminates the main advantage of the indirection provided by resolvers, namely that they can be improved by any user without any kind of system-wide upgrade. It seems like it would be much simpler and more robust to define these resources as additional resolver profiles rather than inventing a new mechanism. |
It uses TXT records for SPF and DKIM for sender authorization and signature purposes.
I will show some code at the end of the March. It is the most obvious and useful opportunity of this ERC for today. But I think that ENS could totally describe any host in the Network with any role and all it's configuration.
Yes. But this is limitation of DNS itself. It was designed in early 80s in unix paradigm (everything is a text). It's just one of many hostname-based configuration management system and I don't see a reason to reimplement this technology without enhancement. At least we have new Ethereum paradigm (everything is a contract). If ENS became a replacement for DNS we need to make it usable for 20-40 years. |
It's not a limitation of DNS - protocols existed when DNS was designed, and it was a conscious choice to make name resolution and protocol specifications orthogonal concerns. My main concern, though, is one you haven't addressed - that trying to specify protocols like this reduces each one to a single implementation, removing the whole point of ENS's indirection via the registry. It makes a lot more sense to specify new resolver profiles than a whole new system. |
DNS is a protocol with hostname-based configuration which resolves names into IPs and nothing more. It was designed to solve exact problem it was not designed as extensible that what I mean as limitation. But today we have much more hostname-based configuration for protocols like SSL and Email. Email has no it's own configuration mechanism and thus it's using DNS as I shown earlier. Such system can provide specified configuration for any protocol that we have today and will have in the future. Main idea is to allow developers to provide new protocols in predictable way and make all protocols equal.
There is no reason to replace ENS and resolvers are enough. This ERC is about to receive a feedback and to know in which way I should to move on to make it officially supported. Without community support it will be harden to promote and to make browsers use self signed SSL certificates from ENS. |
That's not the case; right from day 1, DNS has been used for a variety of types of resolution. RFC1035 included MX, in addition to A, CNAME, PTR and TXT. Further, that doesn't address my point - that resolving a name to a resource, and determining how to talk to that resource, are two orthogonal problems, and it's a bad idea to conflate them.
Then you need to explain concretely what the advantages are of this approach over simply defining new resolver standards for ENS. |
There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment. |
ENS Layers is DNS replacement with new kind of resolvers which acts like custom protocols and provide any protocol support. For example today email has no it's own resolver and it's using DNS TXT record to provide mail server addresses. Another technology is TLS: we can replace SSL certificate with resolver record with server's RSA public key.
Each ENS name could be a protocol in the same time to provide extension mechanism. Thus everyone could create it's own protocol to make it controllable with contract, receive payments or make data accessible with another contracts.
Valid URL example:
Examples
Cross protocols example
We can add custom resolver for each protocol with it's own smart contract. How could it work:
Now if we want to write email to
[email protected]
from web client atmail-client.eth
we need to do:http.eth
resolver address from ENS.mail-client.eth
HTTP server IP callinggetHttpServerIp(namehash('http.eth'))
ofhttp.eth
resolver contract.mail-client.eth
HTML-client from server IP (with browser).[email protected]
.email.eth
resolver from ENS.http.eth
mail server IP callinggetMailServerIp(namehash('http.eth'))
ofemail.eth
resolver contract.If we want to open
email.eth
we need to askhttp.eth
doesemail.eth
has http server and request HTML page from it.Example of current existing protocols provided by ENS Protocols.
The text was updated successfully, but these errors were encountered: