Add cname to dns subdomain

How can I add a bulk list of cname records to the subdmain in dns for example if I have a forward lookup zone of “company .com” then under that I have another zone of “myservers”. How do I add cnames to in powershell?

I tried

Add-DnsServerResourceRecordCName -Name $server -HostNameAlias -ZoneName -ComputerName dc1}

I get errors of zone not found