Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Clearing the "Register this connection's addresses in DNS" option does not remove DNS records for Windows clients using static IP addresses


View products that this article applies to.

Symptoms

After you clear the Register this connection's addresses in DNS check box on a client computer, the client does not remove its Domain Name System (DNS) record(s) from the server. For more information about the setting, see the following screen shot:

DNS settings

↑ Back to the top


Resolution

To resolve the issue, follow these steps according to the client computer’s configuration.
For client computers that are configured to use a static IP address
If the client computer is using a static IP address, follow these steps on the client computer to remove the record from the DNS server:
  1. Clear the Register this connection's addresses in DNS check box.
  2. Trigger the registration of the DNS record. To do this, use one of the following steps, which are listed in the order of preference:
    • Restart the DNS Client service.
    • Restart the Windows-based computer.
    • Open a Command Prompt window as administrator, and then run the ipconfig /registerdns command.

Note 1 If one or more adapters on a multi-homed client or server are configured by using a Dynamic Host Configuration Protocol (DHCP) address, see note 3 in the "For client computers that are configured to use a dynamic IP address" section. 
For client computers that are configured to use a dynamic IP address
 If you configure the client computer to obtain anIP address by using DHCP, the client or DHCP server will try to remove dynamically registered records after you clear the Register this connection's addresses in DNS check box.



Note 2 After you clear the Register this connection's addresses in DNS check box on the DNS tab of the Advanced TCP/IP Settings property window of either TCP/IPv4 or TCP/IPv6, the following node is deleted from that computer's local registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters\{<36 character GUID corresponding to the network adapter that TCPIP was bound to>}
This applies to both clients that use static IP addresses and clients that use dynamic IP addresses.

Note 3
 If an adapter is configured to use dynamic IP addressing (DHCP) on the computer that is listed in the "Applies to Products" section of this article, do not run the ipconfig /registerdns command. Dynamic IP addressing uses a DHCP Server to register "PTR" records and optionally Host "A" and "AAAA" records on behalf of DHCP clients. DHCP Server configuration determines how "A" and "AAAA" registrations are added. After you run the ipconfig /registerdns command, the DNS records are registered by using the local machine's security descriptor. This prevents the DHCP server from updating those records until the record is manually removed. Restated, if the DHCP Server does not have the permission to update the DNS record, the DHCP registration silently fails.

For DHCP clients, we recommend that you follow these steps:
  1. Restart the "DNS Client" service. To do this, run the following commands:
    net stop DNSCACHE
    net start DNSCACHE
  2. Run the following commands to update DNS registration(s) for DHCP clients:
    ipconfig /release
    ipconfig /renew
For more information, see the DNS Processes and Interactions article.

For more information about IPv4 and IPv6 advanced DNS tab, visit the following Microsoft website:

↑ Back to the top


More Information

To determine whether a network adapter is using static a IP address or a dynamic IP address, follow these steps:
  1. Open a command prompt window.
  2. Run the ipconfig /all command.
  3. In the returned result, if the DHCP Enabled field under the network adapter is displayed as Yes, the network adapter is using a dynamic IP address. If it is displayed as No, the network adapter is using a static IP address.

↑ Back to the top


Keywords: kb, kbtshoot, kbsurveynew, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 2933537
Revision : 1
Created on : 1/7/2017
Published on : 3/4/2014
Exists online : False
Views : 505