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

Article translations Article translations
Article ID: 2933537 - View products that this article applies to.
Expand all | Collapse all

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:

Collapse this imageExpand this image
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
Collapse this imageExpand this image
assets folding start collapsed
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.
Collapse this imageExpand this image
assets folding end collapsed
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
Collapse this imageExpand this image
assets folding start collapsed
 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.
Collapse this imageExpand this image
assets folding end collapsed


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:
General information about IPv4 and IPv6 advanced DNS tab

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: March 4, 2014 - Revision: 6.0
Applies to
  • Windows Server 2012 R2 Datacenter
  • Windows Server 2012 R2 Standard
  • Windows Server 2012 R2 Foundation
  • Windows Server 2012 R2 Essentials
  • Windows 8.1 Enterprise
  • Windows 8.1 Pro
  • Windows 8.1
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Standard
  • Windows Server 2012 Foundation
  • Windows Server 2012 Essentials
  • Windows 8 Enterprise
  • Windows 8 Pro
  • Windows 8
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Web Server 2008 R2
  • Windows 7 Ultimate
  • Windows 7 Enterprise
  • Windows 7 Professional
  • Windows 7 Home Premium
  • Windows 7 Home Basic
  • Windows 7 Starter
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Server 2008 Foundation
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Web Server 2008
  • Windows Vista Ultimate
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Starter
Keywords: 
kbtshoot kbsurveynew kbexpertiseinter KB2933537

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com