{"id":805,"date":"2013-10-22T16:01:53","date_gmt":"2013-10-22T21:01:53","guid":{"rendered":"http:\/\/www.poweradmin.com\/blog\/?p=805"},"modified":"2015-04-27T08:34:13","modified_gmt":"2015-04-27T13:34:13","slug":"how-to-configure-dns-client-settings","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/how-to-configure-dns-client-settings\/","title":{"rendered":"How to Configure DNS Client Settings"},"content":{"rendered":"<p>\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/DNS-configure-settings-2.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"DNS configure settings\" class=\"alignleft size-medium wp-image-825\" height=\"225\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/DNS-configure-settings-2-300x225.png\" width=\"300\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/DNS-configure-settings-2-300x225.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/DNS-configure-settings-2.png 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\"><\/a>\n<\/p>\n<p>\n\tIn this article we will discuss some of the DNS settings that each workstation must be configured to in order to communicate within a computer network. DNS is one of the most important services that run within a network or even in the Internet. The infrastructure of the Domain Name System can differ from one dedicated Server to a complex network. If you don\u2019t know all the concepts behind this service, you should check out some of the previous articles from <a href=\"http:\/\/www.ittrainingday.com\/search\/label\/Server\" rel=\"nofollow\" target=\"_blank\">IT training day<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a>. I won\u2019t take time describing this service here, so instead let\u2019s focus on the elements that need to be configured on a DNS client.\n<\/p>\n<p>\n\tEach computer network is based on the Client-Server model. In this concept the client will request data from the Server. If the information is found on the Server then the client will receive a direct response with the desired information. This is basically the same way in which the DNS service works.\u00a0 The client will request for a name resolution (getting the IP address from a name) and the Server will either respond with the desired information or it will redirect the request to another DNS Server that is authoritative for the specified domain. Usually, inside large networks, the DNS settings are configured automatically using DHCP servers.\n<\/p>\n<p>\n\tThere are some cases in which static IP addresses are used within a network so all these DNS settings must be configured manually. As an example, it is recommended that each Server should have a static IP address instead of using a DHCP server to eliminate the single point of failure. Also, inside networks where there is no AD infrastructure and no DHCP servers, DNS settings must be configured individually.\n<\/p>\n<p>\n\tTo configure the DNS servers list that will be used by a client, you must open the TCP\/IP settings window from the adapter settings. First, navigate to <em>Control Panel\\Network and Internet\\Network and Sharing Center<\/em> and click on the <em>Change<\/em> <em>adapter settings<\/em>. Now select your network interface, right click and select <em>Properties<\/em>. From the <em>Internet Protocol Version 4 (TCP\/IP) properties<\/em> box select <em>advanced<\/em>. In the <em>DNS<\/em> tab you can specify the DNS servers in the order of use:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/01-advanced-tcp-ip-settings.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"advanced tcp-ip settings\" class=\"size-full wp-image-806 alignnone\" height=\"392\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/01-advanced-tcp-ip-settings.png\" style=\"\" title=\"\" width=\"327\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/01-advanced-tcp-ip-settings.png 412w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/01-advanced-tcp-ip-settings-250x300.png 250w\" sizes=\"auto, (max-width: 327px) 100vw, 327px\"><\/a>\n<\/p>\n<p>\n\tAdd the IP address of each DNS server that will be used by this particular machine for DNS queries.\n<\/p>\n<p>\n\tThe FQDN, or the fully qualified domain name, is composed of two sections: the hostname and the DNS suffix. You can view the computer\u2019s name by typing <em>hostname<\/em> in a command prompt:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/02-command-prompt-hostname.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"command prompt hostname\" class=\"alignnone size-full wp-image-808\" height=\"39\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/02-command-prompt-hostname.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"335\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/02-command-prompt-hostname.png 335w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/02-command-prompt-hostname-300x34.png 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\"><\/a>\n<\/p>\n<p>\n\tIf your machine is joined in an Active Directory infrastructure, then the DNS suffix will be added automatically to each machine. The suffix will specify the domain in which the client has been configured. The whole FQDN will identify that particular machine within the specified domain. If you type <em>ipconfig \/all<\/em> you will see the configuration of these two DNS elements:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/03-command-prompt-ipconfig-all.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"command prompt ipconfig-all\" class=\"alignnone size-full wp-image-809\" height=\"109\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/03-command-prompt-ipconfig-all.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"428\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/03-command-prompt-ipconfig-all.png 428w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/03-command-prompt-ipconfig-all-300x76.png 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\"><\/a>\n<\/p>\n<p>\n\tThe primary DNS suffix has two main functions:\n<\/p>\n<ul>\n<li>\n\t\tThe client will automatically register his host record in the DNS zone specified in the primary suffix. All other devices within the zone will be able to resolve the host\u2019s name.\n\t<\/li>\n<li>\n\t\tAll DNS queries can be made without specifying the suffix. For example, if I search for the buc-srv1-dc01 machine within my private network, the DNS resolver will automatically append the suffix:\n\t<\/li>\n<\/ul>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/04-command-prompt-append-suffix.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"command prompt append suffix\" class=\"alignnone size-full wp-image-810\" height=\"85\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/04-command-prompt-append-suffix.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"466\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/04-command-prompt-append-suffix.png 466w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/04-command-prompt-append-suffix-300x54.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\"><\/a>\n<\/p>\n<p>\n\tIf you want to add a DNS suffix to a computer that is not part of an Active Directory infrastructure, navigate to <em>System Properties<\/em>, open the <em>Computer Name\/Domain Changes<\/em> page and click on <em>more<\/em>:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/05-DNS-suffix-netbios-computer-name.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DNS suffix netbios computer name\" class=\"alignnone size-full wp-image-811\" height=\"271\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/05-DNS-suffix-netbios-computer-name.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"407\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/05-DNS-suffix-netbios-computer-name.png 407w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/05-DNS-suffix-netbios-computer-name-300x199.png 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\"><\/a>\n<\/p>\n<p>\n\tLet\u2019s return to the <em>DNS<\/em> page from the <em>TCP\/IP properties<\/em> panel. If your computer is using multiple network interfaces to connect to other devices, you can specify what particular DNS suffix should be used for a connection:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/06-specify-DNS-suffix-for-connection.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"specify DNS suffix for connection\" class=\"alignnone size-full wp-image-812\" height=\"223\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/06-specify-DNS-suffix-for-connection.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"378\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/06-specify-DNS-suffix-for-connection.png 378w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/06-specify-DNS-suffix-for-connection-300x176.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\"><\/a>\n<\/p>\n<p>\n\tBy default, any Windows machine will append the parent suffix of the primary DNS suffix when querying for specific resources. The workstation can also be configured with an ordered list of DNS suffixes that will be used in queries. The client will first query for a resource using the first entry from this list. If name resolution is not successful, it will append the second suffix and so on. Remember that the client will query devices using the suffixes in that particular order:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/07-DNS-suffix-query-order.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DNS suffix query order\" class=\"alignnone size-full wp-image-813\" height=\"113\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/07-DNS-suffix-query-order.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"377\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/07-DNS-suffix-query-order.png 377w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/07-DNS-suffix-query-order-300x89.png 300w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\"><\/a>\n<\/p>\n<p>\n\tThe same settings can be configured using group policy objects. Open the <em>group policy management console<\/em> and create a new <em>GPO<\/em>. In the <em>Group Policy Management Editor<\/em> navigate to <em>Computer Configuration\/Policies\/Administrative templates: Policy definitions (ADMX files)\/Network\/DNS Client\/DNS Suffix Search List<\/em>:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/08-group-policy-management-console.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"group policy management console\" class=\"alignnone size-full wp-image-814\" height=\"381\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/08-group-policy-management-console.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"666\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/08-group-policy-management-console.png 1265w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/08-group-policy-management-console-300x171.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/08-group-policy-management-console-1024x586.png 1024w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\"><\/a>\n<\/p>\n<p>\n\tBy default, Windows clients will be automatically configured to register their A, AAA and PTR records with the preferred DNS server. Clients will register their records if the following conditions are met:\n<\/p>\n<ul>\n<li>\n\t\tA primary DNS suffix must be configured on the client either by using AD domain registration or manual registration on the host\n\t<\/li>\n<li>\n\t\tThe preferred DNS server that is configured either by DHCP or manual configuration, must host a primary zone that is the same with the primary DNS suffix on the host\n\t<\/li>\n<li>\n\t\tThe DNS server on which the registration is made must have dynamic updates enabled (it is recommended that you allow only secure updates from computers that are part of the domain)\n\t<\/li>\n<\/ul>\n<p>\n\tBecause I\u2019m using a DHCP server for my client, the DNS suffix is inherited and the registration is made automatically. As you can see from the image below, there is no \u201cDNS suffix for the connection\u201d configured:\n<\/p>\n<p align=\"center\" style=\"margin-left:.25in;\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/09-DNS-suffix-for-this-connection.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"DNS suffix for this connection\" class=\"alignnone size-full wp-image-815\" height=\"78\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/09-DNS-suffix-for-this-connection.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"368\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/09-DNS-suffix-for-this-connection.png 368w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/09-DNS-suffix-for-this-connection-300x63.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\"><\/a>\n<\/p>\n<p>\n\tMake sure that the \u201cRegister this connection\u2019s addresses in DNS\u201d checkbox is enabled to allow the localhost to register its records with the DNS server. You can also force this registration by typing <em>ipconfig \/registerdns<\/em> from the command prompt:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/10-force-registration-ipconfig-registerdns.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"force registration ipconfig-registerdns\" class=\"alignnone size-full wp-image-816\" height=\"180\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/10-force-registration-ipconfig-registerdns.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"760\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/10-force-registration-ipconfig-registerdns.png 1110w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/10-force-registration-ipconfig-registerdns-300x71.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/10-force-registration-ipconfig-registerdns-1024x242.png 1024w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\"><\/a>\n<\/p>\n<p>\n\tBefore ending this article I\u2019d like to talk a little bit on how you can interact with the local DNS cache. Hopefully, you now know that each client holds a local \u201ccache\u201d in which resolved names are stored for a specified period of time (TTL). To view this cache on a Windows client type <em>ipconfig \/displaydns <\/em>and to empty the cache type <em>ipconfig \/flushdns<\/em>:\n<\/p>\n<p align=\"center\">\n\t<a href=\"\/blog\/wp-content\/uploads\/2013\/10\/11-empty-cache-ipconfig-flushdnspng.png\" rel=\"\" style=\"\" target=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" alt=\"empty cache - ipconfig-flushdnspng\" class=\"alignnone size-full wp-image-817\" height=\"215\" src=\"\/blog\/wp-content\/uploads\/2013\/10\/11-empty-cache-ipconfig-flushdnspng.png\" style=\"border: 5px solid slategray;\" title=\"\" width=\"362\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/11-empty-cache-ipconfig-flushdnspng.png 473w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/10\/11-empty-cache-ipconfig-flushdnspng-300x178.png 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\"><\/a>\n<\/p>\n<p>\n\tOnce you've configured this, check out <a href=\"\/help\/sm_5_2\/monitor_ping.aspx\">DNS monitoring<\/a> with our <a href=\"\/servermonitor\">server monitoring software<\/a> also.\n<\/p>\n<p>\n\tI hope you\u2019ve enjoyed this article. If there are other things that you feel could be mentioned here, don\u2019t hesitate to leave a comment. Wish you all the best and stay tuned for more articles from Poweradmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will discuss some of the DNS settings that each workstation must be configured to in order to communicate within a computer network. DNS is one of the most important services that run within a network or even in the Internet. The infrastructure of the Domain Name System can differ from one [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,9,8],"tags":[],"class_list":["post-805","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-technical","category-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=805"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/805\/revisions"}],"predecessor-version":[{"id":3576,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/805\/revisions\/3576"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/821"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}