Azure add DNS address when use dynamic ip
By default, Azure does not give a DNS name.
And if you use dynamic IP, IP will be changed by server restart or automatic check (update), so DNS must be used to access the server.
Configurations are possible under the VM.
Just fill in the appropriate name.