DEV Community

conjurer
conjurer

Posted on

DNS: More Than Just a Web Directory

Domain Name System

Laziness led to Domain = D here.

Intro

It's not just 1 system that caches all the millions of sites, something deeper.
It consists of 3 servers:
servers

So, the Auth servers (3rd) store the Ds with their IP addresses. The text instructions to determine the IP address for a specific D are DNS records or zone files.

Let's see some!

  1. A | AAAA : resolve D to IPv4 | IPv6
  2. PTR : reverse of 1, check email spams
  3. CNAME : aka another domain (when typing www.instagram.com, it leads to instagram.com)
  4. MX : the server to send email to
  5. NS : name of auth server
  6. SRV : get service and port number
  7. TXT : text info about D

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay