Configure Preferred and Alternate DNS Settings

Welcome Forums DSC (Desired State Configuration) Configure Preferred and Alternate DNS Settings

This topic contains 1 reply, has 2 voices, and was last updated by

 
Member
4 years, 4 months ago.

  • Author
    Posts
  • #17149

    Participant
    Points: -19
    Rank: Member

    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

    Member
    Points: 0
    Rank: Member

    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 Win32_NetworkAdapterConfiguration.SetDNSServerSearchOrder() method.)

The topic ‘Configure Preferred and Alternate DNS Settings’ is closed to new replies.