Set Primary DNS Zone On Nano Server 2016 Using PowerShell

After showing you how to Deploy A DNS Server on A Windows Nano Server 2016, Today I’ll show you how to setup Primary DNS Zone on my Nano Server DNS 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.

To setup a Primary DNS Zone I’m using the cmdlet below:

Add-DnsServerPrimaryZone -Name "test.local" -ZoneFile "test.local.dns"

To see all the configured DNS zones on my Nano Server I type:

Get-DNSServerZone

Leave a Reply