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
Got a project that needs expert IT support?
From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.
Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!
CONTACT US NOW