Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Create DNS records with PowerShell ====== Add cName record: <code bash>add-dnsserverresourcerecordcname -ComputerName "ad01" -ZoneName "example.com" -Name "test-cname" -HostNameAlias "ftp.example.com." -CreatePtr</code> Add A record: <code bash> Add-DnsServerResourceRecordA -ComputerName "ad01" -ZoneName "example.com" -Name "test-ipv4" -IPv4Address "10.0.0.10" -CreatePtr</code> Add AAAA record: <code bash>Add-DnsServerResourceRecordAAAA -ComputerName "ad01" -ZoneName "example.com" -Name "test-ipv6" -IPv6Address "ff::ff"</code> windows/powershell_commands/dns.txt Last modified: 2019/10/31 09:06by 127.0.0.1