Bonfida / name-resolver

Solana name service resolver in browser
https://sol-domain.org
MIT License
11 stars 6 forks source link

Why can't the name resolver support traditional DNS Records? #5

Closed decartesol closed 1 year ago

decartesol commented 1 year ago

Users of SNS (like myself) want more customizability than the url record that Bonfida allows to be set. I want to be able to set records the rest of the internet uses like A, CNAME, MX, etc.

dr497 commented 1 year ago

These records have not been introduced because there has not been much demand for them. However, we definitely plan to introduce them, and this can be done relatively quickly. If you are interested in being part of this process you will be able to contribute on the SNS IP repository that will be created in the coming days.

Also, knowing the use cases you are interested in would be helpful!

decartesol commented 1 year ago

I'm interested in contributing to the SNS IP repo. Mainly my use-case is I want someone to be able to navigate to my .sol address and then rather than a redirect happening in the URL bar, they would see my site loaded while the FQDN remains my .sol address. Basically the same thing that happens with any normal website. Hence why I'm asking for A and CNAME records. Please reach out over twitter if you get the chance https://twitter.com/decartesol

dr497 commented 1 year ago

We released the SNS-IP repo https://github.com/Bonfida/sns-ip

We would love to have your feedback on SNS-IP1 https://github.com/Bonfida/sns-ip/issues/3

decartesol commented 1 year ago

@dr497 should we re-open this to implement the A & CNAME records support given that SNS-IP1 marked as completed?

I'd be willing to take on that work.

I'm hoping Bonfida could pay me a small amount for that work. For example 10 to 50 SOL depending on how complex it is. I'm an anon dev that needs funds in order to deploy programs.

dr497 commented 1 year ago

Hi @decartesol ! I have added support CNAME and A record support on this PR https://github.com/Bonfida/name-resolver/pull/7/files

GeoBrodas commented 9 months ago

So does that mean if i add the CName for the provider im hosting my website at, I will basically have a website pointing at mywebsitename.sol?

dr497 commented 9 months ago

@GeoBrodas The PR for CNAME support was never merged so it won't support CNAME record but it will support URL, IPFS, ARWV and SHDW records.

We are planning to refactor this cloudflare worker from Rust to Typescript and add CNAME support in the coming weeks.

GeoBrodas commented 9 months ago

Alrightyy 👍🏼

dr497 commented 9 months ago

@GeoBrodas CNAME should now be supported

GeoBrodas commented 9 months ago

@dr497 So now setting it here should work fine? image