Tuesday 3 May 2016

Ensure interface ip address(es) are not registered in DNS / Active Directory

 The most common way to perform this is:

'Right-hand click on the relevant interface' >> Properties >> 'Double click Internet Version Protocol 4' >> Advanced >> DNS >> Untick 'Register this connection's addresses in DNS.'

Although in addition to this on Windows Server 2008 R2 you should also perform the following if the interface has secondary IP's:

netsh int ipv4 add address "Local Area Connection" 10.0.2.79 255.255.255.0 skipassource=true

or if you wish to ensure DNS is not registered interface wide you can issue:

netsh int ipv4 add address "Local Area Connection" skipassource=true

You can then confirm with:

netsh int ipv4 show ipaddresses level=verbose

A good write-up on 'skipassource' can be found here.

0 comments:

Post a Comment