We are using the current CNAME record for a server, i.e.
foo.example.com => CNAME => server1.example.com
server1.example.com => CNAME => ec2-34-142-138-31.compute-1.amazonaws.com
ec2-34-142-138-31.compute-1.amazonaws.com => A => 34.142.138.31
- Is this configuration common?
- Is the performance penalty when using 2 CNAME records critical?
- To minimize the impact of CNAME lookup, should I set a larger TTL for the 1st CNAME, but shorter CNAME for the 2nd CNAME?
i.e.
foo.example.com => CNAME (TTL=86400) => server1.example.com
server1.example.com => CNAME (TTL=300) => ec2-34-142-138-31.compute-1.amazonaws.com
Comments
Post a Comment