is-a-dev / register

Grab your own sweet-looking '.is-a.dev' subdomain.
https://is-a.dev
GNU General Public License v3.0
3.31k stars 7.64k forks source link

Feedback/suggestion: Underscores and/or better TXT records. #16469

Closed saxophone-guy closed 4 weeks ago

saxophone-guy commented 4 weeks ago

What do you want added?

I feel that adding a way to set up TXT records to specific names is a needed feature, because for setting up an IPFS-based website through gateways without CNAME records on the apex domain is unnecessarily difficult, requiring the use of a proxy setup.

Perhaps such a way can be applied:

"records": {
    "TXT": {
        "@": "Something here",
        "_dnslink": "dnslink=/ipfs/..."
    }
}
saxophone-guy commented 4 weeks ago

PS: Creating subdomains doesn't work as underscores aren't allowed (alphanumerical, remember?)

VaibhavSys commented 4 weeks ago

Specific whitelisted underscore prefixes are allowed, if you have a valid use case then you can suggest it to be whitelisted.

wdhdev commented 4 weeks ago

As @VaibhavSys said, specific domains with underscores in them are allowed. (e.g. _discord, _gitlab-pages-verification-code, _acme-challenge, etc.) You can see the list here: https://github.com/is-a-dev/register/blob/main/utils/validations.js#L55-L65

If you want a specific one added, please open a new issue and we can likely add it!