{"id":5410,"date":"2021-10-24T13:26:23","date_gmt":"2021-10-24T13:26:23","guid":{"rendered":"https:\/\/www.cldy.com\/support\/?post_type=docs&#038;p=5410"},"modified":"2024-04-05T21:54:10","modified_gmt":"2024-04-05T13:54:10","password":"","slug":"how-does-dns-work","status":"publish","type":"docs","link":"https:\/\/www.cldy.com\/support\/help\/how-does-dns-work\/","title":{"rendered":"How does DNS work?"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To know more about how DNS functions, check out the steps that the system follows from the user typing in the website in the browser\u2019s address bar, to returning the web page to the user\u2019s screen:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li>The user enters the web site into the browser (e.g. <a href=\"https:\/\/www.cldy.com\/sg\/\">www.cldy.com<\/a>).<br \/><br \/><\/li>\r\n<li>This will be taken by the browser as a request to access the said website, and will have this request forwarded to a DNS resolver.<br \/><br \/><\/li>\r\n<li>The DNS resolver then forwards this to a DNS root name server. In return, this will provide the TLD name servers for .com domains (or depending on the domain suffix: .sg \/ .net \/ .org).<br \/><br \/><\/li>\r\n<li>DNS resolver forwards another request to the TLD name servers. This time, to return with the name servers associated with the cldy.com domain.<br \/><br \/><\/li>\r\n<li>The DNS resolver chooses a single name server, which will receive the request.<br \/><br \/><\/li>\r\n<li>The name server will now get the IP address value to return to the DNS resolver.<br \/><br \/><\/li>\r\n<li>The DNS resolver returns the IP address back to the browser.<br \/><br \/><em>(This IP address is also stored by the DNS resolver for some time, to make the process of accessing the website in the future much faster.)<\/em><br \/><br \/><\/li>\r\n<li>The browser sends the request to access cldy.com to the web server which houses the website\u2019s IP address. The web server will then determine the correct web page that should be displayed (e.g. homepage of cldy.com).<br \/><br \/><\/li>\r\n<li>The web server will now return the web page for <a href=\"https:\/\/www.cldy.com\/sg\/\">www.cldy.com<\/a> to the web browser, which will be displayed for the user.<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"875\" class=\"wp-image-5411\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-1024x875.png\" alt=\"\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-1024x875.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-300x256.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-768x656.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-1536x1312.png 1536w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/how-does-dns-work-2048x1749.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; To know more about how DNS functions, check out the steps that the system follows from the user typing in the website in the browser\u2019s address bar, to returning the web page to the user\u2019s screen: &nbsp; The user enters the web site into the browser (e.g. www.cldy.com). This will be taken by the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[49],"doc_tag":[],"class_list":["post-5410","docs","type-docs","status-publish","hentry","doc_category-dns"],"year_month":"2026-06","word_count":270,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"syd123","author_nicename":"syd123","author_url":"https:\/\/www.cldy.com\/support\/author\/syd123\/"},"doc_category_info":[{"term_name":"DNS","term_url":"https:\/\/www.cldy.com\/support\/help-category\/dns\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/5410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/comments?post=5410"}],"version-history":[{"count":3,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/5410\/revisions"}],"predecessor-version":[{"id":9118,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/5410\/revisions\/9118"}],"wp:attachment":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/media?parent=5410"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_category?post=5410"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_tag?post=5410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}