Server 2008R2 – Secondary IP Address registering in DNS

I recently had a requirement to run 2 IP addresses on the same nic on a server 2008R2. The problem was that only 1 IP address was routable over the MPLS and the second IP address kept registering itself in DNS.

To resolve the issue I found the following command:

Netsh int ipv4 add address “Local Area Connection” <IP Address> <Netmask> skipassource=true

Just remember to not add the secondary IP address via Network and Sharing center.