CreateOrUpdateDns


CreateOrUpdateDns
    [-dnsServer] <String>
    [-domain] <String>
    [-name] <String>
    [-ipAddressOrServer] <String>
    [-warnOnUpdate] <Boolean> = false

Description

Adds or updates an A or CNAME record on a DNS sever.

Can optionally log a warning if an update occurs

Example


CreateOrUpdateARecord -dnsServer "192.168.0.100" -domain "myDomain.local" -name "server01" -ipAddressOrServer "192.168.0.10"


CreateOrUpdateARecord -dnsServer "192.168.0.100" -domain "myDomain.local" -name "server01" -ipAddressOrServer "server01.servers.local"