echobash.com in the address bar and pressed Enter. The browser immediately checks its own internal DNS cache — a small, fast lookup table it keeps in memory from previous visits. Cache entries expire when their TTL runs out.getaddrinfo()). The browser hands off the hostname and waits for an IP back.
getaddrinfo("echobash.com") — please give me an IP address!"
getaddrinfo() call from the browser. The OS first checks the /etc/hosts file (manual overrides), then its own DNS cache (responses it stored from recent lookups). Both miss — so it opens a UDP socket to the configured DNS resolver./etc/resolv.conf on Linux/macOS lists the upstream DNS server IP — often set by your Wi-Fi router via DHCP. That IP (e.g. 8.8.8.8) is where the OS sends the UDP query. Flush cache: macOS: sudo dscacheutil -flushcache / Linux: systemd-resolve --flush-caches
Query: echobash.com IN A| Letter | Operator | IPv4 |
|---|---|---|
| a | Verisign | 198.41.0.4 |
| b | USC-ISI | 199.9.14.201 |
| f | Internet Systems Consortium | 192.5.5.241 |
| k | RIPE NCC | 193.0.14.129 |
| m | WIDE Project | 202.12.27.33 |
a.gtld-servers.net at 192.5.6.30"
a.gtld-servers.net at 192.5.6.30 with the same query. The .com TLD server's database is essentially a giant registry of every registered .com domain mapped to its authoritative nameservers. It does NOT store A records — only NS delegation records telling you WHO to ask next.Query: echobash.com IN A → a.gtld-servers.netns1.cloudflare.com at 173.245.58.45 — they have the actual A records."
ns1.cloudflare.com at 173.245.58.45 — this is the authoritative nameserver. This means Cloudflare has the actual DNS zone file for echobash.com. The domain owner logged into Cloudflare's dashboard and added A records pointing to GitHub Pages IPs. This is the only server that can give a final, authoritative "yes, here is the IP" answer.Query: echobash.com IN A → ns1.cloudflare.com:53TCP SYN → 185.199.108.153:443 → receives SYN-ACK → sends ACK → TLS ClientHello → … → HTTP/2 GET / → 200 OK → page loads!
Loading echobash.com A record...
| Cache Location | Duration | On Expiry |
|---|---|---|
| Authoritative NS | Permanent | Never expires |
| Recursive Resolver | TTL value (3600s) | Re-queries auth NS |
| OS Cache | TTL value | Forwards to resolver |
| Browser Cache | TTL (often shorter) | New OS lookup |
$ dig echobash.com A +noall +answer
echobash.com. 3600 IN A 185.199.108.153
$ dig +short echobash.com
185.199.108.153
185.199.109.153
| Type | Purpose | Example for echobash.com |
|---|---|---|
| A | IPv4 Address Maps domain name to a 32-bit IPv4 address. The most common record type. | echobash.com. 3600 IN A 185.199.108.153 |
| AAAA | IPv6 Address Maps domain to a 128-bit IPv6 address. The future-proof version of A records. | echobash.com. 3600 IN AAAA 2606:50c0:8000::153 |
| CNAME | Canonical Name (Alias) Points one domain name to another. Resolvers follow the chain. Cannot be used at zone apex. | www.echobash.com. 3600 IN CNAME echobash.github.io. |
| MX | Mail Exchange Specifies mail servers for the domain. Priority value determines order (lower = higher priority). |
echobash.com. IN MX 1 aspmx.l.google.com. echobash.com. IN MX 5 alt1.aspmx.l.google.com. |
| NS | Nameserver Delegates a DNS zone to an authoritative nameserver. These are set at your domain registrar. |
echobash.com. 86400 IN NS ns1.cloudflare.com. echobash.com. 86400 IN NS ns2.cloudflare.com. |
| TXT | Arbitrary Text Data Used for SPF (email auth), DKIM keys, domain verification (Google, GitHub), DMARC policies. | echobash.com. IN TXT "v=spf1 include:_spf.google.com ~all" |
| SOA | Start of Authority Contains zone metadata: primary NS, admin email, serial number, refresh/retry/expire times. | echobash.com. IN SOA ns1.cloudflare.com. dns.cloudflare.com. 2024010101 10800 3600 604800 3600 |
| PTR | Reverse DNS Pointer Maps an IP address back to a hostname. Used for spam filtering, network diagnostics. Set by your hosting provider. | 153.108.199.185.in-addr.arpa. IN PTR cdn-185-199-108-153.github.com. |
| CAA | Certificate Authority Authorization Restricts which Certificate Authorities (CAs) can issue SSL certs for your domain. Important security control. |
echobash.com. IN CAA 0 issue "letsencrypt.org" echobash.com. IN CAA 0 issue "pki.goog" |