Question: We have 7000+ DNS subdomains under cotoso.com, we want to map them to 2 IP address, e.g. subdomain1-4000 to IP1, 4001-7000 to IP2. What's the best way to do this?
Background: Our company provides SAAS software. We have 1 root domain (let's say cotoso.com), and then assign one subdomain for each customer company (e.g. company1.cotoso.com, company1.cotoso.com). Each company logon and use our SAAS by given subdomain.
Previously, our business is small, we has only 1 service deployment. therefore, the DNS setup is pretty easy, just set A record to map *.cotoso.com to our load balancer.
As business grows, we are planning to make multiple deployments on different Datacenters. However, DNS becomes a big problem. Right now, we have about 7,000 customers, we want to move half of them to new datacenter, how do we setup the DNS record?
My throught is using 3 level domain:
*.southeast.cotoso.com A 1.2.3.4
*.south.cotoso.com A 1.2.3.5
however, there are conflict between 3level wildcard and 2 level wildcard DNS record, so we cannot migrate the existing users to new 3level domain.
Any help are appreciated.
Thanks,