I want to setup a subdomain "ns" on my domain, but before I do want to double check if there could be any potential issues using such a subdomain.

For example ns.mywebsite.com

To my knowledge, there shouldn't be, but I know a lot of nameservers are just named ns#.domain.com (e.g. ns1.domain.com ns2.domain.com) so I don't know if that could cause any issues.


Some subdomains are reserved for specific purposes in DNS, like _domainkey for email authentication.

That being said, I don't believe that ns is one of those reserved subdomains, so you should be able to use it for whatever you want.

Actually, after doing some more research it seems like as long as you stay away from underscores, you should be fine. (Underscores for actual hostnames seem to cause trouble anyways.)

  • By the way, I was inspired by your question so I posed this more general one to Webmasters SE: List of reserved third-level DNS zones? Jan 18 '19 at 3:09
  • Underscores for actual hostnames don't just cause trouble, they're not permitted by the RFC.
    – A C
    Jan 18 '19 at 5:42
  • @AC Like some schmuck at the ietf is gonna tell me how I'm allowed use my domain name. Hold my beer _.maxl.us Jan 18 '19 at 7:16
  • Okay so they won't give me an ssl cert for it and half the DNS resolvers won't resolve it. But my principle stands. Jan 18 '19 at 7:28
  • This comment chain is hilarious and should end up being posted somewhere.
    – TheRyan722
    Jan 18 '19 at 11:44

There's no magic in the prefix names of a DNS entry. You can name them whatever you want. Obviously, some people will think name server as you've already pointed out but the DNS servers won't be confused.

  • "There's no magic in the prefix names of a DNS entry." This is mostly right and will correspond to end-users experiment. However for troubleshooting there are now prefixes with specific semantics, see rfc-editor.org/rfc/rfc8509.txt. In short a name such as root-key-sentinel-not-ta-<key-tag> under specific circumstances will trigger specific behaviour. Jan 22 '19 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.