Question

DNS CNAME quantity restriction?

Hi there

Can you tell me if there are any quantity restrictions for DNS Cnames? I want to setup a cname for every Username of my users, (more than 1000 Users!)

Thanks alot ;)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Okay I asked the support and got the following answer:

*You can use as many CNAMEs as you wish. There is no limit.

Our DNS is a free DNS service, as long as you have droplets with us.*

I recommend adding a wildcard CNAME record instead as it scales better than thousands of records:

screenshot

This makes everything under yourdomain.com (such as user1.yourdomain.com, user2.yourdomain.com, something.user1.yourdomain.com, etc.) point to the same hostname which is yourdomain.com. in the screenshot.