A Content Delivery Network (CDN) is a network of servers distributed around the world. Instead of serving every visitor from a single server, a CDN directs users to the nearest or best-performing server.
This improves:
Popular CDN providers include Cloudflare, Akamai, Fastly, Amazon CloudFront, and Google Cloud CDN.
Suppose a website uses a CDN.
www.example.com
│
▼
CDN Network
│
┌──────┼────────┐
▼ ▼ ▼
USA Germany Japan
When users visit the website, they are automatically directed to the nearest CDN server.
GeoDNS (Geographic DNS) is a DNS technique that returns different IP addresses depending on the geographic location of the DNS resolver or the user.
Example:
| User Location | DNS Response |
|---|---|
| Germany | 203.0.113.10 |
| Japan | 203.0.113.20 |
| United States | 203.0.113.30 |
Although the domain name is identical, different users receive different IP addresses.
GeoDNS is often used by CDNs, but they are not the same.
| GeoDNS | CDN |
|---|---|
| DNS routing technique | Distributed server infrastructure |
| Returns different IP addresses | Serves website content |
| Operates during DNS resolution | Operates after the connection is established |
If a domain uses GeoDNS or a CDN, different DNS servers may receive different answers.
Example:
| DNS Resolver | Returned IP |
|---|---|
| Google DNS (United States) | 198.51.100.20 |
| European Resolver | 198.51.100.30 |
| Asian Resolver | 198.51.100.40 |
This behavior is expected and does not indicate a DNS configuration problem.
Many modern CDNs use Anycast networking.
With Anycast:
Example:
www.example.com → 104.16.25.10
USA Germany Japan
│ │ │
└──────────┼──────────┘
│
Same Anycast IP
In contrast, GeoDNS returns different IP addresses depending on location.
A domain is likely using a CDN if:
Example:
www.example.com
│
▼
example.cdn.cloudflare.net
│
▼
104.16.25.10
Many websites use a CNAME record to point to a CDN.
Example:
www.example.com
CNAME
▼
example.cdnprovider.net
│
▼
203.0.113.25
The CDN's authoritative DNS servers then decide which IP address should be returned for each user.
Some providers also support root domains (`example.com`) using technologies such as ALIAS, ANAME, or CNAME Flattening.
Telenegar DNS Check can help identify CDN behavior by:
This makes it easier to distinguish between: