Skip to Content
Navigation:

A stick figure smiling

If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

browse more comics!
read the transcript!

Let’s meet the cast and see how they communicate with each other!

browser: where’s example.com? (function call)
93.184.216.34!

function: where’s example.com? (DNS query)
93.184.216.34!

resolver: where’s example.com? (DNS query)
93.184.216.34!

authoritative nameservers

Your browser uses DNS to look up IP addresses every time it visits a domain, like example.com.
The browser has a DNS cache.

Your operating system provides a function to do DNS lookups. On Linux and Mac it’s getaddrinfo.
Your operating system also might have a DNS cache.

The function sends requests to a server called a resolver which knows how to find the authoritative nameservers.
The resolver has a DNS cache.

The authoritative nameservers are the servers where the DNS records are actually stored.
They’re wearing crowns because they’re In Charge.

Saturday Morning Comics!

Want another comic like this in your email every Saturday? Sign up here!

I'll send you one of my favourite comics from my archives every Saturday.
© Julia Evans 2021 | All rights reserved (see the FAQ for notes about licensing)