<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Navin</title>
    <description>The latest articles on DEV Community by Navin (@navindrenbaskaran).</description>
    <link>https://dev.to/navindrenbaskaran</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F157414%2F551e9962-98b9-4042-b284-1a3250953332.png</url>
      <title>DEV Community: Navin</title>
      <link>https://dev.to/navindrenbaskaran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/navindrenbaskaran"/>
    <language>en</language>
    <item>
      <title>Why OpenTelemetry matters, How is it beneficial and Why would you recommend it?</title>
      <dc:creator>Navin</dc:creator>
      <pubDate>Fri, 04 Nov 2022 16:10:28 +0000</pubDate>
      <link>https://dev.to/navindrenbaskaran/why-opentelemetry-matters-how-is-it-beneficial-and-why-would-you-recommend-it-4m11</link>
      <guid>https://dev.to/navindrenbaskaran/why-opentelemetry-matters-how-is-it-beneficial-and-why-would-you-recommend-it-4m11</guid>
      <description></description>
      <category>devops</category>
    </item>
    <item>
      <title>DNS 101</title>
      <dc:creator>Navin</dc:creator>
      <pubDate>Sat, 29 Oct 2022 17:32:21 +0000</pubDate>
      <link>https://dev.to/navindrenbaskaran/dns-101-3j6i</link>
      <guid>https://dev.to/navindrenbaskaran/dns-101-3j6i</guid>
      <description>&lt;h2&gt;
  
  
  What is DNS?
&lt;/h2&gt;

&lt;p&gt;DNS or Domain Name System exists to resolve a domain (i.e. YouTube.com) to an IP address.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why do we need DNS?
&lt;/h2&gt;

&lt;p&gt;We humans whenever we are accessing a site, we enter the domain name of the site. The reason is simple, names are much easier to be remembered over IP addresses.&lt;/p&gt;

&lt;p&gt;Wouldn't it be weird when your friend gives you an IP address, when you ask him where you can purchase the tickets to The 1975's concert online.&lt;/p&gt;

&lt;p&gt;Then, why do we need this you may ask?&lt;/p&gt;

&lt;p&gt;Good!&lt;/p&gt;

&lt;p&gt;Unfortunately, computers use IP addresses to identify one another on the internet, hence the DNS is for the computers!&lt;/p&gt;

&lt;p&gt;Have you wondered what happens when you enter YouTube.com web browser?&lt;/p&gt;

&lt;p&gt;DNS plays a major role here.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does DNS work?
&lt;/h2&gt;

&lt;p&gt;Now that we know what and why do we need DNS, is time for the fun part.&lt;/p&gt;

&lt;p&gt;How does DNS resolve youtube.com to an IP address?&lt;/p&gt;

&lt;p&gt;Before we dive in to understand the flow, we will first need to understand the critical components that facilitate a successful resolution.&lt;/p&gt;

&lt;h3&gt;
  
  
  Resolver
&lt;/h3&gt;

&lt;p&gt;The Resolver is a server responsible to receive DNS queries and track down the IPs of the domain in each of the DNS queries for successful resolution.&lt;/p&gt;

&lt;p&gt;Resolvers are usually managed and configured by our Internet Service Providers (ISPs) and are able locate the Root Server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Root Server
&lt;/h3&gt;

&lt;p&gt;The Root Server is the first contact point for the Resolver in it's journey to resolve a domain.&lt;/p&gt;

&lt;p&gt;Root server directs the Resolver to the appropriate Top Level Domain Server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Top Level Domain Server
&lt;/h3&gt;

&lt;p&gt;Before we address what a Top Level Domain server is, let's first understand what a Top Level Domain is.&lt;/p&gt;

&lt;p&gt;Top Level Domain refers to the last section of a domain name. For example the Top Level Domain of youtube.com is &lt;code&gt;.com&lt;/code&gt; and web.mit.edu is &lt;code&gt;.edu&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Each Top Level Domain has their own Top Level Domain server and they direct the Resolver to the Authoritative Name Server of the domain.&lt;/p&gt;

&lt;h3&gt;
  
  
  Authoritative Name Server
&lt;/h3&gt;

&lt;p&gt;The Authoritative Name Server is the final destination for the Resolver in the journey of resolving the domain, where it receives the IP of the domain being resolved.&lt;/p&gt;

&lt;p&gt;How are the Top Level Domain servers aware of the Authoritative Name Servers?&lt;/p&gt;

&lt;p&gt;That's easy, when we purchase a domain from a domain registrar (i.e. GoDaddy, NameCheap), the domain registrar usually provides a default Authoritative Name Server and it communicates that to the Top Level Domain server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Putting it all together
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8hoeky63ydhv8k9z6m5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi8hoeky63ydhv8k9z6m5.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;User types YouTube.com in Web Browser and the request to resolve the domain is forwarded to the Operating System.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Operating System forwards the request to the Resolver.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Resolver queries the Root Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Root Server responds to the Resolver's query by providing the address of the .com Top Level Domain Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Resolver then queries the .com Top Level Domain Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The .com Top Level Domain Server responds to the Resolver's query by providing the address of the Authoritative Name Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Resolver then queries the Authoritative Name Server of YouTube.com.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Authoritative Name Server provides the IP address of YouTube.com to the Resolver.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Resolver provides the IP address to the Operating System.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Operating System provides the IP address to the Web Browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Web Browser performs an HTTP request to the YouTube.com IP.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Server at the IP which handles the requests to YouTube.com returns the webpage to be rendered in the Web Browser&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>devops</category>
      <category>dns</category>
    </item>
  </channel>
</rss>
