Skip to content

Techeons

Imagine | Explore | Innovate

Menu
  • Home
Menu

DNS Explained

Posted on September 5, 2024

What is DNS?

DNS stands for Domain Name System. It’s like a phonebook for the internet, translating human-readable domain names (like google.com) into IP addresses (like 142.250.189.174) that computers can understand.

How does DNS work?

  1. Domain Name Registration: When you register a domain name, it’s added to a global database.
  2. DNS Records: Your domain name is linked to an IP address through DNS records (e.g., A records, CNAME records, etc.).
  3. DNS Query: When you enter a URL or send an email, your device sends a DNS query to a DNS resolver (usually provided by your ISP or operating system).
  4. DNS Resolution: The DNS resolver asks multiple DNS servers (in a hierarchical order) to find the IP address associated with the domain name.
  5. IP Address Retrieval: Once the IP address is found, it’s returned to your device, allowing you to access the website or send the email.

DNS is a crucial system that enables us to access online resources using easy-to-remember domain names instead of difficult-to-remember IP addresses!

Types of DNS Records

  1. A Record (Address Record): Maps a domain name to an IP address (e.g., google.com → 142.250.189.174).
  2. CNAME Record (Canonical Name Record): Maps an alias or subdomain to the main domain name (e.g., xyz.com → example.com).
  3. MX Record (Mail Exchanger Record): Directs email to a mail server.
  4. NS Record (Name Server Record): Identifies the name servers responsible for a domain.
  5. PTR Record (Pointer Record): Maps an IP address to a domain name (reverse DNS, e.g., 142.250.189.174 → google.com).
  6. SOA Record (Start of Authority Record): Specifies the DNS server responsible for a domain and other domain-related info.
  7. TXT Record (Text Record): Contains text information about a domain (e.g., SPF records, DKIM keys).
  8. SRV Record (Service Record): Specifies the location of services like VoIP or instant messaging.
  9. AAAA Record (IPv6 Address Record): Maps a domain name to an IPv6 address.
  10. CAA Record (Certification Authority Authorization Record): Specifies which CAs are allowed to issue SSL/TLS certificates for a domain.

These records work together to ensure that your domain name is correctly linked to your online resources, like websites and email servers!

Share on Social Media
x facebook pinterest linkedin tumblr reddit emailwhatsapptelegrammastodon

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Nginx: How to increase timeout for Nginx
  • Cheat Sheet: Essential Git Commands
  • Setting a default shell in Linux
  • Setting up Composer on Linux
  • Switch easily between Python versions on a Mac using pyenv

Tags

ai alerting aws b2 backblaze certificate cheatsheet cloud commands data-science datalake devops dns docker dremio git gitlab infra jenkins kubernetes linux metabase minikube minio monitoring mount mysql nginx nodejs notebooks openssh php python scala secrets spark ssh ssl ubuntu ufw usb web dev tools windows xampp zeppelin

©2026 Techeons | Design: Newspaperly WordPress Theme