Configure Preferred and Alternate DNS Settings

This topic contains 1 reply, has 2 voices, and was last updated by  Dave Wyatt 3 years, 10 months ago.

  • Author
  • #17149

    David Burgett

    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.

  • #17169

    Dave Wyatt

    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=]Win32_NetworkAdapterConfiguration.SetDNSServerSearchOrder()[/url] method.)

You must be logged in to reply to this topic.