AWS R53 sync to AD/DC dns service

Welcome Forums General PowerShell Q&A AWS R53 sync to AD/DC dns service

Viewing 0 reply threads
  • Author
    • #269996
      Topics: 1
      Replies: 0
      Points: 14
      Rank: Member

      Hello guys, i have a small script for syncing Route53 records to DNS on AD/DC. But this script fails. It looks like this:

      This script fails at the last command:
      Set-DnsServerResourceRecord : The parameter is incorrect.
      It seems that the command $NewCNAMEDnsRecord.RecordData = $AWSDnsCNAMERecordValue is not written good. I need to take Value/Route Traffic To from CNAME record in this command.
      Resource Name:
      Type: CNAME
      Value/Route Traffic To:

      I have tried $NewCNAMEDnsRecord.RecordData.Value = $AWSDnsCNAMERecordValue but it is failing. Can you give me an advice please how to do it? It suppose to be easy, but i am failing. Does someone know please?

      • This topic was modified 3 weeks, 1 day ago by kvprasoon. Reason: Code formatting: see
Viewing 0 reply threads
  • You must be logged in to reply to this topic.