TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hostnames and usernames to reserve

206 pointsby paulproteusover 9 years ago

13 comments

zimbatmover 9 years ago
When github used to host &quot;pages&quot; under github.com I remember registering &quot;blog.github.com&quot; (and reporting obviously). If you take the social-engineering into account the list should be made long: login, support, status, help, ...<p>Just to say, the list could be made much longer (eg: login)
评论 #10639345 未加载
jakobdaboover 9 years ago
Thanks, this was very informative.<p>I wonder how the pull requests for the public suffix domains are being checked. Can somebody use it as an attack surface by adding the victim&#x27;s domain in that list and effectively blocking their website from setting cookies?
_theskumarover 9 years ago
Faced with similar issues, I maintain a python library called python-usernames[1] with list of closed to 400 reserved words[2].<p>Publishing this as a library helps a lot collecting the wordlist over time and be able to use the same list in all my projects.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;theskumar&#x2F;python-usernames" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;theskumar&#x2F;python-usernames</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;theskumar&#x2F;python-usernames&#x2F;blob&#x2F;master&#x2F;usernames&#x2F;reserved_words.py#L4" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;theskumar&#x2F;python-usernames&#x2F;blob&#x2F;master&#x2F;us...</a>
beneaterover 9 years ago
See also <a href="https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc2142.txt" rel="nofollow">https:&#x2F;&#x2F;www.ietf.org&#x2F;rfc&#x2F;rfc2142.txt</a>
jnkyover 9 years ago
I would suggest adding &quot;autodiscover&quot; to the list of disallowed hosts. It is used by Microsoft Outlook and Exchange ActiveSync clients (e.g. in smartphones) to automatically detect the correct server settings.
ecesenaover 9 years ago
Also, you should include the name of your service itself, especially if users can produce content.<p>Edit: for similar reasons to blog.&#x2F;login.&#x2F;support. etc. (just read other comments)
J_Darnleyover 9 years ago
Congratulations for using example.com as it is meant to be used.
jonasvpover 9 years ago
Well, that would have been helpful when I announced <a href="http:&#x2F;&#x2F;www.browser-details.com" rel="nofollow">http:&#x2F;&#x2F;www.browser-details.com</a> on HN - it allows you to reserve a subdomain and it never even occurred to me that I&#x27;d have to restrict them (apart from the obvious regex).<p>So a thoughtful HNer taught me a lesson and reserved &quot;www&quot;. Took me a second to figure out why the site didn&#x27;t behave as expected...
dmdover 9 years ago
A popular MS Exchange cloud provider is <a href="http:&#x2F;&#x2F;webmail.domainlocalhost.com" rel="nofollow">http:&#x2F;&#x2F;webmail.domainlocalhost.com</a><p>Seriously. domainlocalhost.com.
shurcooLover 9 years ago
The article looks great and makes many good points, but I&#x27;ll pick on one: why disallow upper case letters from usernames?
评论 #10639022 未加载
评论 #10638931 未加载
protomythover 9 years ago
helpdesk is a pretty good choice to reserve just to keep people from doing some foolish things.
zimbatmover 9 years ago
Just compiled the list and added a few others:<p><a href="https:&#x2F;&#x2F;zimbatm.github.io&#x2F;hostnames-and-usernames-to-reserve&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zimbatm.github.io&#x2F;hostnames-and-usernames-to-reserve...</a><p>Feel free to use for your next PaaS !
supperover 9 years ago
I have handled this by only allowing more-than-one-word names to be use as subdomains, and made a slug out out of it, like so:<p>My Name =&gt; my-name.site.com<p>Is there any gotcha&#x27;s here for me?