DnsServerDsc icon indicating copy to clipboard operation
DnsServerDsc copied to clipboard

DnsRecordWinsR: New resource proposal

Open Sudman1 opened this issue 4 years ago • 0 comments

Description

In line with #34, a DSCResource for WINSR records should be created. For consistency, the resource should be named DnsRecordWinsR.

Proposed properties

Mandatory

  • ZoneName: Specifies the name of a DNS zone.
  • CacheTimeout: Specifies how long, in seconds, that a DNS server caches a response from a WINS server.
  • LookupTimeout: Specifies the lookup time-out value for a resource record.
  • ResultDomain: Specifies the domain name to append to returned NetBIOS names.

Optional

  • DnsServer: Specifies a DNS server. If you do not specify this parameter, the command runs on the local system. You can specify an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.
  • Replicate: Indicates that the DNS server allows WINS replication.
  • ZoneScope: Specifies the name of a zone scope.
  • Ensure: Denotes whether the record should be Present or Absent

Special considerations or limitations

Not all mandatory properties need to be key properties. Please review the syntax and purpose of this record type to make the best determination of which properties should be key properties.

All proposed properties above options come straight from the Add-DnsServerResourceRecord help syntax with two exceptions:

  • ComputerName has been changed to DnsServer

Sudman1 avatar Feb 10 '21 03:02 Sudman1