: How can I create lots of sub-domains each one with its own IP address? I have an application that has a lot of worker servers, and the servers number is increasing with time, I want to assign
I have an application that has a lot of worker servers, and the servers number is increasing with time, I want to assign a sub-domain for each one of these servers, for example: srv1.domain.com ... srv100.domain.com, my main goal is to serve files from them.
Beside creating an A DNS record for each one of these servers, is there a better way to do this ?
I checked the DNS records for a domain that has a similar setup, I've found that the root domain doesn't have any A records for the sub-domains, but the sub-domains have, for example:
Using dig:
$ dig rootdomain.com ANY
It showed the NS records without any A records at all for the sub-domains, but
$ dig srv1.sub.rootdomain.com ANY
Showed an A record pointing to the server, how is that possible ? and how can I have a similar setup ?
More posts by @Shanna517
1 Comments
Sorted by latest first Latest Oldest Best
You seem to be on the right path. If you intend to give each server an IP address, then you will need to create an A record for each server/sub-domain.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.