I'm hoping someone can shed some light on DNS anames and cnames.
As I understand it:
- any domain can be an aname record, pointing at a single or multiple IP addresses
- top level domain names need to be anames (?)
- multiple anames can point at a single IP address (?)
- cnames can point at any aname or another cname
- cnames require the client to do multiple dns lookups until it hits an aname
Given the above, I assume I can have both server.example.com and www.server.example.com as anames pointing at a single IP address?
Is there any reason not to do this?
It's a small webserver with no email or anything fancy running on it.
Thanks
As I understand it:
- any domain can be an aname record, pointing at a single or multiple IP addresses
- top level domain names need to be anames (?)
- multiple anames can point at a single IP address (?)
- cnames can point at any aname or another cname
- cnames require the client to do multiple dns lookups until it hits an aname
Given the above, I assume I can have both server.example.com and www.server.example.com as anames pointing at a single IP address?
Is there any reason not to do this?
It's a small webserver with no email or anything fancy running on it.
Thanks