# Cat-DNS: learning about DNS with cats

DevFeed: [Cat-DNS: learning about DNS with cats](<https://devfeed.tech/articles/cat-dns-learning-about-dns-with-cats-35507.md>)

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

Author: Monica Dinculescu

Published: 2014-08-11T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Internet](<https://devfeed.tech/topics/internet.md>), [servers](<https://devfeed.tech/topics/servers.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [dns](<https://devfeed.tech/tags/dns.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [internet](<https://devfeed.tech/tags/internet.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [learning](<https://devfeed.tech/tags/learning.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

A talk that teaches DNS fundamentals, including how browsers communicate with DNS servers and how DNS servers communicate back. It also demonstrates writing a DNS server in under 200 lines of JavaScript while explaining why doing so may be inadvisable, using cats as the theme.

## Source excerpt

I talked about Cat-DNS at Cascadia.js, and it wasn't terrible! There is a video. Of me talking! On the internet! What a future we live in. =^..^= The internet needs more cats. DNS servers are the authority on all things internet. Therefore, the best DNS server is the one that resolves everything to cats. This talk is about that. We're going to walk through the basics and find out how DNS servers work, how you can talk to a DNS server if you're a browser, and how to talk back to a browser if you are a DNS server. I'll show you how you can write your own DNS server in less than 200 lines of JavaScript, but perhaps most importantly, why you probably shouldn't. And have I mentioned the cats? There are definitely cats. Video Slides