Skip to main content

Command Palette

Search for a command to run...

DNS Record Types

Published
โ€ข1 min readโ€ขView as Markdown
DNS Record Types

๐ŸŒ What is DNS (Domain Name System)?

DNS (Domain Name System) is like the phonebook of the Internet. It translates easy-to-remember domain names (like www.google.com) into IP addresses (like 142.250.190.14) that computers use to identify each other on the network.

Why DNS is needed:

  • Humans remember names easily.

  • Computers communicate using IP addresses.

  • DNS connects domain names to IP addresses.

How DNS works (simple steps):

  1. You type a website name in your browser.

  2. Your computer asks a DNS server for the IP address.

  3. DNS server replies with the correct IP address.

  4. Your browser connects to that IP and loads the website.

DNS Record Types (Explained):

1. A Record (Address Record)

  • Maps a domain name to an IPv4 address

  • Example:

    โ†’ 93.184.216.34

2. AAAA Record (IPv6 Address Record)

  • Maps a domain name to an IPv6 address

  • Example:

  • โ†’ 2001:0db8:85a3::8a2e:0370:7334

3. CNAME Record (Canonical Name Record)

  • Creates an alias of one domain to another

  • Example:

  • โ†’ gooogle.com

4. NS Record (Name Server Record)

  • Shows which DNS servers are authoritative for the domain

  • Example:

  • โ†’ ns1.dnsprovider.com