Prevent additional IP addresses from being registered in DNS
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:
netsh int ipv4 add address "Local Area Connection" address=10.250.1.19 mask=255.255.255.0 skipassource=true
If you want to check if the skipassource flag is set, you can use the following syntax:
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 : false
Notes
- 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.
Was once an enthusiastic PepperByte employee but is now working elsewhere. His blogs are still valuable to us and we hope to you too.