Forum Discussion

Huaiping_Xue's avatar
Huaiping_Xue
Copper Contributor
Jan 14, 2025

DNS record auto registered even the auto registration option was unchecked

Hello guys,

 

I have an DC which have two NICs, A for Domain service and B for camera server. I don't want the IP address of NIC B registered in our DNS, so I uncheck the auto register option in the advance setting of NIC B. However, the IP address of it still keep registering t our DNS even I have manually deleted that option.

 

I have checked the steps in the official article and it doesn't help. 

https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/unwanted-nic-registered-dns-mulithomed-dc

 

Any suggestion is much appreciated. 

  • kyazaferr's avatar
    kyazaferr
    Steel Contributor

    Ensure "Register this connection's addresses in DNS" Is Unchecked

    1. Open Network Connections on the DC.
    2. Right-click NIC B and select Properties.
    3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
    4. Click Advanced, go to the DNS tab, and ensure the following:
      • "Register this connection's addresses in DNS" is unchecked.
      • "Use this connection's DNS suffix in DNS registration" is unchecked.

    Disable Dynamic Registration via PowerShell

    Run the following commands to ensure dynamic registration is disabled for NIC B:

    1. List NICs with IP Details:
    2. Get-DnsClient | Select-Object InterfaceAlias, InterfaceIndex, RegisterThisConnectionsAddress
    3. Disable Dynamic Registration for NIC B: Replace InterfaceAlias with the name of NIC B:
    4. Set-DnsClient -InterfaceAlias "NIC_B" -RegisterThisConnectionsAddress $false
    5. Configure the Primary NIC for DNS Registration

      Ensure only the primary NIC (NIC A) is registering in DNS:

      1. Open the DNS Management Console.
      2. Navigate to the zone where the DC's records are stored.
      3. Manually delete any DNS records for NIC B's IP address.
    6. Configure the "DisableDynamicUpdate" Registry Key

      Modify the registry to prevent dynamic updates for NIC B:

      1. Open Registry Editor (regedit).
    7. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}

Resources