CS FundamentalsHardGATE CS · product-company placement

A CDN maps www.shop.example (a CNAME into the CDN's domain) to a nearby server cluster through its own DNS. A user in Chennai uses a public resolver whose only server is in Frankfurt, and no EDNS Client Subnet is sent. Which cluster is the user likely to get, and why?

  1. A. Chennai, because the CDN looks up the user's IP from the TCP connection
  2. B. A random cluster, because CNAMEs disable location-based answers
  3. C. Chennai, because the CNAME carries the user's location to the CDN
  4. D. Frankfurt, because the CDN's DNS sees only the resolver's address

Correct answer: D. Frankfurt, because the CDN's DNS sees only the resolver's address

DNS-based redirection decides before any TCP connection exists, using the source of the DNS query, which is the resolver. Without ECS the CDN picks a cluster near Frankfurt; ECS was added to pass part of the client's address.

More Computer Networks questions

Exams that ask this topic