nurl 作者: edge
A Neo URL Resolver.
擴充套件後設資料
關於此擴充套件
A tool for resolving decentralized .neo domains to traditional web domains through the use of CNAME records on the Neo blockchain.
Type in any .neo domain, followed by a trailing slash /, to be redirected to the destination. The domain must have a CNAME record on-chain that points to a valid target. Try input
Type in any .neo domain, followed by a trailing slash /, to be redirected to the destination. The domain must have a CNAME record on-chain that points to a valid target. Try input
news.example.neo/ into the address bar and see where it goes.由 1 位評論者給出 0 分
權限與資料
更多資訊
To redirect requests from a .neo domain you control to a conventional website, you will need to create a CNAME record on-chain. Users can do so on the NeoNS website (https://neo.link), developers may prefer to use setRecord on the API (https://docs.neo.link). This will require some familiarity with Neo and a tool such as Neon.js.
The nurl addon presumes the CNAME is using HTTPS.
About looking up NeoNS domains
When it isn't clear that an input is a URL, browsers will default to performing a search using the default search engine for the user. This is an issue for our .neo domains, which are registered on the Neo N3 blockchain rather than traditional DNS, so will normally be interpreted as a search.
We can convince it to do a proper web request (so we can redirect it) by prefacing the NeoNS domain (e.g. news.example.neo) with http:// or https://, or by adding a trailing slash, in this case news.example.neo/. If there is a valid CNAME record on Neo N3 for the domain, the redirect will be attempted by the addon.