Forum Discussion
Huaiping_Xue
Jan 14, 2025Copper Contributor
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 th...
kyazaferr
Jan 16, 2025Steel Contributor
Ensure "Register this connection's addresses in DNS" Is Unchecked
- Open Network Connections on the DC.
- Right-click NIC B and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- 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:
- List NICs with IP Details:
- Get-DnsClient | Select-Object InterfaceAlias, InterfaceIndex, RegisterThisConnectionsAddress
- Disable Dynamic Registration for NIC B: Replace InterfaceAlias with the name of NIC B:
- Set-DnsClient -InterfaceAlias "NIC_B" -RegisterThisConnectionsAddress $false
Configure the Primary NIC for DNS Registration
Ensure only the primary NIC (NIC A) is registering in DNS:
- Open the DNS Management Console.
- Navigate to the zone where the DC's records are stored.
- Manually delete any DNS records for NIC B's IP address.
Configure the "DisableDynamicUpdate" Registry Key
Modify the registry to prevent dynamic updates for NIC B:
- Open Registry Editor (regedit).
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}
- Huaiping_XueJan 20, 2025Copper Contributor
thanks for suggestion but the issue persists