How To Change Windows Nano Server 2016 DNS Server IP Address

In this article, I’ll show you how to modify \ Change the existing DNS Server IP address on a Windows Nano Server 2016.

To complete this operation, You will need to connect to the Server with an admin account and use Remote PowerShell.

To get started, I’ve connected to my Nano Server using PowerShell Remote.

Once connected, I’ll need to find out the Network Adapter Interface ID using the line below:

Get-DnsClient

My Interface ID Is 4

To view the existing DNS Server IP, I’ll run the cmdlet below:

Get-DnsClientServerAddress -InterfaceIndex 4

To change the IP Address, I’ll use the line below:

Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses "192.168.0.18"

To review after the change I use the cmdlet:

Get-DnsClientServerAddress -InterfaceIndex 4

Leave a Reply