In Windows 7 and 2008 R2 all IP Addresses are by default registered in DNS.
If you don’t want certain IP addresses to appear in DNS you can alter this behavior with Netsh using the skipassource flag.
Use the following syntax to add an additional IP Address with skipassource flag:
batch
Download
netsh int ipv4 add address "Local Area Connection" address=10.250.1.19 mask=255.255.255.0 skipassource=trueIf you want to check if the skipassource flag is set, you can use the following syntax:
batch
Download
netsh int ipv4 show ipaddresses level=verbose
Address 10.250.1.19 Parameters
---------------------------------------------------------
Interface Luid : Local Area Connection
Scope Id : 0.0
Valid Lifetime : infinite
Preferred Lifetime : infinite
DAD State : Preferred
Address Type : Manual
Skip as Source : true
Address 10.250.1.43 Parameters
---------------------------------------------------------
Interface Luid : Local Area Connection
Scope Id : 0.0
Valid Lifetime : infinite
Preferred Lifetime : infinite
DAD State : Preferred
Address Type : Manual
Skip as Source : falseNotes
- You need either SP1 or Hotfix kb2386184.
- If you change the IP settings from the GUI the skipassource flag is cleared (install Hotfix kb2554859).
- See kb975808 for Vista and Server 2008.
- See kb246804 for Windows 2000 and 2003.
[...] KB2554859 is required.OR, you can issue the netsh command with the parameter skipassource=true as Remko Weijnen recently blogged.If you do not have access to the domain controller, or unable to appy hotfixes, or [...]