Hi Soar,
Let me first make sure I understand your question correctly.
Currently, in your non-Azure DNS, you have resources that use static IP with A records and you have alias names for the same resources that also use A records, i.e.
- ServerName1.yourdomain.com = IP1_address (A record)
- ServerName1Alias.yourdomain.com = IP1_address (A record)
Ad you would like to make sure the alias names use CNAME records, so
- ServerName1.yourdomain.com = IP1_address (A record)
- ServerName1Alias.yourdomain.com = ServerName1.yourdomain.com (CNAME record)
I also understand that your concern is that some of the ServerName1 A records point to dynamically set IP addresses.
If so, you are OK to change all records for ServerNameAlias(es) from A to CNAME records. This will work fine with both static and dynamic IP addresses assigned to ServerName (A records).
As a general rule, your static network infrastructure should be using static IP addresses (so that it doesn’t rely on DHCP service, makes it more robust). In some scenarios however, it is OK to use dynamic IP addresses and DHCP to simplify devices management (i.e. printers). For those scenarios it helps to configure your DHCP to register devices in DNS automatically.
Hope this helps!