logoalt Hacker News

tredre3today at 4:48 PM1 replyview on HN

DNS allows any character you want, including underscores. Host names in URLs cannot contain underscores. Therefore any service that create subdomains for user would reject underscores, which is why they're considered de-facto reserved for special uses in DNS. I don't think the reserved nature is codified in any RFC.


Replies

Bendertoday at 4:54 PM

Testing [1] Works in Firefox, Helium and Curl but I do not have Chrome or Safari to test with.

[1] - https://_test.nochan.net/

show 1 reply