DNS Working

DNS Working

Demystifying DNS: How Domain Names Become Web Addresses

How can you call someone without knowing their name?

The person must have some name by which you can call it with that name.

Same thing is with the internet or we can say the website where we can visit to do some work aur anything else that you want to do .

But if there is not any website so how you can do that work.

So For resolving this issue we come with a small thing to get known about the DNS.

What is DNS?

It is basically a name given to the website that is easily accessible and remembering by the humans unlike of the IP addresses which is very difficult for the humans to get the remember in their mind. It Is not easy to get rid of this IP addresses so for solving this issue DNS comes and do there work.

Why It is Important?

It is very important because it is very difficult for the humans to always remember the IP address of a webpage or a website , so for resolving this issue it is very important to give a specific Domain Name to the IP Address so that the user can easily get remind of the domain name and get visit to the webpage or the website where the user wants to visit.

It Enhances the speed of the website . Without DNS the websites should take more time to load as compared to usual time .

It helps in protecting the website from harmful viruses. It’s services basically acts as a Firewall and prevents you from visiting the harmful websites.

USE OF PROTOCOL IN DNS :

DNS server works on a UDP Protocol. This means that the main motive of this is to give the information to the user as soon as possible or loading the Pages of the website in a very least Occurring time. This helps the visiters to their work very smoothly and in a very efficient Manner.

Understanding of the Records In DNS

At first we will talk about the different types of record used in DNS:

  • A Record (Address Record)

  • AAAA Record (IPv6 Address Record)

  • CNAME Record (Canonical Name Record)

  • MX Record (Mail Exchange Record)

  • TXT Record (Text Record)

  • NS Record (Name server Record)

  • PTP Record (Pointer Record)

  • SOA Record (Start of Authority Record)

  • SRV Record (Service Record)

  • CAA Record (Certificate Authority Authorization Record )

Now Lets Have a Small Discussion Related to the Records…

  • A Record (Address Record) - It maps a domain name to an IPv4 address (a numerical address). Ex- www.example.com A 93.184.216.34 . It means that example.com corresponds to the IP address 93.184.216.34.

  • AAAA Record (IPv6 Address Record) - It maps a domain name to an IPv6 address (a newer type of IP address).

    Ex - www.example.com AAAA 2606:2800:``220:1:248:1893:25c8:1946
    This means that example.com corresponds to the IPv6 address 2606:2800:220:1:248:1893:25c8:1946.

  • CNAME Record (Canonical Name Record) - It allows you to alias one domain name to another. This means that one domain points to another, and the second domain’s A or AAAA record is used.

    Example:
    www.example.com CNAME example.com
    This means that example.com is an alias for example.com, and if you visit example.com, you'll actually be redirected to example.com.

  • MX Record (Mail Exchange Record) - It specify the mail servers that are responsible for receiving email for a domain.

    Example:
    example.com MX 10 mail.example.com
    It means that the mail server responsible for handling emails for example.com is mail.example.com, and the 10 is the priority of the mail server (lower numbers have higher priority).

  • TXT Record (Text Record) - They are used to store textual information for various purposes, such as email verification (SPF, DKIM) or domain ownership verification.

    Example:
    example.com TXT "v=spf1 include:_spf.example.com ~all"
    This is an SPF (Sender Policy Framework) record, which is used to prevent email spoofing by specifying which mail servers are allowed to send emails for example.com.

  • NS Record (Name server Record) : Specifies the authoritative name servers for a domain. These servers store the DNS records for that domain.

    Example:
    example.com NS ns1.nameserver.com
    This means that ns1.nameserver.com is an authoritative DNS server for example.com.

  • PTP Record (Pointer Record) : They are used for reverse DNS lookups. They map an IP address to a domain name, allowing you to find the domain associated with an IP.

    Example:
    34.216.93.93.in-addr.arpa PTR example.com
    This means that the IP address 93.216.34 maps to the domain example.com.

  • SOA Record (Start of Authority Record) : It provides information about the zone (DNS records for a domain), including the primary authoritative DNS server, the email of the domain administrator, and some timers (like how often DNS information should be refreshed).

    Example:
    example.com SOA ns1.nameserver.com admin.example.com (2023011701 7200 3600 1209600 86400)
    This means that ns1.nameserver.com is the primary DNS server for example.com, and the domain administrator's email is

  • SRV Record (Service Record) : It is used to define specific services available on the domain, like a chat service or a VoIP service, and direct traffic to the right server.

    Example:
    _sip._tcp.example.com SRV 10 60 5060 sipserver.example.com
    This means that the SIP service for example.com is available on sipserver.example.com at port 5060, with a priority of 10 and weight of 60.

  • CAA Record (Certificate Authority Authorization Record ) : It specifies which Certificate Authorities (CAs) are allowed to issue SSL/TLS certificates for a domain.

    Example:
    example.com CAA 0 issue "letsencrypt.org"
    This means that only Let's Encrypt is allowed to issue certificates for example.com.

SUMMARY :

DNS may work quietly behind the scenes, but it’s one of the unsung heroes of the internet. Without it, we’d be stuck memorizing long strings of numbers instead of simply typing in a website name. Whether you're browsing your favorite sites, sending emails, or connecting with others online, DNS is working hard to make sure your experience is smooth and efficient.

So, next time you visit a website, take a moment to appreciate the power of DNS—an essential part of the digital world that keeps everything running seamlessly!

Certainly! Here's a thoughtful ending to thank your readers for their time and attention:

Thanks for Reading..

I know your time is valuable, and I truly appreciate you taking a moment to dive into the world of DNS with me . Understanding the systems that power the internet can make all the difference in how we interact with the digital world. I hope this blog gave you some insight into how DNS works and why it’s so important in our daily online experiences.

Stay curious, keep exploring, and thank you for being part of our community of readers. Until next time, happy browsing!