Connected with the Cloud!

Set DNS Servers IP Addresses On Windows Nano Server 2016.

After showing you how to Deploy A DNS Server on A Windows Nano Server 2016, Today I’ll show you how to set DNS Servers IP addresses on a Nano Server using PowerShell.

If you haven’t setup your Nano Server use my article on how Install And Run Nano Server Technical Preview 5.

Once your Nano Server Is Configured Connect to It using PowerShell Direct, Connect To A Nano Server Using PowerShell Direct or using PowerShell Remoting How To Connect To A Windows Nano Server Using PowerShell.

Next, Logon to the Server and type Get-DnsClient to get the NIC Interfaces IDs

To set two DNS Server on NIC Interface 5 type the cmdlet below:

Set-DnsClientServerAddress -InterfaceIndex 5 -ServerAddresses ("192.168.100.10","192.168.100.12")

Set-DnsClientServerAddress -InterfaceIndex 5 -ServerAddresses (“192.168.100.10″,”192.168.100.12”)

To check config type:

Ipconfig /all

Ipconfig /all

(Source: https://www.ntweekly.com/?p=12588)

Verder Bericht

Vorige Bericht

Laat een reactie achter

© 2017 Sneaknet.nl

About Azure, Hyper-V, Windows Nano & Server, System Center and Hybrid-/Private Cloud.