Resource Type: dsc_xdnsserveraddress

Defined in:
lib/puppet/type/dsc_xdnsserveraddress.rb
Providers:
powershell

Overview

The DSC xDNSServerAddress resource type. Automatically generated from ‘xNetworking/DSCResources/MSFT_xDNSServerAddress/MSFT_xDNSServerAddress.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present

Parameters

  • dsc_address

    Address - The desired DNS Server address(es). Exclude to enable DHCP.

  • dsc_addressfamily

    AddressFamily - IP address family. Valid values are IPv4, IPv6.

  • dsc_interfacealias

    InterfaceAlias - Alias of the network interface for which the DNS server address is set.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_validate

    Validate - Requires that the DNS Server addresses be validated if they are updated. It will cause the resource to throw a ‘A general error occurred that is not covered by a more specific error code.’ error if set to True and specified DNS Servers are not accessible.

    Supported values:
    • true
    • false
  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xdnsserveraddress` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.