Nano Server DNS

Logo-Windows-Nano-Server

Nano server is Microsofts new implementation of Windows Server for the cloud born datacenters. Nano has a very small footprint that allows for better security and management. One of the roles that are supported on Nano Server is the DNS server and it makes perfect sense to have a Nano DNS server hosting your public DNS records as it will be super lightweight and a born security champion. Here comes the tough part , you have to configure Nano by using PowerShell.  To add some extra difficulty your primary DNS server should be located in a DMZ with the smallest possible attack surface so the only thing allowed would be remote management. Since I have a lot of labs going on and build up and tear down is trivial to success here is the PowerShell commands to configure your Nano DNS server. This specific code is from an O365 lab where numerous resource records have to be created for O365 suite to work , so you will get a great example of configuring most of the types of records required in a DNS server. It is build for a new DNS Zone but you can easily customize it and simply add records to your zone. Here it is: