๐Ÿš€ NeededCode

Related Posts

0 Related Posts

Categories

What is DNS?

Uhel

Feb 18, 2022
AWS

What is DNS?

Domain name system which translates the human-friendly hostnames into the machine IP addresses

  • www.google.com โ‡’ 172.17.18.36
  • DNS is the backbone of the internet
  • DNS uses a hierarchical naming structure:
  • .com
  • example.com
  • www.example.com
  • api.example.com
  • DNS Terminologies

  • Domain Registrar: Amazon Route 53, GoDaddy, NameCheap
  • DNS Records: A, AAAA, CNAME
  • Zone File: contains DNS records
  • Nameserver: resolves DNS queries (Authoritative or Non-Authoritative)
  • Top Level Domain (TLD): .com, .pl
  • Second Level Domain (SLD) amazon.com, google.com
  • Screenshot 2022-02-07 at 20.33.18.png

    How DNS Works?

    Screenshot 2022-02-07 at 20.37.20.png

    When a user requests to view a page let's say then the first call will be made to our local DNS Server that is assigned by the company or ISP. If there is no translation in the local DNS then we hit Root DNS Server which is managed by ICANN and heโ€™s response is address pointing to DNS that knows how to handle .com then TLD DNS server .com managed by IANA knows that there is an SLD DNS server that knows how to resolve

    F4CFBD7A-929D-4393-9EE5-35C967974EDC.png

    Record Type - NameRecord Type - Description
    AA (address) - Most commonly used to map a fully qualified domain name (FQDM) to an IPv4 address and acts as a translator by converting domain names to IP addresses.
    AAAAAAAA (quad A) - Similar to A records but maps to an IPv6 address (smart-phones prefer IPv6, if available)
    ANAMEANAME - This record type allows you to point the root of your domain to a hostname or FQDN.
    CNAMECNAME (Canonical Name) - An alias that points to another domain or subdomain, but never an IP address.
    SOASOA (Start of Authority) - Stores information about domains and is used to direct how a DNS zone propagates to secondary nameservers

    Uhel

    Uhel

    Uhel posts only needed code.

    Leave a Comment