Associate DNS with TCP/IP

This command associates DNS information with TCP/IP addresses on to an interface.

Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses (","")


Useful parameters:


            Specifies the name of the interface.



            Specifies a list of DNS server IP addresses to use.



Create a new A record

This command adds a host address (A) record to your DNS zone.

Add-DnsServerResourceRecordA -Name "hostname" -ZoneName "" -IPv4Address "" 


Useful parameters:


            Creates a corresponding PTR record.



            Gives any authenticated user rights to update the record.