How to add DNS Name to VM

B Tharunkumar 0 Reputation points
2024-01-19T19:40:13.23+00:00

I don't have Public IP address.How to configure with DNS

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
603 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,253 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 23,341 Reputation points Microsoft Employee
    2024-01-19T20:06:59.0866667+00:00

    B Tharunkumar

    Thank you for reaching out.

    I understand you wish to assign a DNS name to your VM's private IP as you do not have Public IP assigned to your VM.

    The way to do this using Azure Private DNS

    Azure Private DNS provides the following capabilities:

    • Automatic registration of virtual machines from a virtual network that's linked to a private zone with autoregistration enabled. Virtual machines get registered to the private zone as A records pointing to their private IP addresses.

    You can go through this documentation to understand how the DNS name resolution is scoped.

    You can go through this tutorial to create private DNS zones.

    Hope this helps! Please let me know if you have any additional questions here. Thank you!

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments