{"id":4077,"date":"2021-11-20T05:21:47","date_gmt":"2021-11-20T13:21:47","guid":{"rendered":"https:\/\/ideoname.com\/blog\/?p=4077"},"modified":"2022-11-28T00:35:01","modified_gmt":"2022-11-28T08:35:01","slug":"what-is-dns","status":"publish","type":"post","link":"https:\/\/ideoname.com\/blog\/what-is-dns\/","title":{"rendered":"What Is Domain Name System; What Is DNS Used For?"},"content":{"rendered":"<p style=\"text-align: justify;\">Every website has an IP address. However, people cannot remember the IP address of every website on the Internet. That\u2019s where DNS comes into play. DNS replaces the IP address of a website with a meaningful domain name. Let\u2019s dive deep and learn what DNS is all about. All website owners should have this understanding. If you want to know <strong>what is domain name system<\/strong> continues.<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">What Is DNS? | What does DNS stand for?<\/h2>\n<p style=\"text-align: justify;\">First, you should know what does DNS stand for? Domain Name System or DNS is sometimes called the Internet\u2019s Yellow Pages. When you needed to find a business address in the past, you looked it up in the Yellow Pages. DNS is similar; however, you don\u2019t have to look anything up because your computer is linked to the Internet. It\u2019s how your computer figures out where Google.com is.<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4127\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/what-is-dns.jpg\" alt=\"what is dns\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/what-is-dns.jpg 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/what-is-dns-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"text-align: justify;\"><em>If you want to know <a href=\"\/blog\/what-is-domain-name-in-website\/\" target=\"_blank\" rel=\"noopener\"><strong>what is domain name in website<\/strong><\/a> ? this post can help you!<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">How Does DNS Work?<\/h2>\n<p style=\"text-align: justify;\">Now you know what DNS is all about. Understanding how DNS works is critical because it\u2019s a crucial aspect of the Internet.<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4128\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/how-does-dns-wor.jpg\" alt=\"how does dns work\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/how-does-dns-wor.jpg 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/how-does-dns-wor-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><br \/>\nConsider DNS a phone book; instead of mapping people\u2019s names to street addresses, it maps computer names to IP addresses. A \u201cDNS record\u201d is the name given to each mapping. To get these records, DNS clients on linked devices contact DNS servers. Different sorts of records are used for various purposes. Web browsers use an \u201cA\u201d type record, but an \u201cMX\u201d record links to a mail server. This is how you may host a website with one provider and use an email service with another.<\/p>\n<p style=\"text-align: justify;\">You can read aall about Ip Address in <a href=\"\/blog\/what-is-ip-address\/\">what is Ip Address<\/a> article.<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">Types of DNS Records<\/h2>\n<p style=\"text-align: justify;\">You will come across a few different DNS records when you want to learn what DNS is all about. Here are the most common DNS records that you will find.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;A&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">This DNS record represents the classic use of DNS. It is translating the domain of a website into its resembling IPV4 address.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;AAAA&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">The AAAA record does the same work as the A record. However, it is translating the domain into IPV6 address.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;MX&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">MX is the short word given for Mail Exchange. This record identifies an email server linked with the domain.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;TXT&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">TXT Record is versatile as you can use it for multiple purposes. For example, you can use this record to prove domain ownership or sign emails cryptographically to fight against spam.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;CNAME&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">CNAME is the abbreviation for Canonical Name. This would point a domain name to a different domain name. In other words, a domain name replaces the IP address here.<\/p>\n<h3 style=\"text-align: justify;\">&#8220;SRV&#8221; Record<\/h3>\n<p style=\"text-align: justify;\">SRV record holds information about the IP address and the specific port associated with the service.<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">What is DNS lookup?<\/h2>\n<p style=\"text-align: justify;\">What is DNS lookup? or why do we call it DNS lookup?<br \/>\nDNS lookup is the steps of the server to return a record of the DNS address. For example, in reality, you want to find an address; in this case, you do everything to find it; it may be easy or hard, The performance of DNS lookup is like this.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"readmore\">Related: <a href=\"\/blog\/what-is-website-bounce-rate\/\" target=\"_blank\" rel=\"noopener\"><strong>what is bounce rate<\/strong><\/a><\/div>\n<p>&nbsp;<\/p>\n<h2>What is DNS resolver?<\/h2>\n<p style=\"text-align: justify;\">DNS resolver is a part server that can answer the users. The duty of the DNS resolver is to answer the questions.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-5022 size-full\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/dns-resolver.webp\" alt=\"DNS resolver\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/dns-resolver.webp 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/dns-resolver-300x200.webp 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">Steps in a DNS Lookup<\/h2>\n<ul style=\"text-align: justify;\">\n<li style=\"text-align: justify;\">When a user inputs \u2018example.com\u2019 into a web browser, the query is transmitted across the Internet and received by a DNS recursive resolver.<\/li>\n<li style=\"text-align: justify;\">A DNS root nameserver is then queried by the resolver (.).<br \/>\nThe root server then sends the resolver the address of a Top-Level Domain (TLD) DNS server (such as.com or.net), which contains the information for the resolver\u2019s domains. When we search<\/li>\n<li style=\"text-align: justify;\">for example.com, we are directed to the.com top-level domain.<\/li>\n<li style=\"text-align: justify;\">After that, the resolver sends a request to the.com TLD.<\/li>\n<li style=\"text-align: justify;\">The IP address of the domain\u2019s nameserver, example.com, is then returned by the TLD server.<\/li>\n<li style=\"text-align: justify;\">Finally, the recursive resolver contacts the domain\u2019s nameserver with a query.<\/li>\n<li style=\"text-align: justify;\">The nameserver returns the IP address, for example.com, to the resolver.<\/li>\n<li style=\"text-align: justify;\">After that, the DNS resolver responds to the web browser with the IP address of the domain that was originally requested.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div class=\"readmore\">Related: <a href=\"\/blog\/how-to-do-dns-flush\/\" target=\"_blank\" rel=\"noopener\"><strong>how to clear dns cache in windows<\/strong><\/a><\/div>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">Types of DNS Queries<\/h2>\n<h3 style=\"text-align: justify;\">1- Recursive Query<\/h3>\n<p style=\"text-align: justify;\">DNS Servers with recursion feature enabled answers to recursive queries with either the record data of the question or an error message if they could not locate the record. Disabling this feature (a good security practice for local servers) will result in rejected unrelated queries.<\/p>\n<h3 style=\"text-align: justify;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4133\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/recursive-query.jpg\" alt=\"recursive query\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/recursive-query.jpg 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/recursive-query-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: justify;\">2- Iterative Query<\/h3>\n<p style=\"text-align: justify;\">The DNS client will let the server deliver the best possible result in this case. If the queried DNS server cannot locate the record in local DNS Zones or DNS cache, it will forward the request to upper-level DNS Servers. After then, the DNS client will query the referral address. This operation continues along the query chain with other DNS servers until an error or timeout occurs.<\/p>\n<h3 style=\"text-align: justify;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4134\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/iterative-query.jpg\" alt=\"iterative query\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/iterative-query.jpg 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/iterative-query-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: justify;\">3- Non-recursive Query<\/h3>\n<p style=\"text-align: justify;\">When a DNS resolver client asks a DNS server for a record that it has access to, either because it is authoritative or in its cache, DNS records are typically cached by DNS servers to save unnecessary bandwidth usage and pressure on upstream systems.<\/p>\n<h4 style=\"text-align: justify;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4135\" src=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/non-recursive-query.jpg\" alt=\"non recursive query\" width=\"600\" height=\"400\" srcset=\"https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/non-recursive-query.jpg 600w, https:\/\/ideoname.com\/blog\/wp-content\/uploads\/2021\/11\/non-recursive-query-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/h4>\n<p>&nbsp;<\/p>\n<h4 style=\"text-align: justify;\">Conclusion<\/h4>\n<p style=\"text-align: justify;\">By now, you completely understand what DNS is all about. Use this understanding when you work with a DNS server. Then you can figure out what you are doing. If you still need <a href=\"https:\/\/www.cloudflare.com\/learning\/dns\/what-is-dns\/\" target=\"_blank\" rel=\"noopener\">more details<\/a>, check out this post!<\/p>\n<p><script type=\"application\/ld+json\">\n{\n\"@context\": \"http:\/\/schema.org\/\",\n\"@type\": \"CreativeWorkSeason\",\n\"name\": \"What Is DNS (Domain Name System) and How It Works?\",\n\"aggregateRating\": {\n\"@type\": \"AggregateRating\",\n\"ratingValue\": \"4.8\",\n\"reviewCount\": \"116\"\n}\n}\n<\/script><br \/>\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [{\n    \"@type\": \"Question\",\n    \"name\": \"How Does DNS Work?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"Consider DNS a phone book; instead of mapping people\u2019s names to street addresses, it maps computer names to IP addresses.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"\u201cAAAA\u201d Record\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"The AAAA record does the same work as the A record. However, it is translating the domain into IPV6 address.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What is DNS lookup?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"DNS lookup is the steps of the server to return a record of the DNS address. For example, in reality, you want to find an address; in this case, you do everything to find it; it may be easy or hard, The performance of DNS lookup is like this.\"\n    }\n  }]\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every website has an IP address. However, people cannot remember the IP address of every website on the Internet. That\u2019s where DNS comes into play. DNS replaces the IP address of a website with a meaningful domain name. Let\u2019s dive deep and learn what DNS is all about. All website owners should have this understanding. &#8230; <a title=\"What Is Domain Name System; What Is DNS Used For?\" class=\"read-more\" href=\"https:\/\/ideoname.com\/blog\/what-is-dns\/\" aria-label=\"More on What Is Domain Name System; What Is DNS Used For?\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":4095,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/posts\/4077"}],"collection":[{"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/comments?post=4077"}],"version-history":[{"count":21,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/posts\/4077\/revisions"}],"predecessor-version":[{"id":5336,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/posts\/4077\/revisions\/5336"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/media\/4095"}],"wp:attachment":[{"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/media?parent=4077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/categories?post=4077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ideoname.com\/blog\/wp-json\/wp\/v2\/tags?post=4077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}