In line with #34, a DSCResource for PTR records should be created. For consistency, the resource should be named DnsRecordPtr.
Proposed properties
Mandatory
ZoneName: Specifies the name of a DNS zone.
Name: Specifies the name of a DNS server resource record object.
PtrDomainName: Specifies the FQDN of the host when you add a PTR resource record.
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.
TimeToLive: Specifies the Time to Live (TTL) value, in seconds, for a resource record. Other DNS servers use this length of time to determine how long to cache a record.
ZoneScope: Specifies the name of a zone scope.
Ensure: Denotes whether the record should be Present or Absent
Special considerations or limitations
Reverse lookup zones do not support scopes, so there should be no DnsRecordPtrScoped subclass created.
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:
Description
In line with #34, a DSCResource for PTR records should be created. For consistency, the resource should be named
DnsRecordPtr
.Proposed properties
Mandatory
Optional
Present
orAbsent
Special considerations or limitations
Reverse lookup zones do not support scopes, so there should be no
DnsRecordPtrScoped
subclass created.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 toDnsServer