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

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

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
For client computers that are configured to use a static IP address
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
For client computers that are configured to use a dynamic IP address


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:

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.
Properties

Article ID: 2933537 - Last Review: Mar 4, 2014 - Revision: 1

Feedback