add-dnsserverresourcerecordcname -ComputerName "ad01" -ZoneName "example.com" -Name "test-cname" -HostNameAlias "ftp.example.com." -CreatePtr
Add A record:
Add-DnsServerResourceRecordA -ComputerName "ad01" -ZoneName "example.com" -Name "test-ipv4" -IPv4Address "10.0.0.10" -CreatePtr
Add AAAA record:
Add-DnsServerResourceRecordAAAA -ComputerName "ad01" -ZoneName "example.com" -Name "test-ipv6" -IPv6Address "ff::ff"