{"id":650,"date":"2023-12-13T15:02:17","date_gmt":"2023-12-13T09:32:17","guid":{"rendered":"https:\/\/mirchihost.com\/blog\/?p=650"},"modified":"2023-12-21T18:32:50","modified_gmt":"2023-12-21T13:02:50","slug":"the-best-guide-of-dns-for-better-understanding","status":"publish","type":"post","link":"https:\/\/mirchihost.com\/blog\/the-best-guide-of-dns-for-better-understanding\/","title":{"rendered":"The Best Guide of DNS For Better Understanding"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"what-is-dns\">What is DNS ?<\/h2>\n\n\n\n<p>    DNS, or Domain Name System, is a fundamental component of the internet that translates human-readable domain names into IP addresses. When you type a domain name (like domain.example.com) into your web browser, the DNS system is responsible for resolving that domain name to the corresponding IP address that identifies the server hosting the website.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/cf-assets.www.cloudflare.com\/slt3lc6tev37\/5exJlPlwAT2kQCITQhrIi9\/1f771294e218b64c0490e83968075766\/what_is_dns.png?w=1200&#038;ssl=1\" alt=\"\" style=\"width:602px;height:auto\" data-recalc-dims=\"1\"\/><\/figure><\/div>\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-dns\">What is DNS ?<\/a><\/li><li><a href=\"#what-is-domain-name-registration\">What is domain name registration?<\/a><\/li><li><a href=\"#how-does-dns-work\">How does DNS work?<\/a><ul><li><a href=\"#domain-name-request\">Domain Name Request<\/a><\/li><li><a href=\"#dns-resolver\">DNS Resolver:<\/a><\/li><li><a href=\"#recursive-query\">Recursive Query:<\/a><\/li><li><a href=\"#root-dns-servers\">Root DNS Servers<\/a><\/li><li><a href=\"#tld-dns-servers\">TLD DNS Servers<\/a><\/li><li><a href=\"#authoritative-dns-servers\">Authoritative DNS Servers<\/a><\/li><li><a href=\"#ip-address-response\">IP Address Response<\/a><\/li><li><a href=\"#local-cache\">Local Cache<\/a><\/li><li><a href=\"#connection-to-the-website\">Connection to the Website<\/a><\/li><\/ul><\/li><li><a href=\"#dns-records\">DNS  RECORDS<\/a><\/li><li><a href=\"#whats-the-difference-between-an-authoritative-dns-server-and-a-recursive-dns-resolver\">What&#8217;s the difference between an authoritative DNS server and a recursive DNS resolver?<\/a><ul><li><a href=\"#recursive-dns-resolver\">Recursive DNS resolver<\/a><\/li><li><a href=\"#authoritative-dns-server\">Authoritative DNS server<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-domain-name-registration\">What is domain name registration?<\/h2>\n\n\n\n<p>Domain name registration is the process of acquiring and registering a unique web address (domain name) on the internet. A domain name serves as the human-readable address that people use to access a website, and it plays a crucial role in identifying and locating websites on the World Wide Web.<br>If you want to get Your <a href=\"https:\/\/salemwebhosting.in\/domain-registration-salem.html\" rel=\"nofollow noopener\" target=\"_blank\">Domain Name Registration<\/a> check her<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-dns-work\">How does DNS work?<\/h2>\n\n\n\n<p>The process of Domain name registration resolution involves converting a hostname (such as www.example.com) into a computer-friendly IP address (such as 192.168.1.1). An IP address is given to each device on the Internet, and that address is necessary to find the appropriate Internet device &#8211; like a street address is used to find a particular home. When a user wants to load a webpage, a translation must occur between what a user types into their web browser (example.com) and the machine-friendly address necessary to locate the example.com webpage.<\/p>\n\n\n\n<p>In order to understand the process behind the DNS resolution, it\u2019s important to learn about the different hardware components a DNS query must pass between. For the web browser, the DNS lookup occurs &#8220;behind the scenes&#8221; and requires no interaction from the user\u2019s computer apart from the initial request.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"domain-name-request\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Domain Name Request<\/mark><\/strong><\/h6>\n\n\n\n<p>When you enter a domain name in your browser, your computer sends a DNS query to a DNS resolver (usually provided by your Internet Service Provider or configured elsewhere).<\/p>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"dns-resolver\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">DNS Resolver:<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The DNS resolver is responsible for finding the IP address associated with the requested domain name. It first checks its local cache to see if it already knows the IP address.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"recursive-query\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Recursive Query:<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>If the resolver doesn&#8217;t have the information, it initiates a recursive query. It may contact other DNS servers to find the IP address.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"root-dns-servers\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Root DNS Servers<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The resolver may start by querying the root DNS servers, which provide information about Top-Level Domains (TLDs) like .com, .org, etc.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"tld-dns-servers\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">TLD DNS Servers<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The resolver then contacts the TLD DNS servers based on the information obtained from the root servers. For example, if the domain is <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">domain.examples.com <\/mark>the resolver queries the .com TLD DNS server.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"authoritative-dns-servers\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Authoritative DNS Servers<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The TLD DNS server directs the resolver to the authoritative DNS servers for the specific domain (example.com). These authoritative servers contain the actual IP address information for the domain.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"ip-address-response\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">IP Address Response<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The authoritative DNS server sends the IP address back to the resolver.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"local-cache\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Local Cache<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>The resolver stores the IP address in its local cache for a certain period (time-to-live or TTL). Subsequent requests for the same domain can be answered directly from the cache, reducing the need for repeated DNS queries.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"connection-to-the-website\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">Connection to the Website<\/mark><\/strong><\/h6>\n\n\n\n<ul>\n<li>Finally, with the IP address obtained from DNS, your computer can connect to the web server hosting the requested website.<\/li>\n<\/ul>\n\n\n\n<p>DNS is crucial for the functionality of the internet, enabling users to access websites using human-readable domain names instead of remembering numerical IP addresses. It plays a vital role in making the internet more user-friendly and scalable.<\/p>\n\n\n\n<p>You can purchase the  VPS hosting server : <a href=\"https:\/\/mirchihost.com\/ \">https:\/\/mirchihost.com\/ <\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dns-records\">DNS  RECORDS<\/h2>\n\n\n\n<p>    DNS (Domain Name System) records are crucial components that store information associated with domain names. They map human-readable domain names to numerical IP addresses or contain other information related to domain configuration. Each DNS record type serves a specific purpose. Here are some common DNS record types:<\/p>\n\n\n\n<ol>\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">A (Address) Record:<\/mark><\/strong>\n<ul>\n<li>Associates a domain name with an IPv4 address. For example: css code <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-pale-cyan-blue-color\">example.com. IN A 192.168.1.1<\/mark><\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">AAAA (IPv6 Address) Record:<\/mark><\/strong>\n<ul>\n<li>Associates a domain name with an IPv6 address. Similar to the A record but for IPv6 addresses.yamlCopy code<code>example.com. IN AAAA 2001:0db8:85a3:0000:0000:8a2e:0370:7334<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">CNAME (Canonical Name) Record:<\/mark><\/strong>\n<ul>\n<li>Creates an alias for one domain to another domain. It is often used for subdomains or when a domain needs to point to another domain.objectivecCopy code<code>www.example.com. IN CNAME example.com.<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">MX (Mail Exchange) Record:<\/mark><\/strong>\n<ul>\n<li>Specifies mail servers responsible for receiving emails on behalf of the domain.Copy code<code>example.com. IN MX 10 mail.example.com.<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">TXT (Text) Record:<\/mark><\/strong>\n<ul>\n<li>Allows domain owners to attach arbitrary text to a domain. It is often used for domain verification, SPF records (for email authentication), and other purposes.arduinoCopy code<code>example.com. IN TXT \"v=spf1 include:_spf.example.com ~all\"<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">NS (Name Server) Record:<\/mark><\/strong>\n<ul>\n<li>Specifies authoritative DNS servers for the domain.Copy code<code>example.com. IN NS ns1.example.com.<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">PTR (Pointer) Record:<\/mark><\/strong>\n<ul>\n<li>Used for reverse DNS lookups, mapping an IP address to a domain name.Copy code<code>1.1.168.192.in-addr.arpa. IN PTR example.com.<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">SOA (Start of Authority) Record:<\/mark><\/strong>\n<ul>\n<li>Provides authoritative information about the domain, including the primary DNS server, the email of the domain administrator, domain serial number, and timers for refreshing the record.scssCopy code<code>example.com. IN SOA ns1.example.com. admin.example.com. (2023010101; serial 7200; refresh (2 hours) 3600; retry (1 hour) 1209600; expire (2 weeks) 86400; minimum (1 day))<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">SRV (Service) Record:<\/mark><\/strong>\n<ul>\n<li>Specifies information about available services within the domain, such as LDAP or SIP services.yamlCopy code<code>_sip._tcp.example.com. IN SRV 10 60 5060 sipserver.example.com.<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>These are just a few examples of DNS record types. The combination and configuration of these records define how a domain functions and directs traffic on the internet. DNS records are managed through domain registrars or DNS hosting providers, allowing domain owners to control their online presence and services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"whats-the-difference-between-an-authoritative-dns-server-and-a-recursive-dns-resolver\">What&#8217;s the difference between an authoritative DNS server and a recursive DNS resolver?<\/h2>\n\n\n\n<p>Both concepts refer to servers (groups of servers) that are integral to the DNS infrastructure, but each performs a different role and lives in different locations inside the pipeline of a DNS query. One way to think about the difference is the&nbsp;recursive resolver is at the beginning of the DNS query and the authoritative nameserver is at the end.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"recursive-dns-resolver\">Recursive DNS resolver<\/h4>\n\n\n\n<p>The recursive resolver is the computer that responds to a recursive request from a client and takes the time to track down the<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">\u00a0DNS <\/mark>recor<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-zeever-secondary-color\">d<\/mark> does this by making a series of requests until it reaches the authoritative DNS nameserver for the requested record (or times out or returns an error if no record is found). Luckily, recursive DNS resolvers do not always need to make multiple requests in order to track down the records needed to respond to a client; caching is a data persistence process that helps short-circuit the necessary requests by serving the requested resource record earlier in the DNS lookup.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/cf-assets.www.cloudflare.com\/slt3lc6tev37\/3NOmAzkfPG8FTA8zLc7Li8\/8efda230b212c0de2d3bbcb408507b1e\/dns_record_request_sequence_recursive_resolver.png?w=1200&#038;ssl=1\" alt=\"DNS Record Request Sequence - DNS Recursive Resolver gets request from client\" style=\"width:632px;height:auto\" title=\"DNS Record Request Sequence - Recursive Resolver\" data-recalc-dims=\"1\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"authoritative-dns-server\">Authoritative DNS server<\/h4>\n\n\n\n<p>Put simply, an authoritative DNS server is a server that actually holds, and is responsible for, DNS resource records. This is the server at the bottom of the DNS lookup chain that will respond with the queried resource record, ultimately allowing the web browser making the request to reach the IP address needed to access a website or other web resources. An authoritative nameserver can satisfy queries from its own data without needing to query another source, as it is the final source of truth for certain DNS records.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/cf-assets.www.cloudflare.com\/slt3lc6tev37\/6Cxvsc4NOvmU4pPkKbkDmP\/a7588a4c8a3c187e9175a40fa1b3d548\/dns_record_request_sequence_authoritative_nameserver.png?w=1200&#038;ssl=1\" alt=\"DNS Record Request Sequence - DNS query reaches authoritative nameserver for cloudflare.com\" style=\"width:625px;height:auto\" title=\"DNS Record Request Sequence - Authoritative Nameserver\" data-recalc-dims=\"1\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What is DNS ? DNS, or Domain Name System, is a fundamental component of the internet that translates human-readable domain names into IP addresses. When you type a domain name (like domain.example.com) into your web browser, the DNS system is responsible for resolving that domain name to the corresponding IP address that identifies the server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[11],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9N6ER-au","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/650"}],"collection":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/comments?post=650"}],"version-history":[{"count":24,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/650\/revisions"}],"predecessor-version":[{"id":735,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/650\/revisions\/735"}],"wp:attachment":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/media?parent=650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/categories?post=650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/tags?post=650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}