Set Preferred DNS Server Exchange Server 2016

Following my Exchange Server 2016 coverage today I’ll show you how I set a preferred DNS Server on my Exchange Server 2016 Server.

To view my current preferred DNS Server, I use:

Get-ADServerSettings | fl

To set a preferred DNS Server I use the cmdlet below:

set-ADServerSettings -PreferredServer dc.test.local

Get-ADServerSettings | fl