Setup Reverse DNS entry for a server in Azure

This week I moved my mail server, running Linux, to Azure. One of the tasks was to add a reverse DNS entry for the server.

This is not something you can do in the Azure portal, it requires accessing Azure from PowerShell.

To connect PowerShell to Azure, use the Add-AzureAccount command. If you don’t have that,  install the AzureRM and Azure modules.

Finally, use the Set-AzureService to assign the reverse DNS entry to your service.

Install-Module AzureRM
Install-Module Azure

Add-AzureAccount

Set-AzureService -serviceName "Hougaard" -Description "Hougaard with Reverse DNS" -ReverseDnsFqdn "mail.hougaard.com."

Notice, that you need to add a dot (.) after the DNS name and that DNS name needs to resolve to point at the public IP of the service, either with a “CNAME” entry or directly with an “A” entry.

Beware of rogue Cumulative Updates !

Last week Microsoft pulled CU15 for 2016 and CU2 for 2017. This week they posted this info on the Team Blog:

Due to a change in the CRM SDK implemented in December 2016, customers in multi-tenant NAV environments with CRM Integration enabled may find that CRM syncing is disabled or fails intermittently.

Affected versions include NAV 2016 CU14, NAV 2016 CU 15, NAV 2017 CU1 and NAV 2017 CU2.

Any multi-tenant environments on an affected version using CRM integration should implement NAV 2016 CU 15.1 or NAV 2017 CU 2.1 as soon as possible as a precautionary measure.

Customers on Dynamics 365 for Financials do not need to take any action; this issue has been corrected in all available versions.

NAV 2016 CU 15.1 and NAV 2017 CU 2.1 will be released as soon as possible

Lost of people, including myself, managed to download CU2 before it was pulled, and I have now seen several places where people are putting it up for download. Apart from the obvious reason of my distributing other people’s software, aka piracy, CU2 should not be used in a production environment and you should never trust Dynamics NAV pulled from somebody’s OneDrive, Dropbox or any source but Microsoft Download Center.

So if you need CU2 *now*, contact Microsoft.