How to Delete Duplicate DNS IP Addresses
Microsoft has prevented the ability to add duplicate DNS IP addresses within the Internet properties window. If a user tries to enter the same address twice, the settings will not save and an error dialog will tell you of the duplication. However, duplicate addresses can still be added directly through the command-line or registry. If a duplicate entry exists, an error dialog prompting you of the duplication will display each time you click inside the DNS field to remove it. To resolve this problem, you can use a command-line utility to change your secondary DNS back to the correct one.
Instructions
-
-
1
Click "Start" and type "CMD" in the "Search" box.
-
2
Right-click "CMD" in the "Search Results" list and click "Run as Administrator." Click the "Yes" button in the "User Account Control" window. This opens the Windows Command Prompt in a new window on your screen.
-
-
3
Type:
netsh interface ip set dns "Local Area Connection" static 192.168.0.1 index=2
and press the "Enter" key.
Replace "192.168.0.1" with the DNS address you wish to use. Replace "index=2" with "index=1" if you wish to change the primary DNS address. You may also replace "set" with "delete" if you wish to remove the duplicate entry without replacing it.
-
4
Type "Exit" and press the "Enter" key to close your Command Prompt.
-
1