# how DNS works

Published articles for how DNS works.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How DNS Works for DevOps Engineers

DevFeed: [How DNS Works for DevOps Engineers](<https://devfeed.tech/articles/how-dns-works-for-devops-engineers-17483.md>)

Original publisher: [Read original article](<https://kodekloud.com/blog/how-dns-works-for-devops-engineers/>)

Author: Pramodh Kumar M

Published: 2026-07-31T17:00:06Z

Content type: tutorial

Language: en

Sources: [Kubernetes - KodeKloud Blog | DevOps, Cloud, Kubernetes, AI Tutorials & More](<https://devfeed.tech/sources/kubernetes-kodekloud-blog-devops-cloud-kubernetes-ai-tutorials-more.md>)

Topics: [DevOps](<https://devfeed.tech/topics/devops.md>), [Internet](<https://devfeed.tech/topics/internet.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [1-1-1-1](<https://devfeed.tech/tags/1-1-1-1.md>), [authoritative-name-server](<https://devfeed.tech/tags/authoritative-name-server.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cname-vs-a-record](<https://devfeed.tech/tags/cname-vs-a-record.md>), [coredns-kubernetes](<https://devfeed.tech/tags/coredns-kubernetes.md>), [devops](<https://devfeed.tech/tags/devops.md>), [dig-command-examples](<https://devfeed.tech/tags/dig-command-examples.md>), [dns](<https://devfeed.tech/tags/dns.md>), [dns-for-devops-engineers](<https://devfeed.tech/tags/dns-for-devops-engineers.md>), [dns-record-types](<https://devfeed.tech/tags/dns-record-types.md>), [dns-resolution-process](<https://devfeed.tech/tags/dns-resolution-process.md>), [dns-troubleshooting](<https://devfeed.tech/tags/dns-troubleshooting.md>), [guide](<https://devfeed.tech/tags/guide.md>), [health-checks](<https://devfeed.tech/tags/health-checks.md>), [how-dns-works](<https://devfeed.tech/tags/how-dns-works.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [lookup](<https://devfeed.tech/tags/lookup.md>), [networking](<https://devfeed.tech/tags/networking.md>), [outage](<https://devfeed.tech/tags/outage.md>), [production](<https://devfeed.tech/tags/production.md>), [recursive-resolver](<https://devfeed.tech/tags/recursive-resolver.md>), [security](<https://devfeed.tech/tags/security.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [ttl-in-dns](<https://devfeed.tech/tags/ttl-in-dns.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

A practical guide to DNS for DevOps engineers, tracing a lookup from a laptop through recursive, root, TLD, and authoritative servers. It explains TTL, caching, Kubernetes DNS and ndots, troubleshooting with command-line tools, and the security risk of dangling records.

### Source excerpt

Almost every engineer uses DNS a hundred times a day and has never been taught how it works. This guide follows a single lookup from your laptop to the answer, then shows you exactly where it breaks in production.

## What Happens When You Type a URL? DNS Explained for Developers

DevFeed: [What Happens When You Type a URL? DNS Explained for Developers](<https://devfeed.tech/articles/what-happens-when-you-type-a-url-dns-explained-for-developers-17752.md>)

Original publisher: [Read original article](<https://blog.amigoscode.com/p/what-happens-when-you-type-a-url>)

Author: Nelson Djalo

Published: 2025-05-28T16:05:32Z

Content type: tutorial

Language: en

Sources: [Amigoscode Newsletter](<https://devfeed.tech/sources/amigoscode-newsletter.md>)

Topics: [Internet](<https://devfeed.tech/topics/internet.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [1.1.1.1](<https://devfeed.tech/topics/1-1-1-1.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [1-1-1-1](<https://devfeed.tech/tags/1-1-1-1.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [debug](<https://devfeed.tech/tags/debug.md>), [developers](<https://devfeed.tech/tags/developers.md>), [dns](<https://devfeed.tech/tags/dns.md>), [google](<https://devfeed.tech/tags/google.md>), [guide](<https://devfeed.tech/tags/guide.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [how-dns-works](<https://devfeed.tech/tags/how-dns-works.md>), [internet](<https://devfeed.tech/tags/internet.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

This developer guide explains how DNS translates a domain name into an IP address when a URL is entered. It follows the lookup from the browser and local cache through a resolver, root server, TLD server, and authoritative server before the browser connects to the destination server. It also introduces common DNS components, issues, and debugging considerations.

### Source excerpt

Learn how DNS works, step-by-step, from the browser to the server. This Amigoscode guide makes DNS easy to understand for developers.

## Building a DNS Server That Resolves Requests to Cats

DevFeed: [Building a DNS Server That Resolves Requests to Cats](<https://devfeed.tech/articles/oops-i-accidentally-the-whole-dns-35533.md>)

Original publisher: [Read original article](<https://meowni.ca/posts/oops-cat-dns/>)

Author: Monica Dinculescu

Published: 2014-02-06T00:00:00Z

Content type: opinion

Language: en

Sources: [Monica Dinculescu](<https://devfeed.tech/sources/monica-dinculescu.md>)

Topics: [how DNS works](<https://devfeed.tech/topics/how-dns-works.md>), [servers](<https://devfeed.tech/topics/servers.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [authoritative name server](<https://devfeed.tech/topics/authoritative-name-server.md>), [Internet](<https://devfeed.tech/topics/internet.md>)

Tags: [authoritative-name-server](<https://devfeed.tech/tags/authoritative-name-server.md>), [caching](<https://devfeed.tech/tags/caching.md>), [dns](<https://devfeed.tech/tags/dns.md>), [how-dns-works](<https://devfeed.tech/tags/how-dns-works.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

A work-in-progress account of building a DNS server that resolves every request to cats. The article also explains the DNS resolution process, including recursive caching, root, top-level-domain, and authoritative name servers, and describes the challenges of parsing and testing DNS.

### Source excerpt

Here is my confession, internet: I am writing a cat DNS. That is, a DNS server that resolves everything to cats. You want your email? Cat! You want to check the weather? Cat! It's always cat. Wait why? We were talking at work about DNSes, and it turns out I only hand wavingly know how they work. I also like things that troll you. The reason why this post is about what I'm doing and not about what I've done, is because my server isn't done yet. Let me try to explain. The DNS spec is ridiculous. I genuinely don't want to parse it; It's got a billion fields, it's written in Courier New, and it is really boring. Pros: I have found a nodejs project on github that I'm working from. Cons: it doesn't work for me. Testing the DNS server is ridiculous. You take your DNS server for granted, dear reader. I know this, because the moment I set my crappy, barely-running, returning-nothing service as my DNS, a hundred thousand requests started coming in. You see, every service in the universe (gmail, hangouts, apple notifications, twitter) polls their mothership every second to check for updates. All these polls come to your server. All you want is to try to go to www.google.com in a tab and see what happens. It meeps, that's what happens. MEEP. DNS: How do it do it? You know how DNS works. You give a server a human readable hostname, like www.google.com, and it gives you back the IP address (like 74.125.226.113) where the thing you are looking for actually lives. Here's pretty much how it goes. You type in www.google.com. We're off to the races! This goes to a recursive caching name server, which, after doing some work, will give you the IP you need. This name server has a list of hints, such as addresses of root name serves, and most likely a cache of popular requests. Let's say it doesn't have an answer cached, which means it will go ask a root nameserver. A root nameserver might not know the IP of your service, but knows the IP of the top level domain you need to speak to (in t