Author Posts

July 15, 2014 at 1:14 pm

Can anyone help me in using DSC to set preferred and alternate DNS server settings on client servers? I've configured an http pull server, but am getting stumped as to what needs to be done next. Thanks in advance for any help.

July 16, 2014 at 3:40 am

You could use the xDNSServerAddress resource from the DSC Resource Kit, but it's one of the handful of resources that depends on a cmdlet only available on Windows 8 / Windows Server 2012 or later. If you need to be able to configure Windows 2008 R2 DSC clients, you'd need to use or write a similar resource with a different implementation (most likely leveraging WMI's [url=http://msdn.microsoft.com/en-us/library/aa393295(v=vs.85).aspx]Win32_NetworkAdapterConfiguration.SetDNSServerSearchOrder()[/url] method.)