Unfortunately the default configuration on all Azure servers is that the Connection-specific DNS suffix is "reddog.microsoft.com", and this option cannot be changed by group policy. The GPO has option to change this suffix, but unfortunately it did not work for me in my infrastructure. So here I describe a very easy way to do this change:
1. Open a powershell as Administrator
2. Run the following commands:
$DNSSuffix=($env:userdnsdomain).toLower()
$nicConfigs = Get-WmiObject "Win32_NetworkAdapterConfiguration" -Filter "IPEnabled='True'"
foreach($nic in $nicConfigs) {
$nic.SetDNSDomain($DNSSuffix)
}
You can change the value of $DNSSuffix if you want. In this case it sets the domain fqdn where the computer is joined to. After running of this short script, the DNS connection-specific suffix will be changed to the value stored in $DNSSuffix variable.
Restart the server after you changed this configuration!