DNS and Cloudflare

Visual explainer built with Hyperframes-style timing

Step 1: The question

DNS turns names into routes.

Your browser starts with a friendly name, then asks the DNS system where that service actually lives.

https://example.com
example.com
needs an IP address
Step 2: The lookup chain

Resolvers walk the DNS hierarchy.

Browser
Recursive resolver
Root
TLD
Authoritative DNS
1
Ask a resolverUsually your ISP, device, or a public resolver.
2
Find the authorityRoot and TLD servers point toward the domain's DNS host.
3
Return the answerThe browser receives records such as A, AAAA, CNAME, MX, or TXT.
Step 3: Cloudflare joins the path

Cloudflare can be DNS host, proxy, cache, and shield.

DNS only

Cloudflare answers DNS, then points visitors straight to your origin.

User
DNS
Origin

Proxied

Cloudflare answers DNS and becomes the network front door for HTTP traffic.

User
Cloudflare edge
Origin
Step 4: What the edge does

Traffic reaches the nearest Cloudflare data center first.

From there, Cloudflare can block bad requests, cache static assets, terminate TLS, and forward only needed traffic to your origin.

CF
DNSFast authoritative answers.
WAFRules stop unwanted traffic.
CDNCached files serve nearby.
The mental model

DNS is the directory. Cloudflare is the front door.

Put together, they make a domain easier to reach, safer to expose, and faster to serve globally.

1. NameA visitor enters a domain instead of memorizing an IP address.
2. ResolveDNS returns the records needed to route the request.
3. ProtectCloudflare can inspect and filter traffic before origin.
4. AccelerateCached content and nearby edge locations reduce round trips.