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:
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:
$ 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
A record pointing to the server, how is that possible ? and how can I have a similar setup ?