Skip to main content

Command Palette

Search for a command to run...

DNS Record Types Explained ?

Published
•2 min read•View as Markdown
DNS Record Types Explained ?

🌐 DNS Record Types Explained

DNS (Domain Name System) is the system that translates website names into IP addresses so computers can find each other on the internet.

👉 Humans use names like google.com
👉 Computers use numbers like 142.250.190.14

A Record (Address Record)

  • Purpose: Maps a domain name to an IPv4 address

  • Example:
    example.com → 93.184.216.34

  • Use case: Basic website hosting


AAAA Record (IPv6 Address)

  • Purpose: Maps a domain to an IPv6 address

  • Example:
    example.com → 2606:2800:220:1:248:1893:25c8:1946

  • Use case: Modern networks using IPv6


CNAME Record (Canonical Name)


MX Record (Mail Exchange)

TXT Record (Text Record)

  • Purpose: Stores text-based information

  • Common uses:

    • Domain verification

    • SPF / DKIM / DMARC (email security)

  • Example:
    "v=spf1 include:_spf.google.com ~all"


NS Record (Name Server)

  • Purpose: Specifies which servers manage DNS for the domain

  • Example:
    ns1.hostingprovider.com

  • Use case: DNS delegation


🔧SRV Record (Service Record)

  • Purpose: Defines services and ports

  • Example:
    _sip._tcp.example.com

  • Use case: VoIP, chat, and service discovery

    PTR Record (Pointer Record)

    • Purpose: Reverse DNS (IP → Domain)

    • Example:
      93.184.216.34 → example.com

    • Use case: Email validation & security

More from this blog

Sapana Raval

13 posts