• Main Menu
  • Configuring DNS Clients


    Configuring DNS Client Settings

    Configuring DNS client computers typically entail the execution of the following administrative tasks:

    • Setting the client computer names for each computer. The computer names that you configure should not be greater than 63 bytes. The name can only include:

      • Uppercase letters; A – Z

      • Lowercase letters; a – z

      • Numbers; 0 – 9

      • Hyphens

    • Configure a primary DNS suffix for the computer. The primary DNS suffix of the computer is the name of the Active Directory domain that the computer is a member of, by default. To configure or change the primary DNS suffix of the computer, access the System Properties dialog box. Next, click the Computer Name tab and then click the Change button. When the Computer Name Changes dialog box opens, click the More button.

    • Identify the DNS servers for the DNS clients to query for name resolution. You can configure preferred DNS servers, and alternate DNS servers. The alternate DNS servers would be used when the preferred DNS servers are unavailable. The preferred and alternate DNS servers are configured on the Internet Protocol (TCP/IP) Properties dialog box for the connection.

    • Customize the query behavior for your defined DNS clients.

    • Configure a DNS suffix search list that DNS clients can use when they perform queries for unqualified domain names.

    • Configure a connection specific DNS suffix for every individual adapter on the DNS client. When a DNS computer has a connection specific DNS suffix, the FQDN is assigned to a specific adapter on the computer. To configure connection specific DNS suffix for a specific adapter on the DNS client, access the Advanced TCP/IP Settings dialog box of the connection, and click the DNS tab to create the connection specific DNS suffix.Configuring DNS Clients

    The order in which the DNS Client service queries the DNS servers to resolve names is illustrated below:

    1. The DNS Client service passes the DNS query to the first server specified in the list of DNS servers on the preferred adapter.

    2. If no response is received from this DNS server after one second, the DNS Client service passes the query to each first DNS server on all adapters.

    3. If no response is received after 2 seconds, the DNS resolver sends the query to all the DNS servers on all the adapters.

    4. If no response is received after 2 seconds, the DNS resolver sends the query all the DNS servers on all the adapters.

    5. If no response is received after 4 seconds, the DNS resolver sends the query all the DNS servers on all the adapters.

    6. This time the resolver waits for 8 seconds.

    How to statically configure TCP/IP Settings for a DNS client

    1. Click Start, Control Panel, and then click Network Connections.

    2. Select Local Area Connections dialog box, and then click Properties.

    3. In the list, select Internet Protocol (TCP/IP), and then click Properties.

    4. When the Internet Protocol (TCP/IP) dialog box opens, click the Use the following DNS server addresses button.

    5. In the Preferred DNS Server text box, enter the IP address of the preferred DNS server.

    6. In the Alternate DNS Server text box, enter the address of the alternate DNS server.

    7. Click OK.

    How to configure advanced TCP/IP Settings for a DNS client

    1. Click Start, Control Panel, and then click Network Connections.

    2. Select Local Area Connections dialog box, and then click Properties.

    3. In the list, select Internet Protocol (TCP/IP), and then click Properties.

    4. When the Internet Protocol (TCP/IP) dialog box opens, click the Advanced button.

    5. The Advanced TCP/IP Settings dialog box opens.

    6. Click the DNS tab.

    7. If you want to add an additional DNS server IP address, click the Add button beneath the DNS server addresses, in order of use: box.

    8. Select the Append Primary And Connection Specific DNS Suffixes option if you want the DNS client to be able to resolve an unqualified name through adding the primary DNS suffix and the connection specific DNS suffixes.

    9. You can also select the Append Parent Suffixes Of The Primary DNS Suffix checkbox beneath the previous option.

    10. Click the Append These DNS Suffixes option if you want DNS clients to resolve hosts from multiple domains on the DNS server. Click the Add button to add the suffixes.

    11. In the DNS Suffix For This Connection text box, enter the DNS suffix for a connection specific DNS suffix.

    12. If you want the DNS client to register the connection's IP address, leave the Register This Connection's Addresses In DNS checkbox enabled.

    13. Select the Use This Connection's DNS Suffix In DNS Registration checkbox if you want the DNS client to register the connection's IP address with a connection specific FQDN.

    14. Click OK.

    Configure DNS Clients through DHCP

    Before DHCP can assign DNS server IP addresses to clients, you have to assign the DNS servers IP addresses to the DHCP scopes.

    To enable DHCP and DNS integration

    1. Open the DHCP console.

    2. Right-click the DHCP server, and then select Properties from the shortcut menu.

    3. When the Server Properties dialog box opens, click the DNS tab.

    4. Ensure that the Enable DNS Dynamic Updates According To The Settings Below checkbox is selected

    5. Select the Dynamically Update DNS A And PTR Records Only If Requested By The DHCP Clients option.

    6. Select the Discard A And PTR Records When Lease Is Deleted checkbox.

    7. Click OK.

    To create a DHCP scope

    1. Click Start, All Programs, Administrative Tools and then click DHCP to open the DHCP console.

    2. In the console tree, expand the DHCP server node.

    3. Select the DHCP server.

    4. Click the Action menu, and then select New Scope.

    5. The New Scope Wizard starts.

    6. Click Next on the initial page of the New Scope Wizard.

    7. On the Scope Name page, enter a name for the new scope in the Name text box.

    8. Enter a description in the Description text box. Click Next.

    9. On the IP Address Range page, enter the start IP address and end IP address that defines the range of new scope in the Start IP Address text box, and End IP Address text box respectively.

    10. Enter the subnetmask in the Subnet Mask text box.

    11. Select the value in the Length spin box. The subnet length mask is automatically defined as 24. Click Next.

    12. On the Add Exclusions page, using the Start IP Address and End IP Address text boxes, define any exclusions. Click Add. Click Next.

    13. On the Lease Duration page, you can change the default lease duration of 8 days. Use the Days, Hours and Minutes boxes to define the lease duration. Click Next.

    14. On Configure DHCP Options page, click the Yes, I Want To Configure These Options Now option and then click Next.

    15. On the Router (Default Gateway) page, enter the IP address of the default gateway (router) that connects the subnet to the network. Click Add. Click Next.

    16. On the Domain Name And DNS Servers page, enter the default parent domain name that clients will be using to locate network hosts, in the Parent Domain box.

    17. Enter the name of the DNS server that you want clients to use for name to IP address resolution in the lower portion of the Domain Name And DNS Servers page. Click Add ad then click Next.

    18. On the WINS Server page, if applicable, enter the IP address of the WINS server. Click Add and then click Next.

    19. On the Activate Scope page, click the Yes, I want to activate this scope now option. Click Next.

    20. On the Completing The New Scope Wizard page, click Next.

    To assign the DNS servers IP addresses to the DHCP scopes

    1. Click Start, Administrative Tools and then click DHCP to open the DHCP console.

    2. I the console tree, expand the DHCP server node.

    3. Expand the DHCP scope that you want to work with.

    4. Select the Scope Options folder, and right-click and choose Configure Options from the shortcut menu.

    5. The Scope Options dialog box opens.

    6. On the General tab, in the Available Options list, select the checkbox alongside the 006 DNS Servers option.

    7. Use the IP address box and associated Add button to insert all the appropriate DNS server IP addresses.

    8. Back in the Available Options list, select the checkbox alongside the 015 DNS Domain Name option.

    9. Use the String Value text box to specify the primary DNS domain name suffix.

    10. Click OK.

    How to manage the DNS Client Cache

    Before DNS clients query the DNS server, the DNS client cache is checked to attempt to resolve the query. An entry is added to the DNS client cache whenever the DNS server sends a response to a client and resolves a query. The DNS client cache is also called the DNS resolver cache.

    The commands that can be used at a command prompt to view and flush the contents of the DNS client cache are:

    • ipconfig /displaydns: Lists the contents of the DNS client cache.

    • ipconfig /flushdns: Clears the contents of the DNS client cache.

    How to permanently disable DNS client caching

    1. Click Start, Administrative Tools, and then click Services.

    2. Locate and double-click the DNS Client service

    3. In Startup Type, select Disabled.

    4. Reboot the computer to disable DNS client caching.

    How to configure a primary DNS suffix

    1. Log on the computer that you want to configure.

    2. Open Control Panel.

    3. Open the System Properties dialog box.

    4. Switch to the Computer Name tab.

    5. Click Change.

    6. When the Computer Name Changes dialog box opens, click the More button.

    7. The DNS Suffix And NetBIOS Computer Name dialog box appears.

    8. Enter the valid information in the Primary DNS Suffix Of This Computer text box.

    9. Click OK.

    10. When a message appears stating that the computer needs to be restarted, click OK to restart the computer and implement the change.

    11. Click OK in the System Properties dialog box.

    12. When the System Settings Change dialog box appears, click Yes to restart the computer immediately.

    13. The computer restarts, and your change is implemented.

    Related Articles on DNS

    Got Something To Say:

    Your email address will not be published. Required fields are marked *

    Microsoft DNS
    } 142 queries in 0.388 seconds.